Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--[if IEMobile 7]><html class="iem7" lang="en" dir="ltr"><![endif]-->
- <!--[if lte IE 6]><html class="lt-ie9 lt-ie8 lt-ie7" lang="en" dir="ltr"><![endif]-->
- <!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8" lang="en" dir="ltr"><![endif]-->
- <!--[if IE 8]><html class="lt-ie9" lang="en" dir="ltr"><![endif]-->
- <!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html lang="en" dir="ltr" prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# book: http://ogp.me/ns/book# profile: http://ogp.me/ns/profile# video: http://ogp.me/ns/video# product: http://ogp.me/ns/product# content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ rdfs: http://www.w3.org/2000/01/rdf-schema# sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema#"><!--<![endif]-->
- <head>
- <meta charset="utf-8" />
- <link media="only screen and (max-width: 640px)" rel="alternate" href="//m.coolmath-games.com/0-run-3" />
- <meta content="Complete the Run trilogy! Explore hundreds of new levels in a huge new galaxy. Ready... set... GO!" property="og:description" />
- <meta content="//www.coolmath-games.com/sites/cmatgame/files/run-3.png" property="og:image" />
- <link rel="shortcut icon" href="//www.coolmath-games.com/sites/cmatgame/themes/cmatgame/favicon.ico" type="image/vnd.microsoft.icon" />
- <meta name="description" content="Run 3 at Cool Math Games: Complete the Run trilogy! Explore hundreds of new levels in a huge new galaxy. Ready... set... GO!" />
- <meta name="keywords" content="coolmaths, coolmath, math, maths, game, games, free, online, fun" />
- <link rel="canonical" href="//www.coolmath-games.com/0-run-3" />
- <meta property="og:type" content="article" />
- <meta property="og:url" content="http://www.coolmath-games.com/0-run-3" />
- <meta property="og:title" content="Run 3" />
- <title>Run 3 - Play it now at Coolmath-Games.com</title>
- <script>
- var pbjs = pbjs || {};
- pbjs.que = pbjs.que || [];
- </script>
- <!-- Load MBOX First -->
- <script type="text/javascript" src="/sites/cmatgame/files/mbox.js"></script>
- <!-- Prebid Boilerplate Section START. No Need to Edit. -->
- <script type="text/javascript" src="/sites/cmatgame/files/prebid.js" async></script>
- <link type="text/css" rel="stylesheet" href="//www.coolmath-games.com/sites/cmatgame/files/css/css_GkeqQjzVgzzy9aO8w7NBmdpfYEYFpkJ-3ogoX_W57ZY.css" media="all" />
- <link type="text/css" rel="stylesheet" href="//www.coolmath-games.com/sites/cmatgame/files/css/css_vZ_wrMQ9Og-YPPxa1q4us3N7DsZMJa-14jShHgRoRNo.css" media="screen" />
- <link type="text/css" rel="stylesheet" href="//www.coolmath-games.com/sites/cmatgame/files/css/css_Y1-8NQ_LtLRo-q3BhsGUj4-DuiRMtf9wyU08p15ex_M.css" media="all" />
- <link type="text/css" rel="stylesheet" href="//www.coolmath-games.com/sites/cmatgame/files/css/css_1MNwtRD6WqH0WMo2seX9QdbP8_vpxtyjYa39Vq9EbmE.css" media="all" />
- <style>#views-slideshow-bxslider-1.views-slideshow-bxslider .bx-wrapper .bx-controls-direction a{z-index:499;}
- #views-slideshow-bxslider-1.views-slideshow-bxslider li img{margin-right:auto;}
- #views-slideshow-bxslider-1.views-slideshow-bxslider .bx-caption{text-align:center;}
- #views-slideshow-bxslider-1.views-slideshow-bxslider .bx-wrapper .bx-caption{background:rgba(80,80,80,0.75)}
- </style>
- <link type="text/css" rel="stylesheet" href="//www.coolmath-games.com/sites/cmatgame/files/css/css_2vAfw_ztKggSvXi9EJx-4PLcirv_kTB2KUqsBVmm1K8.css" media="all" />
- <link type="text/css" rel="stylesheet" href="//www.coolmath-games.com/sites/cmatgame/files/css/css_KZKSsVUR5vPRQgGdUjihdeyQqDfmfBn8d58JhVx0gi8.css" media="all" />
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.js"></script>
- <script>window.jQuery || document.write("<script src='/profiles/dsk/modules/contrib/jquery_update/replace/jquery/1.8/jquery.js'>\x3C/script>")</script>
- <script src="//www.coolmath-games.com/sites/cmatgame/files/js/js_aczm2rRgH_slWBPnvD3KMrK7rwa1i99HOq8IUAb99Co.js"></script>
- <script src="//www.coolmath-games.com/sites/cmatgame/files/js/js_IBx_aokEzIdgATx-5lYX9wJSjB6ovVmwHI9tBc9lfg8.js"></script>
- <script src="//www.coolmath-games.com/sites/cmatgame/files/js/js_6RfqyQ6dGB15EZV8a7SPpd5EOSSerQR7s-GxPVyVTqA.js"></script>
- <script>
- var valid_test_environment = false;
- function getCookie(key) {
- var keyValue = document.cookie.match("(^|;) ?" + key + "=([^;]*)(;|$)");
- return keyValue ? keyValue[2] : null;
- }
- function setCookie1(cname, cvalue, hours) {
- var d = new Date();
- d.setTime(d.getTime() + (hours*60*60*1000));
- var expires = 'expires='+ d.toUTCString();
- document.cookie = cname + '=' + cvalue + ';' + expires + ';path=/';
- }
- function getParameterByName(name) {
- var regexS = '[\?&]' + name + '=([^&#]*)';
- var regex = new RegExp(regexS);
- var results = regex.exec(location.href);
- if (results === null) {
- return '';
- }
- return decodeURIComponent(results[1].replace(/\+/g, ' '));
- }
- var cmg_school_whitelisted = getCookie('cmg_schwl');
- if(cmg_school_whitelisted === null && (typeof valid_test_environment !== 'undefined' && valid_test_environment) && typeof myDebugAction === 'function') {
- cmg_school_whitelisted = myDebugAction();
- }
- var freeTrialUser = false;
- var date = new Date();
- var hours = date.getHours();
- var currentMonth = date.getMonth();
- var currentYear = date.getFullYear();
- var day = date.getDay();
- var month_names_short = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
- var currentMonthName = month_names_short[currentMonth];
- var schoolStartHour = 7;
- var schoolEndHour = 15;
- var cmg_no_ads_debug = false;
- //var cmg_no_ads = false;
- if(typeof subscriberLeg === 'undefined' || subscriberLeg === null || subscriberLeg === '') {
- subscriberLeg = 'Default Leg';
- if(typeof myDebugAction === 'function' && (typeof valid_test_environment !== 'undefined' && valid_test_environment) ) {
- myDebugAction();
- }
- }
- if(typeof freeGameLimit === 'undefined' || freeGameLimit === null) {
- freeGameLimit = 0;
- }
- if(typeof cmg_no_ads === 'undefined' && cmg_no_ads_debug && (typeof valid_test_environment !== 'undefined' && valid_test_environment)) {
- cmg_no_ads = true;
- }
- var schoolHours = false;
- var schoolHolidays = ["Jul 4","Sep 3","Nov 22","Nov 23"];
- var schoolHoliday = false;
- //TODO -- Summer vacation dates
- var summerVacationStart = new Date('07/1/'+currentYear);
- var summerVacationEnd = new Date('07/10/'+currentYear);
- var today_month_day = currentMonthName + ' ' + date.getDate();
- if(schoolHolidays.indexOf(today_month_day) !== -1 || (date >= summerVacationStart && date <= summerVacationEnd) || day === 6 || day == 0) {
- schoolHoliday = true;
- }
- var currentMonthName = month_names_short[currentMonth];
- if(!schoolHoliday && hours >= schoolStartHour && hours <= schoolEndHour) {
- schoolHours = true;
- }
- var targetStateUser = false;
- if(typeof targeted_state !== 'undefined' && targeted_state !== null && targeted_state) {
- targetStateUser = true;
- }
- var cmg_active_anonymous_user = getCookie('cmg_active_anonymous_user');
- var cmatgame_editor = getCookie('cmg_editor');
- if(typeof cmg_active_anonymous_user !== 'undefined' && cmg_active_anonymous_user !== null) {
- ////console.log('We have an active school hours session');
- }
- //Display Ads to anonymous users only if the user is not from a targeted state or it is school hours.
- // Do not display ads for targeted state user during non school hours, but free game play is restricted
- if(!schoolHours && targetStateUser && cmg_active_anonymous_user === null && cmatgame_editor === null) {
- freeTrialUser = true;
- }
- </script>
- <script>
- gamePage = true;
- mobile_ga_game_type = 'Desktop';
- </script>
- <script>
- var hide_preroll_ads = false;
- </script>
- <script>
- var enable_openX_ads = true;
- </script>
- <script>
- var enable_pubmatic_ads = false;
- </script>
- <script>
- var enable_appnexus_ads = true;
- </script>
- <script>
- var enable_aol_ads = false;
- </script>
- <script>
- var enable_brealtime_ads = false;
- </script>
- <script>
- var enable_sovrn_ads = true;
- </script>
- <script>
- var enable_districtm_ads = true;
- </script>
- <script>
- var enable_criteo_ads = false;
- </script>
- <script>
- var enable_conversant_ads = true;
- </script>
- <script>
- var enable_rubicon_ads = true;
- </script>
- <script>
- var enable_prebid_analytics = false;
- </script>
- <script>
- var preroll_ads_timer = 15;
- </script>
- <script>
- var ad_refresh_timer_interval = 60000;
- </script>
- <script>
- var ad_refresh_event_interval = 30000;
- </script>
- <script>
- var prebid_timeout_initial_timeout = 2000;
- </script>
- <script>
- var prebid_timeout_refresh_timeout = 1000;
- </script>
- <script>
- cmatgame_subscriber = getCookie("cmg_sx");
- //check if school is whitelisted
- if(cmg_school_whitelisted !== null && getCookie("cmg_schwl") !== null) {
- cmg_school_whitelisted = getCookie("cmg_schwl");
- cmatgame_subscriber = getCookie("cmg_schwl");
- } else if(cmg_school_whitelisted === null && typeof cmg_no_ads_debug !== "undefined" && cmg_no_ads_debug) {
- //console.log("KY school hours");
- cmatgame_subscriber = cmg_no_ads_debug;
- }
- isRemoveAdSwfJWPLayer = false;
- jQuery(document).ready(function() {
- if(typeof eVar12 !== "undefined" && (eVar12==="NoPrerollAds" || eVar12==="No-Preroll-No-RefreshAds") && gamePage ) { //remove preroll ads
- removeAdSwfJWPLayer();
- }
- if(jQuery("#adblockdiv").length){
- __gaTracker("send", {
- "hitType": "event", // Required.
- "eventCategory": "Page-level-ad-blocker2", // Required.
- "eventAction": "AdBlockerNotDetected", // Required.
- "eventLabel": document.title,
- "eventValue": 1,
- "nonInteraction": 1
- });
- } else {
- __gaTracker("send", {
- "hitType": "event", // Required.
- "eventCategory": "Page-level-ad-blocker2", // Required.
- "eventAction": "AdBlockerDetected", // Required.
- "eventLabel": document.title,
- "eventValue": 1,
- "nonInteraction": 1
- });
- }
- var isChrome = navigator.userAgent.toLowerCase().indexOf("chrome") > -1;
- if(!jQuery(".adtxt").is(":visible") && isChrome) {
- removeAdSwfJWPLayer();
- }
- });
- </script>
- <script>
- if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
- var PREBID_TIMEOUT = prebid_timeout_initial_timeout;
- var adUnits = [];
- switch(window.location.pathname) {
- case "/":
- case "/1-number-games":
- case "/1-skill-games":
- case "/1-logic-games":
- case "/1-playlists":
- case "/0-jigsaw-puzzles":
- case "/1-strategy-games":
- case "/1-mobile-categories":
- adUnits = [{
- code: "div-gpt-ad-788084996771918566-10",
- sizes: [[160, 600]],
- bids: {}
- },{
- code: "div-gpt-ad-629350160446709561-1",
- sizes: [[728, 90]],
- bids: {}
- },{
- code: "div-gpt-ad-629350160446709561-2",
- sizes: [[300, 250]],
- bids: {}
- }, {
- code: "div-gpt-ad-788084996771918566-5",
- sizes: [[728, 90]],
- bids: {}
- },{
- code: "div-gpt-ad-629350160446709561-4",
- sizes: [[300, 250]],
- bids: {}
- },{
- code: "div-gpt-ad-788084996771918566-7",
- sizes: [[300, 250]],
- bids: {}
- },{
- code: "div-gpt-ad-788084996771918566-8",
- sizes: [[300, 250]],
- bids: {}
- },{
- code: "div-gpt-ad-788084996771918566-6",
- sizes: [[300, 250]],
- bids: {}
- }];
- var openx = [{
- bidder: "openx",
- params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218643", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218652", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218602", delDomain: "coolmath-d.openx.net"}
- }];
- var pubmatic = [{bidder: "pubmatic",
- params: {
- size: "160x600",
- publisherId: "92620",
- adSlot: "cm_prebid_160x600_homepage@160x600"
- }
- }, {bidder: "pubmatic",
- params: {
- size: "728x90",
- publisherId: "92620",
- adSlot: "cm_prebid_728x90_ros_1@728x90"
- }
- }, {bidder: "pubmatic",
- params: {
- size: "300x250",
- publisherId: "92620",
- adSlot: "cm_prebid_400x300_ros_1@300x250"
- }
- }, {bidder: "pubmatic",
- params: {
- size: "728x90",
- publisherId: "92620",
- adSlot: "cm_prebid_728x90_ros_2@728x90"
- }
- },{bidder: "pubmatic",
- params: {
- size: "300x250",
- publisherId: "92620",
- adSlot: "cm_prebid_400x300_ros_2@300x250"
- }
- }, {bidder: "pubmatic",
- params: {
- size: "300x250",
- publisherId: "92620",
- adSlot: "cm_prebid_300x250_btf_1@300x250"
- }
- }, {bidder: "pubmatic",
- params: {
- size: "300x250",
- publisherId: "92620",
- adSlot: "cm_prebid_300x250_btf_2@300x250"
- }
- }, {bidder: "pubmatic",
- params: {
- size: "300x250",
- publisherId: "92620",
- adSlot: "cm_prebid_300x250_btf_3@300x250"
- }
- } ];
- var appnexus = [{
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }];
- var aol = [{
- bidder: "aol",
- params: { placement: "3906353", network: "9490.1"}
- }, {
- bidder: "aol",
- params: { placement: "3906356", network: "9490.1"}
- }, {
- bidder: "aol",
- params: { placement: "3906354", network: "9490.1"}
- }, {
- bidder: "aol",
- params: { placement: "3906355", network: "9490.1"}
- }, {
- bidder: "aol",
- params: { placement: "3906357", network: "9490.1"}
- }, {
- bidder: "aol",
- params: { placement: "3906350", network: "9490.1"}
- }, {
- bidder: "aol",
- params: { placement: "3906351", network: "9490.1"}
- }, {
- bidder: "aol",
- params: { placement: "3906352", network: "9490.1"}
- }];
- var brealtime = [{
- bidder: "brealtime",
- params: { placementId: "12516712"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516712"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516719"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516712"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516714"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516712"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516712"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516712"}
- }];
- var sovrn = [{
- bidder: "sovrn",
- params: { tagid: "347544"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347546"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347543"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347547"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347542"}
- },{
- bidder: "sovrn",
- params: { tagid: "347543"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347543"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347543"}
- }];
- var districtm = [{
- bidder: "districtmDMX",
- params: { id: "142120"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142120"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142121"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142120"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142122"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142120"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142120"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142120"}
- }];
- var criteo = [{
- bidder: "criteo",
- params: { zoneId: "682412"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682366"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682326"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682366"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682326"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682326"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682326"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682326"}
- }];
- var conversant = [{
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }];
- var rubicon = [{
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }];
- for(i=0;i<adUnits.length; i++) {
- adUnits[i].bids = new Array();
- if(enable_openX_ads) {
- adUnits[i].bids.push( openx[i]);
- }
- if(enable_pubmatic_ads) {
- adUnits[i].bids.push( pubmatic[i]);
- }
- if(enable_appnexus_ads) {
- adUnits[i].bids.push( appnexus[i]);
- }
- if(enable_aol_ads) {
- adUnits[i].bids.push( aol[i]);
- }
- if(enable_sovrn_ads) {
- adUnits[i].bids.push( sovrn[i]);
- }
- if(enable_districtm_ads) {
- adUnits[i].bids.push( districtm[i]);
- }
- if(enable_criteo_ads) {
- adUnits[i].bids.push( criteo[i]);
- }
- if(enable_conversant_ads) {
- adUnits[i].bids.push( conversant[i]);
- }
- if(enable_rubicon_ads) {
- adUnits[i].bids.push( rubicon[i]);
- }
- if(enable_brealtime_ads) {
- adUnits[i].bids.push( brealtime[i]);
- }
- }
- break;
- default:
- adUnits = [{
- code: "div-gpt-ad-629350160446709561-1",
- sizes: [[728, 90]],
- bids: {}
- }, {
- code: "div-gpt-ad-629350160446709561-3",
- sizes: [[160, 600]],
- bids: {}
- }, {
- code: "div-gpt-ad-788084996771918566-5",
- sizes: [[728, 90]],
- bids: {}
- }, {
- code: "div-gpt-ad-629350160446709561-2",
- sizes: [[300, 250]],
- bids: {}
- }, {
- code: "div-gpt-ad-629350160446709561-4",
- sizes: [[300, 250]],
- bids: {}
- }];
- if(jQuery(window).width() >= 1366){
- adUnits[adUnits.length] = {
- code: "div-gpt-ad-629350160446709561-8",
- sizes: [[160, 600]],
- bids: {}
- };
- }
- var openx = [{
- bidder: "openx",
- params: { unit: "538218649", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218649", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218595", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218664", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218620", delDomain: "coolmath-d.openx.net"}
- }, {
- bidder: "openx",
- params: { unit: "538218649", delDomain: "coolmath-d.openx.net"}
- }];
- var pubmatic = [{bidder: "pubmatic",
- params: {
- size: "728x90",
- publisherId: "92620",
- adSlot: "cm_prebid_728x90_ros_1@728x90"
- }
- },{bidder: "pubmatic",
- params: {
- size: "160x600",
- publisherId: "92620",
- adSlot: "cm_prebid_160x600_ros_1@160x600"
- }
- },{bidder: "pubmatic",
- params: {
- size: "728x90",publisherId: "92620",
- adSlot: "cm_prebid_728x90_ros_2@728x90"
- }
- },{bidder: "pubmatic",
- params: {
- size: "300x250",publisherId: "92620",
- adSlot: "cm_prebid_400x300_ros_1@300x250"
- }
- },{bidder: "pubmatic",
- params: {
- size: "300x250",publisherId: "92620",
- adSlot: "cm_prebid_400x300_ros_2@300x250"
- }
- }, {bidder: "pubmatic",
- params: {
- size: "160x600",publisherId: "92620",
- adSlot: "cm_prebid_160x600_ros_2@160x600"
- }
- }];
- var appnexus = [{
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }, {
- bidder: "appnexus",
- params: { placementId: "6518787"}
- }];
- var aol = [{
- bidder: "aol",
- params: { placement: "3608321", network: "9490.1"}
- },{
- bidder: "aol",
- params: { placement: "3676191", network: "9490.1"}
- },{
- bidder: "aol",
- params: { placement: "3613769", network: "9490.1"}
- },{
- bidder: "aol",
- params: { placement: "3608322", network: "9490.1"}
- },{
- bidder: "aol",
- params: { placement: "3613770", network: "9490.1"}
- },{
- bidder: "aol",
- params: { placement: "3608320", network: "9490.1"}
- }];
- var brealtime = [{
- bidder: "brealtime",
- params: { placementId: "12516720"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516720"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516722"}
- }, {
- bidder: "brealtime",
- params: { placementId: "12516723"}
- },{
- bidder: "brealtime",
- params: { placementId: "12516721"}
- },{
- bidder: "brealtime",
- params: { placementId: "12516720"}
- }];
- var sovrn = [{
- bidder: "sovrn",
- params: { tagid: "347546"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347544"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347547"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347542"}
- }, {
- bidder: "sovrn",
- params: { tagid: "347543"}
- },{
- bidder: "sovrn",
- params: { tagid: "347545"}
- }];
- var districtm = [{
- bidder: "districtmDMX",
- params: { id: "142123"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142123"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142124"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142125"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142126"}
- }, {
- bidder: "districtmDMX",
- params: { id: "142123"}
- }];
- var criteo = [{
- bidder: "criteo",
- params: { zoneId: "682366"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682412"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682326"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682366"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682326"}
- }, {
- bidder: "criteo",
- params: { zoneId: "682412"}
- }];
- var conversant = [{
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }, {
- bidder: "conversant",
- params: { site_id: "105823"}
- }];
- var rubicon = [{
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }, {
- bidder: "rubicon",
- params: { accountId: "9007",siteId: "36186", zoneId: "149996"}
- }];
- for(i=0;i<adUnits.length; i++) {
- adUnits[i].bids = new Array();
- if(enable_openX_ads) {
- adUnits[i].bids.push( openx[i]);
- }
- if(enable_pubmatic_ads) {
- adUnits[i].bids.push( pubmatic[i]);
- }
- if(enable_appnexus_ads) {
- adUnits[i].bids.push( appnexus[i]);
- }
- if(enable_aol_ads) {
- adUnits[i].bids.push( aol[i]);
- }
- if(enable_sovrn_ads) {
- adUnits[i].bids.push( sovrn[i]);
- }
- if(enable_districtm_ads) {
- adUnits[i].bids.push( districtm[i]);
- }
- if(enable_criteo_ads) {
- adUnits[i].bids.push( criteo[i]);
- }
- if(enable_conversant_ads) {
- adUnits[i].bids.push( conversant[i]);
- }
- if(enable_rubicon_ads) {
- adUnits[i].bids.push( rubicon[i]);
- }
- if(enable_brealtime_ads) {
- adUnits[i].bids.push( brealtime[i]);
- }
- }
- break;
- }
- }
- </script>
- <script>
- var googletag = googletag || {};
- googletag.cmd = googletag.cmd || [];
- var googleslots = [];
- var gptadslots = [];
- googletag.cmd.push(function() {
- googletag.pubads().disableInitialLoad();
- });
- pbjs.que.push(function() {
- pbjs.addAdUnits(adUnits);
- //pbjs.setBidderSequence("random");
- pbjs.requestBids({
- bidsBackHandler: sendAdserverRequest
- });
- pbjs.bidderSettings = {
- standard: {
- adserverTargeting: [{
- key: "hb_bidder",
- val: function(bidResponse) {
- return bidResponse.bidderCode;
- }
- }, {
- key: "hb_adid",
- val: function(bidResponse) {
- return bidResponse.adId;
- }
- }, {
- key: "hb_size",
- val: function(bidResponse) {
- return bidResponse.size;
- }
- }, {
- key: "hb_pb",
- val: function(bidResponse) {
- var cpm = bidResponse.cpm;
- if (cpm < 2.00) {
- return (Math.floor(cpm * 100) / 100).toFixed(2);
- } else if (cpm < 12.00) {
- return (Math.floor(cpm * 20) / 20).toFixed(2);
- } else {
- return "20.00";
- }
- }
- }]
- },
- aol: {
- bidCpmAdjustment : function(bidCpm){
- return bidCpm * .92;
- }
- },
- districtmDMX: {
- bidCpmAdjustment : function(bidCpm){
- return bidCpm * .90;
- }
- },
- rubicon: {
- bidCpmAdjustment : function(bidCpm){
- return bidCpm * .80;
- }
- }
- };
- });
- function sendAdserverRequest() {
- if (pbjs.adserverRequestSent) return;
- pbjs.adserverRequestSent = true;
- googletag.cmd.push(function() {
- pbjs.que.push(function() {
- pbjs.setTargetingForGPTAsync();
- pbjslogging = getParameterByName("pbjs_debug");
- if(pbjslogging != null) {
- if(pbjslogging.toLowerCase() === "false") {
- document.cookie = "pbjs_debug=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
- } else if(pbjslogging.toLowerCase() === "true"){
- var d = new Date();
- d.setTime(d.getTime() + (365*24*60*60*1000));
- var expires = "expires="+ d.toUTCString();
- document.cookie = "pbjs_debug" + "=" + "true" + ";" + expires + ";path=/";
- }
- }
- if(getCookie("pbjs_debug")) {
- pbjs.enableAnalytics({provider:"prebidoverlay"});
- }
- googletag.pubads().refresh();
- });
- });
- }
- setTimeout(function() {
- sendAdserverRequest();
- }, PREBID_TIMEOUT);
- </script>
- <script>
- (function () {
- var gads = document.createElement("script");
- gads.async = true;
- gads.type = "text/javascript";
- var useSSL = "https:" == document.location.protocol;
- gads.src = (useSSL ? "https:" : "http:") +
- "//www.googletagservices.com/tag/js/gpt.js";
- var node = document.getElementsByTagName("script")[0];
- node.parentNode.insertBefore(gads, node);
- })();
- </script>
- <script>
- var iid="13389724",
- p=location.protocol,url=("https:"===p?p:"http:")+"//ap.lijit.com/www/sovrn_beacon_standalone/sovrn_standalone_beacon.js?iid="+iid,scr=document.createElement("script");scr.id="sBeacon",scr.src=url,scr.async=!1;var s0=document.getElementsByTagName("script")[0];s0.parentNode.insertBefore(scr,s0);
- </script>
- <script>
- if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
- googletag.cmd.push(function() {
- switch(window.location.pathname) {
- case "/":
- case "/1-number-games":
- case "/1-skill-games":
- case "/1-logic-games":
- case "/1-playlists":
- case "/0-jigsaw-puzzles":
- case "/1-strategy-games":
- case "/1-mobile-categories":
- gptadslots[0]= googletag.defineSlot("/45966600/CM-G_HomePage", [[160,600]],"div-gpt-ad-788084996771918566-10").addService(googletag.pubads());
- gptadslots[1]= googletag.defineSlot("/45966600/CM-G_HomePage", [[728,90]],"div-gpt-ad-629350160446709561-1").addService(googletag.pubads());
- gptadslots[2]= googletag.defineSlot("/45966600/400x300_Home_Bottom", [[300,250]],"div-gpt-ad-629350160446709561-2").addService(googletag.pubads());
- gptadslots[3]= googletag.defineSlot("/45966600/CM-G_HomePage", [[728,90]],"div-gpt-ad-788084996771918566-5").addService(googletag.pubads());
- gptadslots[4]= googletag.defineSlot("/45966600/400x300_Home_Top", [[300,250]],"div-gpt-ad-629350160446709561-4").addService(googletag.pubads());
- gptadslots[5]= googletag.defineSlot("/45966600/CM-G_HomePage", [[300,250]],"div-gpt-ad-788084996771918566-7").addService(googletag.pubads());
- gptadslots[6]= googletag.defineSlot("/45966600/CM-G_HomePage", [[300,250]],"div-gpt-ad-788084996771918566-8").addService(googletag.pubads());
- gptadslots[7]= googletag.defineSlot("/45966600/CM-G_HomePage", [[300,250]],"div-gpt-ad-788084996771918566-6").addService(googletag.pubads());
- break;
- default:
- gptadslots[0]= googletag.defineSlot("/45966600/CM-G_ALLOTHERPAGES", [[728,90]],"div-gpt-ad-629350160446709561-1").addService(googletag.pubads());
- gptadslots[1]= googletag.defineSlot("/45966600/CM-G_ALLOTHERPAGES", [[160,600]],"div-gpt-ad-629350160446709561-3").addService(googletag.pubads());
- if(typeof is_board_games_layout != "undefined") { // only 300x250 for board games
- gptadslots[2]= googletag.defineSlot("/45966600/400x300_AllOther_Bottom", [[300,250]],"div-gpt-ad-629350160446709561-2").addService(googletag.pubads());
- } else {
- gptadslots[2]= googletag.defineSlot("/45966600/400x300_AllOther_Bottom", [[300,250]],"div-gpt-ad-629350160446709561-2").addService(googletag.pubads());
- }
- gptadslots[3]= googletag.defineSlot("/45966600/Test_NoTop_16", [[728,90]],"div-gpt-ad-788084996771918566-5").addService(googletag.pubads());
- if(typeof is_board_games_layout != "undefined") { // only 300x250 for board games
- gptadslots[4]= googletag.defineSlot("/45966600/400x300_AllOther_Top", [[300,250]],"div-gpt-ad-629350160446709561-4").addService(googletag.pubads());
- } else {
- gptadslots[4]= googletag.defineSlot("/45966600/400x300_AllOther_Top", [[300,250]],"div-gpt-ad-629350160446709561-4").addService(googletag.pubads());
- }
- if(jQuery(window).width() >= 1366){
- gptadslots[5]= googletag.defineSlot("/45966600/CM-G_ALLOTHERPAGES", [[160,600]],"div-gpt-ad-629350160446709561-8").addService(googletag.pubads());
- }
- break;
- }
- googletag.pubads().setTagForChildDirectedTreatment(0);
- googletag.pubads().enableSingleRequest();
- googletag.enableServices();
- });
- }
- </script>
- <script>
- function trackEvent(category, action, label, noninteraction) {
- if(typeof __gaTracker === 'undefined')
- return;
- noninteraction = noninteraction || 0;
- //console.log('Tracked: ' + category + ' ' + action + ' ' + label + ' noninteraction: ' + noninteraction);
- __gaTracker('send', {
- 'hitType': 'event', // Required.
- 'eventCategory': category, // Required.
- 'eventAction': action, // Required.
- 'eventLabel': label,
- 'eventValue': 0,
- 'nonInteraction': noninteraction
- });
- }
- function trackSocial(network,action,target) {
- if(typeof __gaTracker === 'undefined')
- return;
- __gaTracker('send', {
- 'hitType': 'social', // Required.
- 'socialNetwork': network,
- 'socialAction': action,
- 'socialTarget': target
- });
- }
- </script>
- <script>
- function signUpUrlCallBack(){
- if(typeof signUpURL != "undefined" && signUpURL != null ) {
- window.location = "https://" + window.location.hostname + signUpURL;
- } else {
- if(window.location.hostname === "cmatgame.local" || window.location.hostname === "m.cmatgame.local") {
- window.location = "http://" + window.location.hostname + "/signup/b2df5a33";
- } else {
- window.location = "https://" + window.location.hostname + "/signup/b2df5a33";
- }
- }
- }
- </script>
- <script>
- cssAggregationTest = true;
- </script>
- <script src="//www.coolmath-games.com/sites/cmatgame/files/js/js_C6_5pwcXMkKAlRCvIjcYsXRfEwYOazKoAzA953l9z-Y.js"></script>
- <script src="//www.coolmath-games.com/sites/cmatgame/files/js/js_0KXb42xKkNBLrHLi1aCo2Q6k037DKSu4rDeCjIyKpv4.js"></script>
- <script>jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"cmatgame","theme_token":"Y6VbA2sHuNN6NcMlrovvtFWmJdM5snkyArbnMotceLg","js":{"sites\/cmatgame\/modules\/custom\/cmatgame_advertisement\/js\/ads.js":1,"sites\/cmatgame\/modules\/custom\/cmatgame_advertisement\/js\/coolmath-games-adrefresh.js":1,"sites\/cmatgame\/modules\/custom\/cmatgame_analytics\/js\/coolmath-games-ga.js":1,"0":1,"\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.8.3\/jquery.js":1,"1":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"sites\/cmatgame\/modules\/contrib\/views_slideshow\/js\/views_slideshow.js":1,"sites\/all\/libraries\/bxslider\/jquery.bxslider.min.js":1,"profiles\/dsk\/modules\/contrib\/environment_indicator\/tinycon.min.js":1,"profiles\/dsk\/modules\/contrib\/environment_indicator\/environment_indicator.js":1,"profiles\/dsk\/modules\/contrib\/environment_indicator\/color.js":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"sites\/cmatgame\/modules\/contrib\/bxslider_views_slideshow\/bxslider_views_slideshow.js":1,"sites\/cmatgame\/themes\/cmatgame\/js\/cmatgame_instructions.js":1,"sites\/cmatgame\/modules\/custom\/swfembed\/jquery.swfembed.js":1,"sites\/cmatgame\/modules\/custom\/swfembed\/behavior.swfembed.js":1,"sites\/cmatgame\/themes\/cmatgame\/js\/cmatgame.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"sites\/cmatgame\/modules\/contrib\/views_slideshow\/views_slideshow.css":1,"profiles\/dsk\/modules\/contrib\/date\/date_api\/date.css":1,"profiles\/dsk\/modules\/contrib\/date\/date_popup\/themes\/datepicker.1.7.css":1,"sites\/all\/modules\/contrib\/domain\/domain_nav\/domain_nav.css":1,"profiles\/dsk\/modules\/contrib\/environment_indicator\/environment_indicator.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/user\/user.css":1,"profiles\/dsk\/modules\/contrib\/views\/css\/views.css":1,"profiles\/dsk\/modules\/contrib\/ctools\/css\/ctools.css":1,"profiles\/dsk\/modules\/contrib\/panels\/css\/panels.css":1,"sites\/cmatgame\/themes\/cmatgame\/templates\/layouts\/desktop_onecol\/desktop_onecol.css":1,"0":1,"1":1,"2":1,"3":1,"sites\/all\/libraries\/bxslider\/jquery.bxslider.css":1,"sites\/cmatgame\/modules\/custom\/cmatgame_queues\/css\/styles.css":1,"sites\/cmatgame\/modules\/custom\/cmatgame_subscription\/cmatgame_subscription_userloginbar.css":1,"sites\/cmatgame\/themes\/cmatgame\/system.menus.css":1,"sites\/cmatgame\/themes\/cmatgame\/system.messages.css":1,"sites\/cmatgame\/themes\/cmatgame\/system.theme.css":1,"sites\/cmatgame\/themes\/cmatgame\/css\/fonts.css":1,"sites\/cmatgame\/themes\/cmatgame\/css\/styles.css":1,"sites\/cmatgame\/themes\/cmatgame\/css\/custom.css":1}},"cmgTheme":{"cmgTheme":"http:\/\/www.coolmath-games.com\/sites\/cmatgame\/themes\/cmatgame"},"viewsSlideshow":{"game_details-carousel_game_detail":{"methods":{"goToSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","bxsliderViewsSlideshow"],"nextSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","bxsliderViewsSlideshow"],"pause":["viewsSlideshowControls"],"play":["viewsSlideshowControls"],"previousSlide":["viewsSlideshowPager","viewsSlideshowSlideCounter","bxsliderViewsSlideshow"],"transitionBegin":["viewsSlideshowPager","viewsSlideshowSlideCounter"],"transitionEnd":[]},"paused":0}},"viewsSlideshowBxslider":{"views_slideshow_bxslider_images_1":{"general":{"mode":"horizontal","speed":500,"slideMargin":12,"startSlide":0,"randomStart":0,"infiniteLoop":0,"hideControlOnEnd":1,"captions":0,"ticker":0,"tickerHover":0,"adaptiveHeight":0,"adaptiveHeightSpeed":500,"video":0,"touchEnabled":1,"preloadImages":"all","disable_standard_css":0,"useCSS":1,"align_image":"left","align_caption":"center","swipeThreshold":50,"oneToOneTouch":1,"preventDefaultSwipeX":1,"preventDefaultSwipeY":0,"color_caption":"80, 80, 80, 0.75"},"controlsfieldset":{"controls":1,"nextText":"","prevText":"","startText":"","stopText":"","autoControls":0,"autoControlsCombine":0},"pagerfieldset":{"pager":0,"pagerType":"full","pagerShortSeparator":" \/ "},"autofieldset":{"pause":4000,"autoStart":1,"auto":0,"autoHover":0,"autoDelay":0,"autoDirection":"next"},"carousel":{"minSlides":5,"maxSlides":5,"moveSlides":5,"slideWidth":87},"callback":[],"fixes":{"height_does_not_dyn_change":0}}},"better_exposed_filters":{"views":{"game_details":{"displays":{"carousel_game_detail":{"filters":[]},"pane_top_picks":{"filters":[]}}},"queues_view":{"displays":{"rightrail_games_promo":{"filters":[]}}}}},"swfembed":{"swf":{"swf_1":{"height":"600","width":"800","flashvars":[],"params":{"allowScriptAccess":"sameDomain","movie":"run3v3.swf","menu":"false","quality":"high","wmode":"direct"},"noflash":"","url":"\/\/www.coolmath-games.com\/sites\/cmatgame\/files\/games\/run3v3.swf","swfFallbacks":[],"expressInstall":null,"version":"8.0.0.0"}}},"isSubscriptionActive":false});</script>
- <!--[if lt IE 9]>
- <script src="/profiles/dsk/themes/zen/js/html5-respond.js"></script>
- <![endif]-->
- </head>
- <body class="html not-front not-logged-in no-sidebars page-node page-node- page-node-11697 node-type-game domain-coolmath-games-com section-0-run-3 page-panels large-game-item" >
- <p id="skip-link">
- <a href="#main-menu" class="element-invisible element-focusable">Jump to navigation</a>
- </p>
- <!--END OF BOARD GAME LAYOUT -->
- <div class="global-wrapper"> <!-- LAYOUT IF NOT BOARD GAME LAYOUT -->
- <div class="global-content-wrapper">
- <header class="main-header">
- <div class="header-banner-block">
- <div class="panel-pane pane-block pane-bean-subscriber-promo" >
- <div class="pane-content">
- <div class="entity entity-bean bean-content-block clearfix" about="/block/subscriber-promo" typeof="">
- <div class="content">
- <div class="field-text-block">
- <p><a class="top-subscriber-promo" href="https://www.coolmath-games.com/signup/b2df5a33?origin=/">Subscribe Now</a></p>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="panel-pane pane-block pane-bean-cmg-logo" >
- <div class="pane-content">
- <div class="entity entity-bean bean-content-block clearfix" about="/block/cmg-logo" typeof="">
- <div class="content">
- <div class="field-text-block">
- <p><a href="/"><img src="/sites/cmatgame/files/logo.png" alt="logo.png" /></a> </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="panel-pane pane-block pane-cmatgame-subscription-userloginbar2" >
- <div class="pane-content">
- <div id="user-login-form"><div class="item-list"><ul class="welcome-box"><li class="first last"><a href="/user/login" class="welcome-text" title="Subscriber Login">Subscriber Login</a></li>
- </ul></div></div> </div>
- </div>
- </div> <!--header-banner-block-->
- <div class="other-sites-links-wrapper clearfix">
- <div class="panel-pane pane-block pane-menu-menu-desktop-header-menu" >
- <div class="pane-content">
- <ul class="menu"><li class="menu__item is-leaf first leaf strategy_list"><a href="/1-strategy-games" class="menu__link menu_strategy">Strategy</a></li>
- <li class="menu__item is-leaf leaf"><a href="/1-skill-games" class="menu__link menu_skill">Skill</a></li>
- <li class="menu__item is-leaf leaf"><a href="/1-number-games" class="menu__link menu_numbers">Numbers</a></li>
- <li class="menu__item is-leaf leaf"><a href="/1-logic-games" class="menu__link menu_logic">Logic</a></li>
- <li class="menu__item is-leaf leaf"><a href="/1-html5-games" class="menu__link menu_html5">HTML5</a></li>
- <li class="menu__item is-expanded expanded"><span class="menu__link menu_more nolink">More</span><ul class="menu"><li class="menu__item is-leaf first leaf"><a href="/1-classic-games" class="menu__link menu_classic">Classic</a></li>
- <li class="menu__item is-leaf leaf"><a href="/0-jigsaw-puzzles" class="menu__link menu_puzzles">Puzzles</a></li>
- <li class="menu__item is-leaf leaf"><a href="/1-memory-games" class="menu__link menu_memory">Memory</a></li>
- <li class="menu__item is-leaf leaf"><a href="/1-geography-games" class="menu__link menu_geography">Geography</a></li>
- <li class="menu__item is-leaf last leaf"><a href="/1-science-games" class="menu__link menu_science">Science</a></li>
- </ul></li>
- <li class="menu__item is-leaf leaf"><a href="/1-playlists" class="menu__link menu_playlists">Playlists</a></li>
- <li class="menu__item is-leaf leaf"><a href="/random" class="menu__link random-redirect menu_random">Random!</a></li>
- <li class="menu__item is-leaf leaf"><a href="/1-unlockable-game-list" class="menu__link menu_unlocked">Unlocked</a></li>
- <li class="menu__item is-leaf last leaf"><a href="/1-complete-game-list" class="menu__link menu_allgames">All Games A-Z</a></li>
- </ul> </div>
- </div>
- </div><!--other-sites-links-wrapper-->
- <div class="item-list"><ol><li class="first"><div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-728-90" >
- <div class="pane-content">
- <div class="ad-wrapper">
- <p class="adtxt-header element-invisible"><span>Advertisement</span></p>
- <div class="pane-advertising-wrapper-header" style="text-align:center;">
- <div id="div-gpt-ad-629350160446709561-1-pre" class="reset-content"></div>
- <div id="div-gpt-ad-629350160446709561-1" style="margin:0 auto;text-align:center;">
- <script type="text/javascript">
- if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
- jQuery(".adtxt-header").removeClass("element-invisible").addClass("element-visible");
- googletag.cmd.push(function() { googletag.display("div-gpt-ad-629350160446709561-1"); });
- }
- </script>
- </div>
- </div>
- </div> </div>
- </div>
- </li>
- <li class="last"><div class="panel-pane pane-block pane-bean-coolmath-header" >
- <div class="pane-content">
- <div class="entity entity-bean bean-content-block clearfix" about="/block/coolmath-header" typeof="">
- <div class="content">
- <div class="field-text-block">
- <ul style="float:right;list-style-type:none;"><li><a href="http://coolmath4kids.com"><img src="/sites/cmatgame/files/cm4k-copy.png" alt="cm4k-copy.png" /></a></li>
- <li><a href="http://coolmath.com"><img src="/sites/cmatgame/files/cm.png" alt="cm.png" /></a></li>
- </ul> </div>
- </div>
- </div>
- </div>
- </div>
- </li>
- </ol></div> </header>
- <div class="content-column-wrapper clearfix"> <!--else use this -->
- <div class="main-column"><!-- else use regular column-->
- <div class="inside"><div class="panel-pane pane-pane-messages" >
- <div class="pane-content">
- </div>
- </div>
- <div class="panel-pane pane-page-content" >
- <h1 class="pane-title">
- Run 3 </h1>
- <div class="pane-content">
- <div class="global-wrapper-content">
- <div class="panel-pane pane-block pane-cmatgame-game-facebook-share-button" >
- <div class="pane-content">
- <!-- Load Facebook SDK for JavaScript -->
- <div id="fb-root"></div>
- <script>
- function shareDialog(url) {
- FB.ui(
- {'method': 'share','href': url,},
- function(response) {
- if(response && !response.error_message) {
- trackSocial('facebook','share',url);
- } else {
- trackSocial('facebook','share-fail',url);
- }
- }
- );
- };
- window.fbAsyncInit = function() {
- FB.init({
- appId : '1518098848498337',
- xfbml: true,
- version: 'v2.5',
- });
- FB.Event.subscribe('edge.create', function(targetUrl) {
- trackSocial('facebook','like',targetUrl);
- });
- FB.Event.subscribe('edge.remove', function(targetUrl) {
- trackSocial('facebook','unlike',targetUrl);
- });
- };
- (function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk'));
- </script>
- <!-- Your share button code -->
- <div class="social-block">
- <div class="fb-share">
- <img src="/sites/cmatgame/themes/cmatgame/images/fbshare_new.png" alt="Share on Facebook" class="js-fb-share" />
- </div>
- <div class="fb-like" data-href="https://www.facebook.com/Coolmath-Games-185351911527417/" data-layout="button" data-show-faces="false" data-action="like" data-share="false">
- </div>
- </div>
- <script>
- var $fbShare = null;
- $fbShare = jQuery('.js-fb-share');
- if($fbShare.length > 0) {
- $fbShare.click(function(){
- shareDialog('http://www.coolmath-games.com/0-run-3');
- });
- }
- </script> </div>
- </div>
- <div class="panel-pane pane-block pane-bean-game-page-no-ads-promo" >
- <div class="pane-content">
- <div class="entity entity-bean bean-content-block clearfix" about="/block/game-page-no-ads-promo" typeof="">
- <div class="content">
- <div class="field-text-block">
- <p><a class="game-page-no-add" href="https://www.coolmath-games.com/signup/b2df5a33?origin=/"><img alt="" src="" /></a></p>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="panel-pane pane-views-panes pane-game-details-carousel-game-detail" >
- <div class="pane-content">
- <div class="view view-game-details view-id-game_details view-display-id-carousel_game_detail view-dom-id-004b002d8c6989dae74799a3b8f1f71b">
- <div class="view-header">
- <p>You'll Also Like...</p>
- </div>
- <div class="view-content">
- <div class="skin-default">
- <div id="bxslider_views_slideshow_main_game_details-carousel_game_detail" class="bxslider_views_slideshow_main views_slideshow_main"><div id="views-slideshow-bxslider-1" class="views-slideshow-bxslider">
- <ul id="views-slideshow-bxslider-images-1" class="bxslider-views-slideshow-main-frame bxslider">
- <li id="views_slideshow_cycle_div_1_0" class="bxslider-views-slideshow-main-frame-row">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-run">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-run.gif?0=itok%3D-1JhswhN" width="83" height="50" alt="Run game" title="Run game" /> </div>
- <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Run</span></h5></a>
- </div>
- </div>
- </span> </div></li>
- <li id="views_slideshow_cycle_div_1_1" class="bxslider-views-slideshow-main-frame-row">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-run-2">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-run-2.gif?0=itok%3DdopaQvgf" width="83" height="50" alt="Run 2 game" title="Run 2 game" /> </div>
- <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Run 2</span></h5></a>
- </div>
- </div>
- </span> </div></li>
- <li id="views_slideshow_cycle_div_1_2" class="bxslider-views-slideshow-main-frame-row">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-snake">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/snake-game-logo.png?0=itok%3DDVzquARW" width="83" height="50" alt="Snake Game" title="Snake game" /> </div>
- <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Snake</span></h5></a>
- </div>
- </div>
- </span> </div></li>
- <li id="views_slideshow_cycle_div_1_3" class="bxslider-views-slideshow-main-frame-row">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-worlds-hardest-game">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-worlds-hardest-game.gif?0=itok%3DFWkXD8pU" width="83" height="50" alt="World's Hardest Game game" title="World's Hardest Game game" /> </div>
- <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">World's Hardest Game</span></h5></a>
- </div>
- </div>
- </span> </div></li>
- <li id="views_slideshow_cycle_div_1_4" class="bxslider-views-slideshow-main-frame-row">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-worlds-hardest-game-2">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-worlds-hardest-game-2.gif?0=itok%3D8-gHyuuh" width="83" height="50" alt="World's Hardest Game 2 game" title="World's Hardest Game 2 game" /> </div>
- <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">World's Hardest Game 2</span></h5></a>
- </div>
- </div>
- </span> </div></li>
- <li id="views_slideshow_cycle_div_1_5" class="bxslider-views-slideshow-main-frame-row">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-60-second-burger-run">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-60-second-burger-run.gif?0=itok%3D3jVoRPc5" width="83" height="50" alt="60 Second Burger Run game" title="60 Second Burger Run game" /> </div>
- <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">60 Second Burger Run</span></h5></a>
- </div>
- </div>
- </span> </div></li>
- <li id="views_slideshow_cycle_div_1_6" class="bxslider-views-slideshow-main-frame-row">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-johnny-upgrade">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-johnny-upgrade.gif?0=itok%3DJ2UZXXbv" width="83" height="50" alt="Johnny Upgrade game" title="Johnny Upgrade game" /> </div>
- <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Johnny Upgrade</span></h5></a>
- </div>
- </div>
- </span> </div></li>
- <li id="views_slideshow_cycle_div_1_7" class="bxslider-views-slideshow-main-frame-row">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-space-is-key">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-space-is-key.gif?0=itok%3DgMQI-Qp0" width="83" height="50" alt="Space Is Key game" title="Space Is Key game" /> </div>
- <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Space Is Key</span></h5></a>
- </div>
- </div>
- </span> </div></li>
- <li id="views_slideshow_cycle_div_1_8" class="bxslider-views-slideshow-main-frame-row">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-space-is-key-2">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-space-is-key-2.gif?0=itok%3D6Kde54wm" width="83" height="50" alt="Space is Key 2 Icon" title="Space Is Key 2 game" /> </div>
- <h5 class="game-title"><span class="overlay"></span><span class="title-on-overlay">Space Is Key 2</span></h5></a>
- </div>
- </div>
- </span> </div></li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div> </div>
- </div>
- <div class="panel-pane pane-entity-view pane-node" >
- <div class="pane-content">
- <script type="text/javascript">
- // we will define this varialbe signUpURLABTest in experiments.js
- var cmg_upg_days_limit = 180;
- if(window.location !== 'cmatgame.local') {// if testing
- if(typeof signUpURL === 'undefined' || signUpURL === '') {
- signUpURL = '/signup/b2df5a33?origin='+ window.location;
- } else {
- signUpURL = signUpURL+'?origin='+ window.location;
- }
- } else // end of testing (TODO - remove above if)
- if(typeof signUpURLABTest === "undefined" || signUpURLABTest === null ) {
- signUpURL = 'https://' + window.location.hostname +'/signup/b2df5a33?origin='+ window.location;
- } else {
- signUpURL = signUpURLABTest;
- }
- function subscription_promo_handler() {
- if(typeof freeTrialUser !== 'undefined' && freeTrialUser) {
- trackEvent('Premium Subscription ' +subscriberLeg, 'Subscription overlay clicked', userPlayedGames);
- }
- return;
- }
- function subscriptionSignUpUrl() {
- var user_played_games = '';
- var zeroFreeGamesLeftUsers =localStorage.getItem("zeroFreeGamesLeftUsers");
- if(typeof userPlayedGames !== 'undefined' && userPlayedGames) {
- user_played_games = "upg=" +userPlayedGames;
- } else {
- user_played_games = "upg=0";
- }
- if(zeroFreeGamesLeftUsers !== null && user_played_games !== '') {
- user_played_games = user_played_games + '&zfg='+zeroFreeGamesLeftUsers;
- } else if(zeroFreeGamesLeftUsers !== null) {
- user_played_games = 'zfg='+zeroFreeGamesLeftUsers;
- }
- if(typeof signUpURL !== 'undefined' && signUpURL !== null && signUpURL.indexOf('upg') === -1) {
- if(signUpURL.indexOf('?random_true') > -1) {
- signUpURL = signUpURL.replace('?random_true', '');
- }
- if(signUpURL.indexOf('?') > -1) {
- signUpURL = signUpURL + '&' +user_played_games;
- } else {
- signUpURL = signUpURL + '?' +user_played_games;
- }
- }
- }
- function cmatgame_premium_subscription_game_display() {
- var cmatgame_subscriber = getCookie('cmg_sx');
- var validSubscriber = false;
- if(typeof cmatgame_subscriber !== 'undefined' && cmatgame_subscriber !== null ) {
- validSubscriber = true;
- }
- if(typeof subscribeNowAlienClass === 'undefined' || subscribeNowAlienClass === null || subscribeNowAlienClass === '') {
- if(Drupal.settings.isSubscriptionActive == false) {
- subscribeNowAlienClass = "subscribe-now-alien-subscribe";
- }else {
- subscribeNowAlienClass = "subscribe-now-alien-signup";
- }
- }
- freeGamesExceeded = true;
- //display Ads to anonymous users the time from 7am to 13pm, display ads to anonymous users
- // from 13pm to 11:59pm and 00 to 7am only if the user is not from New York city
- // TODO --> Need to add day of the week for school hours logic, day < 6
- if( getCookie('cmg_schwl') !== null || typeof cmg_no_ads !== 'undefined' || (!validSubscriber && schoolHours || ( !schoolHours && !targetStateUser ) || ( !schoolHours && targetStateUser && getCookie('cmg_active_anonymous_user') !== null) ) ) {
- //TODO Display Game
- removeAdSwfJWPLayer();
- if(!/0-chess/.test(window.location.pathname)) {
- //setCookie('cmg_active_anonymous_user', 'active', 30*60*1000);
- }
- } else if(!validSubscriber && !schoolHours && targetStateUser && getCookie('cmg_active_anonymous_user') === null && getCookie('cmg_editor') === null) {
- //if user comes from google dont show the subscription paywall
- var ref = document.referrer;
- //count number of games played by the user this month
- userPlayedGames = 0;
- var userFreeGameList = [];
- var freeGameNid = 11697;
- if(sessionStorage.getItem("userFreeGameList") !== null) {
- userFreeGameList = JSON.parse(sessionStorage.getItem("userFreeGameList"));
- }
- if((localStorage.getItem("userPlayedGames") == null || getCookie('cmg_upg') === null) && freeGameLimit !== 0 ) {
- userPlayedGames = 1;
- localStorage.setItem("userPlayedGames",userPlayedGames);
- //TODO monthly cookie
- setCookie('cmg_upg', 'true', cmg_upg_days_limit * 24*60*60*1000);
- userFreeGameList = [freeGameNid];
- sessionStorage.setItem("userFreeGameList", JSON.stringify(userFreeGameList));
- //TODO Display Game
- removeAdSwfJWPLayer();
- } else {
- //userPlayedGames = parseInt(localStorage.getItem("userPlayedGames"+currentMonth+currentYear));
- //Monthly limit
- if(localStorage.getItem("userPlayedGames") !== null && getCookie('cmg_upg') !== null) {
- userPlayedGames = parseInt(localStorage.getItem("userPlayedGames"));
- } else {
- userPlayedGames = 0;
- setCookie('cmg_upg', 'true', cmg_upg_days_limit * 24*60*60*1000);
- }
- if(freeGameLimit != 0 && userPlayedGames < freeGameLimit && userFreeGameList.indexOf(freeGameNid) === -1) {
- userPlayedGames++;
- freeGamesExceeded = false;
- if(userFreeGameList.length > 0) {
- userFreeGameList = userFreeGameList.concat(freeGameNid);
- } else {
- userFreeGameList = [freeGameNid];
- }
- localStorage.setItem("userPlayedGames",userPlayedGames);
- sessionStorage.setItem("userFreeGameList", JSON.stringify(userFreeGameList));
- } else {
- freeGamesExceeded = true;
- }
- //console.log("Number of games user has played "+ userPlayedGames );
- var validReferer = false;
- var validGameSession = false;
- if(userFreeGameList.indexOf(freeGameNid) > -1) {
- validGameSession = true;
- }
- if(ref.match("google.com") !== null || ref.match("yahoo.com") !== null || ref.match("bing.com") !== null) {
- validReferer = true;
- }
- subscriptionSignUpUrl();
- if(!validReferer && userPlayedGames >= freeGameLimit && !validGameSession) { //subscription paywall
- //block anonymous users for New York City from 0-7am and 13pm to 11:59pm
- //console.log("Free games limit exceeded and referer is not google");
- clearInterval(intervalId);
- jQuery("#afg_container").remove();
- jQuery(".title-instructions").remove();
- jQuery(".body-instructions").remove();
- var alreadySubscriberText = '<p class="already-subscribed">Already a Subscriber? <a class="learn-more-link" href="/user/login">Login</a></p>';
- if(getCookie('cmg_l') != null) {
- alreadySubscriberText = '';
- }
- var headLine = '<p class="no-free-games-headline">Please Sign up to keep playing</p>';
- if(Drupal.settings.isSubscriptionActive == false && getCookie('cmg_l') != null) {
- headLine = '<p class="no-free-games-headline" style="padding-top:46px;">PLEASE SUBSCRIBE NOW TO KEEP PLAYING</p>';
- }
- jQuery(".field-game").html('<div class="subscription-overlay" style="height:360px;width:500px;background:#008aa3;white-space:normal;">'+
- headLine +
- '<p class="free-in-schools">To keep Coolmath-Games free in schools, <br>we offer subscriptions for unlimited use<br>at home. '+
- '<a class="learn-more-link" href="/subscribe-info"> Learn More > </a></p>' +
- '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
- alreadySubscriberText + '</div>');
- } else {
- //console.log("User may have come from google or is within the free game limit "+ (freeGameLimit-userPlayedGames) );
- //TODO Display Game
- removeAdSwfJWPLayer();
- }
- }
- //display to user how many free games left once page load completes.
- if (window.addEventListener)
- window.addEventListener('load', checkPageLoad, false);
- else if (window.attachEvent)
- window.attachEvent('onload', checkPageLoad);
- else window.onload = checkPageLoad;
- }
- }
- function checkPageLoad() {
- //console.log("checkPageLoad: Checkers test ");
- if(freeGameLimit) {
- freeGamesLeft = ((freeGameLimit - userPlayedGames));
- } else {
- freeGamesLeft = 0;
- }
- if(freeGamesLeft === 0) {
- var zeroFreeGamesLeftUsers =localStorage.getItem("zeroFreeGamesLeftUsers");
- if(zeroFreeGamesLeftUsers == null) {
- localStorage.setItem("zeroFreeGamesLeftUsers","1");
- __gaTracker('send', {
- 'hitType': 'event', // Required.
- 'eventCategory': "ZeroFreeGamesLeftUsers", // Required.
- 'eventAction': subscriberLeg, // Required.
- 'eventLabel': document.title,
- 'eventValue': "0",
- 'nonInteraction': 1
- });
- }
- }
- //Replace Go Ad Free header promo with parents and teachers promo
- if(typeof freeTrialUser !== 'undefined' && freeTrialUser && typeof targeted_state !== 'undefined' && targeted_state && jQuery('.panel-pane.pane-block.pane-bean-subscriber-promo').length) {
- jQuery('.panel-pane.pane-block.pane-bean-subscriber-promo').replaceWith('<div class="panel-pane pane-block"><div class="panel-pane pane-block"><div class="pane-bean-parents-promo" style="display: block;"><a href="/subscribe-info/" style="display: block;">Parents and Teachers</a></div></div></div>')
- } else if(typeof freeTrialUser !== 'undefined' && freeTrialUser && typeof targeted_state !== 'undefined' && targeted_state && jQuery('.panel-pane.pane-block .pane-bean-subscriber-promo').length) {
- jQuery('.panel-pane.pane-block .pane-bean-subscriber-promo').replaceWith('<div class="panel-pane pane-block"><div class="panel-pane pane-block"><div class="pane-bean-parents-promo" style="display: block;"><a href="/subscribe-info/" style="display: block;">Parents and Teachers</a></div></div></div>')
- }
- subscriptionSignUpUrl();
- if(Drupal.settings.isSubscriptionActive == false && getCookie('cmg_l') !== null) {
- subscribeNowAlienClass = "subscribe-now-alien-subscribe";
- }else if(getCookie('cmg_l') == null) {
- subscribeNowAlienClass = "subscribe-now-alien";
- }else if(getCookie('cmg_l') == null && subscriberLeg == 'Default Leg') {
- subscribeNowAlienClass = "subscribe-now-signup";
- }
- var alreadySubscriberText = '<p class="already-subscribed">Already a Subscriber? <a class="learn-more-link" href="/user/login">Login</a></p>';
- if(getCookie('cmg_l') != null) {
- alreadySubscriberText = '';
- }
- if(freeGamesLeft === 0 && (!freeGamesExceeded || freeGameLimit > 0) ){
- freeGamesLeftDiv = '<div class="free-games-left-sidebar">'+
- '<p class="no-free-games-headline">You Have <span class="remaining">'+ freeGamesLeft + '</span> <br>Free Games Remaining</p>' +
- '<p class="free-in-schools">To keep Coolmath-Games free <br> in schools, we offer subscriptions for unlimited use at home.</p>'+
- '<p><a class="learn-more-link" href="/subscribe-info">Learn More > </a></p>' +
- '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
- alreadySubscriberText +
- '</div>';
- jQuery(".pane-bean-remaining-games-placeholder").html(freeGamesLeftDiv);
- } else if(freeGamesLeft === 1) {
- freeGamesLeftDiv = '<div class="free-games-left-sidebar">'+
- '<p class="no-free-games-headline">You Have <span class="remaining">'+ freeGamesLeft + '</span><br>Free Game Remaining</p>' +
- '<p class="free-in-schools">To keep Coolmath-Games free <br> in schools, we offer subscriptions for unlimited use at home.</p>'+
- '<p><a class="learn-more-link" href="/subscribe-info">Learn More > </a></p>' +
- '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
- alreadySubscriberText+
- '</div>';
- jQuery(".pane-bean-remaining-games-placeholder").html(freeGamesLeftDiv);
- } else if(freeGamesLeft === 0 && freeGamesExceeded){
- freeGamesLeftDiv = '';
- jQuery(".pane-bean-remaining-games-placeholder").html(freeGamesLeftDiv);
- } else {
- freeGamesLeftDiv = '<div class="free-games-left-sidebar">'+
- '<p class="no-free-games-headline">You Have <span class="remaining">'+ freeGamesLeft + '</span><br> Free Games Remaining</p>' +
- '<p class="free-in-schools">To keep Coolmath-Games free <br> in schools, we offer subscriptions for unlimited use at home.</p>'+
- '<p><a class="learn-more-link" href="/subscribe-info">Learn More > </a></p>' +
- '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
- alreadySubscriberText +
- '</div>';
- jQuery(".pane-bean-remaining-games-placeholder").html(freeGamesLeftDiv);
- }
- }// end checkPageLoad();
- </script>
- <article class="game-field-wrapper node-11697 node node-game view-mode-full game-w-summary clearfix" about="/0-run-3" typeof="sioc:Item foaf:Document">
- <header>
- <span property="dc:title" content="Run 3" class="rdf-meta element-hidden"></span>
- </header>
- <script>
- function unlockAllLevels() {
- trackEvent('Unlock All Levels category', 'unlock all levels button clicked', document.title);
- alllevels = '<div class="adobe-analytics-sub-experience levels-unlocked">levels-unlocked</div>';
- jQuery("#subscriber-banner").replaceWith(alllevels);
- if(game_type == "html5") {
- document.getElementById("html5game").contentWindow.unlockAllLevels();
- } else {
- document.getElementById("swfObjID").unlockAllLevels();
- }
- }
- function addSubToUnlockGAEvent(){
- trackEvent('Unlock All Levels category', 'subscribe to unlock button clicked', document.title);
- window.location.href = "http://www.coolmath-games.com/signup/b2df5a33?origin=node/11697&stual=1"
- }
- </script>
- <div id="no-flash-overlay" style="display:none;">
- <a href="http://www.adobe.com/go/getflashplayer" target="_blank"><img src="/sites/cmatgame/files/enable-flash/enable-flash-light-blue-transparent.png" alt="click to enable flash" /></a>
- <div class="bottom-text"><p>If that doesn't work, <a href="/fix-flash" class="fix-flash-2">go here for more help.</a></div>
- <!-- <div class="bottom-text"><p>Want great games that don't require Flash? <a href="/1-html5-games" class="html5-games-link">Check out our HTML5 Games!</a></div> -->
- </div>
- <div class="field-game">
- <div id="swf_1"></div> </div>
- <script>
- hide_preroll_ads = false;
- var cmg_active_anonymous_user = getCookie('cmg_active_anonymous_user');
- if(cmg_active_anonymous_user != null && !/0-chess/.test(window.location.pathname)) {
- //setCookie('cmg_active_anonymous_user', 'active', 30*60*1000);
- }
- </script>
- <div id="afg_container">
- <style>
- .load-wrap {
- width: 100%;
- }
- .circle {
- display: inline-block;
- height: 15px;
- width: 15px;
- margin-right: 20px;
- background-color: #fc6e51;
- border-radius: 50%;
- -webkit-animation: afg_container_loading 1.6s infinite;
- -moz-animation: afg_container_loading 1.6s infinite;
- -o-animation: afg_container_loading 1.6s infinite;
- animation: afg_container_loading 1.6s infinite;
- }
- .load-wrap .circle:nth-child(3) {
- -webkit-animation-delay: .1s;
- -moz-animation-delay: .1s;
- -o-animation-delay: .1s;
- animation-delay: .1s;
- background: #f8eb13;
- margin: -40px 5px 40px 340px;
- }
- .load-wrap .circle:nth-child(4) {
- -webkit-animation-delay: .3s;
- -moz-animation-delay: .3s;
- -o-animation-delay: .3s;
- animation-delay: .3s;
- background: #33a2da;
- margin: -40px 5px 40px ;
- }
- .load-wrap .circle:nth-child(5) {
- -webkit-animation-delay: .5s;
- -moz-animation-delay: .5s;
- -o-animation-delay: .5s;
- animation-delay: .5s;
- background: #ee3928;
- margin: -40px 5px 40px ;
- }
- .load-wrap .circle:nth-child(6) {
- -webkit-animation-delay: .7s;
- -moz-animation-delay: .7s;
- -o-animation-delay: .7s;
- animation-delay: .7s;
- background: #51b747;
- margin: -40px 5px 40px ;
- }
- /* Keyframes */
- @-webkit-keyframes afg_container_loading {
- 0%, 100% {
- -webkit-transform: scale(0.0);
- }
- 50% {
- -webkit-transform: scale(1.0);
- }
- }
- @-moz-keyframes afg_container_loading {
- 0%, 100% {
- -moz-transform: scale(0.0);
- }
- 50% {
- -moz-transform: scale(1.0);
- }
- }
- @-o-keyframes afg_container_loading {
- 0%, 100% {
- -o-transform: scale(0.0);
- }
- 50% {
- -o-transform: scale(1.0);
- }
- }
- @keyframes afg_container_loading {
- 0%, 100% {
- transform: scale(0.0);
- }
- 50% {
- transform: scale(1.0);
- }
- }
- </style>
- <div class="load-wrap">
- <script>
- // IE Detection and Version grabbing
- ie = false;
- if (navigator.appName == "Microsoft Internet Explorer") {
- ie = true;
- var ua = navigator.userAgent;
- var re = new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");
- if (re.exec(ua) != null) {
- ieVersion = parseInt(RegExp.$1)
- }
- }
- if(ie && ieVersion <= 9) {
- document.write('<h1 style="margin:20px 0px; font-size: 20px">Just a moment while your game loads...</h1>');
- } else {
- document.write('<h1 style="margin:20px 0px; font-size: 20px">Just a moment while your game loads</h1><div class="circle"></div><div class="circle"></div><div class="circle"></div><div class="circle"></div>');
- }
- </script>
- </div>
- <div id="div-gpt-ad-629350160446709561-10" style="margin-bottom:20px;text-align:center;"></div>
- <!--Start of Preloader call -->
- <div id="afg_preloader">
- <div id="container123">
- <div id="videoplayer">
- <video id="content123" style="height:1px;width:640px;">
- <source src="//www.coolmath-games.com/sites/cmatgame/files/adtesting/DummyVideo.mov"></source>
- </video>
- <div id="adcontainer" style="height:480px;width:640px;"></div>
- </div>
- </div>
- <script type="text/javascript" src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
- <script type="text/javascript">
- /**
- * Handles user interaction and creates the player and ads controllers.
- */
- var Application = function(displayAds) {
- this.playing_ = false;
- this.adsActive_ = false;
- this.adsDone_ = false;
- if(typeof displayAds === 'undefined' || displayAds === null) {
- this.displayAds = true;
- } else {
- this.displayAds = displayAds;
- }
- this.videoPlayer_ = new VideoPlayer();
- if(this.displayAds && typeof targeted_state === 'undefined') {
- //console.log("Preload ads for non subscription time games");
- this.ads_ = new Ads(this, this.videoPlayer_);
- //Adx Preroll Tag with fallback display Ad
- /*
- this.adTagUrl_ = 'https://googleads.g.doubleclick.net/pagead/ads?client=ca-games-pub-9728353415461720&ad_type=video_text_image&description_url=http%3A%2F%2Fwww.coolmath-games.com&max_ad_duration=60000&videoad_start_delay=0';
- */
- this.adTagUrl_ = 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/45966600/cmg.preroll&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url=[referrer_url]&description_url=http%3A%2F%2Fwww.coolmath-ganes.com&correlator=' + new Date();
- // The user clicked/tapped - inform the ads controller that this code
- // is being run in a user action thread.
- this.ads_.initialUserAction();
- // At the same time, initialize the content player as well.
- // When content is loaded, we'll issue the ad request to prevent it
- // from interfering with the initialization. See
- // https://developers.google.com/interactive-media-ads/docs/sdks/html5/v3/ads#iosvideo
- // for more information.
- this.videoPlayer_.preloadContent(this.bind_(this, this.loadAds_));
- this.adsDone_ = true;
- } else {
- //console.log("Do not preload ads for free trial user");
- removeAdSwfJWPLayer();
- }
- };
- Application.prototype.bind_ = function(thisObj, fn) {
- return function() {
- fn.apply(thisObj, arguments);
- };
- };
- Application.prototype.loadAds_ = function() {
- this.ads_.requestAds(this.adTagUrl_);
- };
- /**
- * Handles video player functionality.
- */
- var VideoPlayer = function() {
- this.contentPlayer = document.getElementById('content123');
- this.adContainer = document.getElementById('adcontainer');
- this.videoPlayerContainer_ = document.getElementById('videoplayer');
- this.width = 640;
- this.height = 480;
- };
- VideoPlayer.prototype.preloadContent = function(contentLoadedAction) {
- contentLoadedAction();
- };
- VideoPlayer.prototype.play = function() {
- this.contentPlayer.play();
- };
- VideoPlayer.prototype.pause = function() {
- this.contentPlayer.pause();
- };
- /**
- * Shows how to use the IMA SDK to request and display ads.
- */
- var Ads = function(application, videoPlayer) {
- this.application_ = application;
- this.videoPlayer_ = videoPlayer;
- this.customClickDiv_ = document.getElementById('customClick');
- this.contentCompleteCalled_ = false;
- google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED);
- // Call setLocale() to localize language text and downloaded swfs
- // google.ima.settings.setLocale('fr');
- this.adDisplayContainer_ =
- new google.ima.AdDisplayContainer(
- this.videoPlayer_.adContainer,
- this.videoPlayer_.contentPlayer,
- this.customClickDiv_);
- this.adsLoader_ = new google.ima.AdsLoader(this.adDisplayContainer_);
- this.adsManager_ = null;
- this.adsLoader_.addEventListener(
- google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,
- this.onAdsManagerLoaded_,
- false,
- this);
- this.adsLoader_.addEventListener(
- google.ima.AdErrorEvent.Type.AD_ERROR,
- this.onAdError_,
- false,
- this);
- };
- // On iOS and Android devices, video playback must begin in a user action.
- // AdDisplayContainer provides a initialize() API to be called at appropriate
- // time.
- // This should be called when the user clicks or taps.
- Ads.prototype.initialUserAction = function() {
- this.adDisplayContainer_.initialize();
- this.videoPlayer_.contentPlayer.load();
- };
- Ads.prototype.requestAds = function(adTagUrl) {
- var adsRequest = new google.ima.AdsRequest();
- adsRequest.adTagUrl = adTagUrl;
- adsRequest.linearAdSlotWidth = this.videoPlayer_.width;
- adsRequest.linearAdSlotHeight = this.videoPlayer_.height;
- adsRequest.nonLinearAdSlotWidth = this.videoPlayer_.width;
- adsRequest.nonLinearAdSlotHeight = this.videoPlayer_.height;
- this.adsLoader_.requestAds(adsRequest);
- };
- Ads.prototype.onAdsManagerLoaded_ = function(adsManagerLoadedEvent) {
- //console.log('Ads loaded.');
- var adsRenderingSettings = new google.ima.AdsRenderingSettings();
- //adsRenderingSettings.loadVideoTimeout = 4000;
- adsRenderingSettings.restoreCustomPlaybackStateOnAdBreakComplete = true;
- this.adsManager_ = adsManagerLoadedEvent.getAdsManager(
- this.videoPlayer_.contentPlayer, adsRenderingSettings);
- this.processAdsManager_(this.adsManager_);
- };
- Ads.prototype.processAdsManager_ = function(adsManager) {
- if (adsManager.isCustomClickTrackingUsed()) {
- this.customClickDiv_.style.display = 'table';
- }
- // Handle errors.
- adsManager.addEventListener(
- google.ima.AdErrorEvent.Type.AD_ERROR,
- this.onAdError_,
- false,
- this);
- var events = [google.ima.AdEvent.Type.ALL_ADS_COMPLETED,
- google.ima.AdEvent.Type.COMPLETE,
- google.ima.AdEvent.Type.FIRST_QUARTILE,
- google.ima.AdEvent.Type.LOADED,
- google.ima.AdEvent.Type.MIDPOINT,
- google.ima.AdEvent.Type.STARTED,
- google.ima.AdEvent.Type.THIRD_QUARTILE, google.ima.AdEvent.Type.USER_CLOSE];
- for (var index in events) {
- adsManager.addEventListener(
- events[index],
- this.onAdEvent_,
- false,
- this);
- }
- var initWidth, initHeight;
- initWidth = this.videoPlayer_.width;
- initHeight = this.videoPlayer_.height;
- adsManager.init(
- initWidth,
- initHeight,
- google.ima.ViewMode.NORMAL);
- adsManager.start();
- };
- Ads.prototype.onAdEvent_ = function(adEvent) {
- //console.log('Ad event1: ' + adEvent.type);
- if (adEvent.type == google.ima.AdEvent.Type.LOADED) {
- var ad = adEvent.getAd();
- jQuery("#content123").hide();
- }
- if (adEvent.type == google.ima.AdEvent.Type.ALL_ADS_COMPLETED) {
- removeAdSwfJWPLayer();
- }
- if (adEvent.type == google.ima.AdEvent.Type.USER_CLOSE) {
- removeAdSwfJWPLayer();
- }
- };
- Ads.prototype.onAdError_ = function(adErrorEvent) {
- //console.log('Ad error: ' + adErrorEvent.getError().toString());
- if (this.adsManager_) {
- this.adsManager_.destroy();
- }
- //TODO remove the ad slot and display the game
- //this.application_.resumeAfterAd();
- removeAdSwfJWPLayer();
- };
- if(Drupal.settings.isSubscriptionActive == false && getCookie('cmg_l') !== null) {
- subscribeNowAlienClass = "subscribe-now-alien-subscribe";
- }else if(getCookie('cmg_l') == null) {
- subscribeNowAlienClass = "subscribe-now-alien";
- }else if(getCookie('cmg_l') == null && subscriberLeg == 'Default Leg') {
- subscribeNowAlienClass = "subscribe-now-signup";
- }
- var cmatgame_subscriber = getCookie('cmg_sx');
- var validSubscriber = false;
- if(typeof cmatgame_subscriber !== 'undefined' && cmatgame_subscriber !== null ) {
- validSubscriber = true;
- }
- var application = null;
- var freeGamesExceeded = true;
- //display Ads to anonymous users the time from 7am to 13pm, display ads to anonymous users
- // from 13pm to 11:59pm and 00 to 7am only if the user is not from New York city
- // TODO --> Need to add day of the week for school hours logic, day < 6
- if(getCookie('cmg_schwl') !== null || typeof cmg_no_ads !== 'undefined' || (!validSubscriber && schoolHours || ( !schoolHours && !targetStateUser ) || ( !schoolHours && targetStateUser && getCookie('cmg_active_anonymous_user') !== null) )) {
- if(getCookie('cmg_schwl') !== null || typeof cmg_no_ads !== 'undefined') {
- application = new Application(false);
- } else {
- application = new Application(true);
- }
- if(!/0-chess/.test(window.location.pathname)) {
- //setCookie('cmg_active_anonymous_user', 'active', 30*60*1000);
- }
- } else if(!validSubscriber && !schoolHours && targetStateUser && getCookie('cmg_active_anonymous_user') === null && getCookie('cmg_editor') === null) {
- //if user comes from google dont show the subscription paywall
- var ref = document.referrer;
- //count number of games played by the user this month
- userPlayedGames = 0;
- var userFreeGameList = [];
- var freeGameNid = 11697;
- if(sessionStorage.getItem("userFreeGameList") !== null) {
- userFreeGameList = JSON.parse(sessionStorage.getItem("userFreeGameList"));
- }
- //if(localStorage.getItem("userPlayedGames"+currentMonth+currentYear) == null) {
- if((localStorage.getItem("userPlayedGames") == null || getCookie('cmg_upg') === null) && freeGameLimit !== 0) {
- userPlayedGames = 1;
- //localStorage.setItem("userPlayedGames"+currentMonth+currentYear,userPlayedGames);
- localStorage.setItem("userPlayedGames",userPlayedGames);
- setCookie('cmg_upg', 'true', cmg_upg_days_limit * 24*60*60*1000);
- userFreeGameList = [freeGameNid];
- sessionStorage.setItem("userFreeGameList", JSON.stringify(userFreeGameList));
- application = new Application(false);
- } else {
- //userPlayedGames = parseInt(localStorage.getItem("userPlayedGames"+currentMonth+currentYear));//monthly limit
- if(localStorage.getItem("userPlayedGames") !== null && getCookie('cmg_upg') !== null) {
- userPlayedGames = parseInt(localStorage.getItem("userPlayedGames"));//lifetime limit
- } else {
- userPlayedGames = 0;
- setCookie('cmg_upg', 'true', cmg_upg_days_limit * 24*60*60*1000);
- }
- if(freeGameLimit !== 0 && userPlayedGames < freeGameLimit && userFreeGameList.indexOf(freeGameNid) === -1) {
- userPlayedGames++;
- freeGamesExceeded = false;
- if(userFreeGameList.length > 0) {
- userFreeGameList = userFreeGameList.concat(freeGameNid);
- } else {
- userFreeGameList = [freeGameNid];
- }
- localStorage.setItem("userPlayedGames",userPlayedGames);
- sessionStorage.setItem("userFreeGameList", JSON.stringify(userFreeGameList));
- } else {
- freeGamesExceeded = true;
- }
- var validReferer = false;
- var validGameSession = false;
- if(userFreeGameList.indexOf(freeGameNid) > -1) {
- validGameSession = true;
- }
- if(ref.match("google.com") !== null || ref.match("yahoo.com") !== null || ref.match("bing.com") !== null) {
- validReferer = true;
- }
- subscriptionSignUpUrl();
- var alreadySubscriberText = '<p class="already-subscribed">Already a Subscriber? <a class="learn-more-link" href="/user/login">Login</a></p>';
- if(getCookie('cmg_l') != null) {
- alreadySubscriberText = '';
- }
- var headLine = '<p class="no-free-games-headline">Please Sign up to keep playing</p>';
- if(Drupal.settings.isSubscriptionActive == false && getCookie('cmg_l') != null) {
- headLine = '<p class="no-free-games-headline" style="padding-top:46px;">PLEASE SUBSCRIBE NOW TO KEEP PLAYING</p>';
- }
- if(!validReferer && userPlayedGames >= freeGameLimit && !validGameSession) { //subscription paywall
- //block anonymous users for New York City from 0-7am and 13pm to 11:59pm
- clearInterval(intervalId);
- jQuery("#afg_container").remove();
- jQuery(".title-instructions").remove();
- jQuery(".body-instructions").remove();
- jQuery(".field-game").html('<div class="subscription-overlay" style="height:360px;width:500px;background:#008aa3;white-space:normal;">'+
- headLine +
- '<p class="free-in-schools">To keep Coolmath-Games free in schools, <br>we offer subscriptions for unlimited use<br>at home. '+
- '<a class="learn-more-link" href="/subscribe-info"> Learn More > </a></p>' +
- '<a class="'+ subscribeNowAlienClass +'" onclick="subscription_promo_handler();" href="' + signUpURL + ' ">Subscribe Now</a>' +
- alreadySubscriberText+'</div>');
- //localStorage.setItem("userPlayedGames"+currentMonth+currentYear,userPlayedGames);
- //localStorage.setItem("userPlayedGames",userPlayedGames);
- } else {
- application = new Application(false);
- //localStorage.setItem("userPlayedGames"+currentMonth+currentYear,userPlayedGames);//monthly limit
- //localStorage.setItem("userPlayedGames",userPlayedGames);//lifetime limit
- }
- }
- //display to user how many free games left once page load completes.
- if (window.addEventListener)
- window.addEventListener('load', checkPageLoad, false);
- else if (window.attachEvent)
- window.attachEvent('onload', checkPageLoad);
- else window.onload = checkPageLoad;
- }
- </script>
- </div>
- <script type="text/javascript">
- function removeAdSwf() {
- removeAdSwfJWPLayer();
- }
- function noAdsReturned() {
- // enable_preroll_fallback_ads is false
- removeAdSwfJWPLayer();
- }
- </script>
- <div id="continue-container">
- <div id="continue-link">Continue in </div>
- <span id="timer_div" style="margin-left:5px;">15</span>
- </div>
- </div>
- <div class = "title-instructions" id="game-instructions">Instructions</div>
- <div class = "body-instructions"><p>Use the arrow keys to run and jump. Land on a side wall to rotate the world. Beat levels to unlock all-new characters with special powers. There's a whole new galaxy waiting to be explored!</p>
- <p>Feel like you're stuck in a crazy hard level? Press pause and then change your character using the menu at the bottom of the screen. (For example, try using the skater in the snow levels!)</p>
- </div>
- </article>
- <script type="text/javascript">
- jQuery(document).ready(function(){
- if(jQuery('#videoContainer').length && typeof VooxeVideo === 'undefined') {
- trackEvent('Video Walkthrough', 'Walkthrough video not found', document.title);
- jQuery('#videoContainer').hide();
- }
- })
- </script> </div>
- </div>
- <div class="panel-pane pane-views-panes pane-game-details-pane-top-picks" >
- <h2 class="pane-title">
- Coolmath top picks </h2>
- <div class="pane-content">
- <div class="view view-game-details view-id-game_details view-display-id-pane_top_picks view-dom-id-3b5f73f11fc18c7475542f4ed0fecd84">
- <div class="view-content">
- <div class="views-row views-row-1 views-row-odd views-row-first">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-clicker-heroes">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/clicker-heroes-game-logo.png?0=itok%3DBCsolWxk" width="83" height="50" alt="Clicker Heroes Game" title="Clicker Heroes game" /> </div>
- <h3 class="game-title">Clicker Heroes</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>Click to defeat monsters, earn gold and level up heroes. Ascend and transcend to reach new heights of power. See how far you can go!</p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- <div class="views-row views-row-2 views-row-even">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-checkers">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/checkers-game-logo.png?0=itok%3DQjrYvbcE" width="83" height="50" alt="Checkers Game" title="Checkers game" /> </div>
- <h3 class="game-title">Checkers</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>The classic board game of moving and jumping. Play vs. the computer, or against a friend.</p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- <div class="views-row views-row-3 views-row-odd">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-run-2">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-run-2.gif?0=itok%3DdopaQvgf" width="83" height="50" alt="Run 2 game" title="Run 2 game" /> </div>
- <h3 class="game-title">Run 2</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>Warning: This game requires a huge amount of concentration and memorization as you run (or skate) through the 3 dimensional courses.</p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- <div class="views-row views-row-4 views-row-even">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-worlds-hardest-game">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-worlds-hardest-game.gif?0=itok%3DFWkXD8pU" width="83" height="50" alt="World's Hardest Game game" title="World's Hardest Game game" /> </div>
- <h3 class="game-title">World's Hardest Game</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>It really is. Don't ask us how to beat it. We can't. But we've seen it done and it's possible. You guys are on your own!</p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- <div class="views-row views-row-5 views-row-odd">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-chess">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/chess-icon.png?0=itok%3DQ-uDdKXN" width="83" height="50" alt="Chess game" title="Chess game" /> </div>
- <h3 class="game-title">Chess</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>Checkmate! Get your pawns in a row and play this classic strategic board game. Play vs. the computer, a friend, or join a match against another online player.</p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- <div class="views-row views-row-6 views-row-even">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-coffee-shop">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-coffeeshop.gif?0=itok%3D-rmpS3Bd" width="83" height="50" alt="Coffee Shop game" title="Coffee Shop game" /> </div>
- <h3 class="game-title">Coffee Shop</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>A great business game where you run your own coffee shop. You have to plan your budget, your recipe and how much to charge. </p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- <div class="views-row views-row-7 views-row-odd">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-gluey-2">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-gluey-2.gif?0=itok%3DvST2NjuI" width="83" height="50" alt="Gluey 2 game" title="Gluey 2 game" /> </div>
- <h3 class="game-title">Gluey 2</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>The sequel to the popular Gluey! Group and remove blobs of the same color to get them to disappear. You're going to have to think and plan ahead!</p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- <div class="views-row views-row-8 views-row-even">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-solitaire">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/solitaire-game-logo.png?0=itok%3DZo1vRbZf" width="83" height="50" alt="Solitaire Game" title="Solitaire game" /> </div>
- <h3 class="game-title">Solitaire</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>The classic singleplayer card game. Choose your difficulty, and see if you can stack all four suits, Ace to King!</p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- <div class="views-row views-row-9 views-row-odd">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-sudoku">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/sudoku-game-logo_0.png?0=itok%3DsEIUlGh4" width="83" height="50" alt="Sudoku Game" title="Sudoku game" /> </div>
- <h3 class="game-title">Sudoku</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>The highly addicting number puzzle. Three difficulty levels to choose from, unlimited boards to solve!</p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- <div class="views-row views-row-10 views-row-even views-row-last">
- <div class="views-field views-field-rendered-entity"> <span class="field-content"><div class="game-item">
- <div class="game-link-wrapper">
- <a href="/0-spider-solitaire">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/spider-solitaire-game-logo.png?0=itok%3DYamgKjx4" width="83" height="50" alt="Spider Solitaire Game" title="Spider Solitaire game" /> </div>
- <h3 class="game-title">Spider Solitaire</h3></a> </div>
- <div class="game-item-description">
- <div class="field-body">
- <p>An easier twist on classic Solitaire. Play with 1, 2 or 4 Suits and try to remove all of the cards from the board!</p>
- </div>
- </div>
- </div>
- </span> </div> </div>
- </div>
- </div> </div>
- </div>
- </div>
- </div>
- </div>
- <div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-728x90-footer" >
- <div class="pane-content">
- <div class="ad-wrapper"><p class="adtxt-footer element-invisible"><span>Advertisement</span></p>
- <div class="pane-advertising-wrapper-footer" style="text-align:center;">
- <div id="div-gpt-ad-788084996771918566-5-pre" class="reset-content"></div>
- <div id="div-gpt-ad-788084996771918566-5" style="margin:0 auto;text-align:center;">
- <script type="text/javascript">
- if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser && typeof googletag !== "undefined") {
- jQuery(".adtxt-footer").removeClass("element-invisible").addClass("element-visible");
- googletag.cmd.push(function() { googletag.display("div-gpt-ad-788084996771918566-5"); });
- }
- </script>
- </div>
- </div></div> </div>
- </div>
- </div> <!-- print column content -->
- </div><!---close main column -->
- <div class="main-aside">
- <div class="inside"><div class="panel-pane pane-block pane-bean-right-rail-top-playlist" >
- <div class="pane-content">
- <div class="entity entity-bean bean-content-block clearfix" about="/block/right-rail-top-playlist-" typeof="">
- <div class="content">
- <div class="field-text-block">
- <div class="game-item" style="background:none;padding-top:10px;">
- <p><a href="/gallery/1-20-most-popular-games-ever"><img alt="20 Most Popular Games Slideshow" src="/sites/cmatgame/files/slideshow-right-rail-promo_04-01-16.png" /></a></p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="panel-pane pane-block pane-bean-remaining-games-placeholder" >
- <div class="pane-content">
- <div class="entity entity-bean bean-content-block clearfix" about="/block/remaining-games-placeholder" typeof="">
- <div class="content">
- </div>
- </div>
- </div>
- </div>
- <div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-300x250-top" >
- <div class="pane-content">
- <div class="ad-wrapper"><p class="adtxt element-invisible"><span>Advertisement</span></p>
- <div class="pane-advertising-wrapper">
- <div id="div-gpt-ad-629350160446709561-4-pre" class="reset-content"></div>
- <div id="div-gpt-ad-629350160446709561-4" style="height:300px !important;">
- <script type="text/javascript">
- if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser && typeof googletag !== "undefined") {
- jQuery(".adtxt.element-invisible").removeClass("element-invisible").addClass("element-visible");
- googletag.cmd.push(function() { googletag.display("div-gpt-ad-629350160446709561-4"); });
- }
- </script>
- </div>
- </div></div> </div>
- </div>
- <div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-300x250-center" >
- <div class="pane-content">
- <div class="ad-wrapper"><p class="adtxt element-invisible"><span>Advertisement</span></p>
- <div class="pane-advertising-wrapper">
- <div id="div-gpt-ad-629350160446709561-2-pre" class="reset-content"></div>
- <div id="div-gpt-ad-629350160446709561-2" style="height:300px !important;">
- <script type="text/javascript">
- if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
- jQuery(".adtxt.element-invisible").removeClass("element-invisible").addClass("element-visible");
- googletag.cmd.push(function() { googletag.display("div-gpt-ad-629350160446709561-2"); });
- }
- </script>
- </div>
- </div></div> </div>
- </div>
- <div class="panel-pane pane-block pane-bean-right-rail-strategy-games" >
- <div class="pane-content">
- <div class="entity entity-bean bean-content-block clearfix" about="/block/right_rail_strategy_games" typeof="">
- <div class="content">
- <div class="aside-link-title">
- <a href="/1-complete-game-list">All Games A-Z</a> </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="promo clearfix">
- <div class="inside"><div class="panel-pane pane-views-panes pane-queues-view-rightrail-games-promo" >
- <h2 class="pane-title"><a href="/1-aiming-games">Aiming Games</a></h2>
- <div class="view view-queues-view view-id-queues_view view-display-id-rightrail_games_promo view-dom-id-221ddbf86b1fda23a710804ef803af4e">
- <div class="view-content">
- <div class="views-row views-row-1 views-row-odd views-row-first views-row-last">
- <article class="node-10481 node node-game view-mode-promo" about="/0-wonderputt" typeof="sioc:Item foaf:Document">
- <a href="/0-wonderputt">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/wonderputt-game-logo.png?0=itok%3DcJ3YtZbH" width="83" height="50" alt="Wonderputt Game" title="Wonderputt game" /> </div>
- <span class="game-title">Wonderputt</span>
- </a>
- </article>
- <article class="node-11566 node node-game view-mode-promo" about="/0-raft-wars" typeof="sioc:Item foaf:Document">
- <a href="/0-raft-wars">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/raft-wars-game-logo.png?0=itok%3Dqux_0ILp" width="83" height="50" alt="Raft Wars Game" title="Raft Wars game" /> </div>
- <span class="game-title">Raft Wars</span>
- </a>
- </article>
- <article class="node-2311 node node-game view-mode-promo" about="/0-blosics-2" typeof="sioc:Item foaf:Document">
- <a href="/0-blosics-2">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/game-logo-blosics-2.gif?0=itok%3DlFSvgQOZ" width="83" height="50" alt="Blosics 2 game" title="Blosics 2 game" /> </div>
- <span class="game-title">Blosics 2</span>
- </a>
- </article>
- <article class="node-11106 node node-game view-mode-promo" about="/0-sticky-ninja-missions" typeof="sioc:Item foaf:Document">
- <a href="/0-sticky-ninja-missions">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/sticky-ninja-missions-game-logo.png?0=itok%3DCfV1Ev_w" width="83" height="50" alt="Sticky Ninja Missions Game" title="Sticky Ninja Missions game" /> </div>
- <span class="game-title">Sticky Ninja Missions</span>
- </a>
- </article>
- <article class="node-11628 node node-game view-mode-promo" about="/0-arcade-golf-neon" typeof="sioc:Item foaf:Document">
- <a href="/0-arcade-golf-neon">
- <div class="field-image">
- <img typeof="foaf:Image" src="/sites/cmatgame/files/styles/thumbnail_small/public/game_thumbnail/arcade-golf-neon-game-logo.png?0=itok%3Dob4xO2O3" width="83" height="50" alt="Arcade Golf Neon Game" title="Arcade Golf Neon game" /> </div>
- <span class="game-title">Arcade Golf Neon</span>
- </a>
- </article>
- </div>
- </div>
- </div>
- </div>
- <div class="panel-pane pane-block pane-cmatgame-advertisement-cm-g-otherpages-160x600-bottom" >
- <div class="pane-content">
- <div class="ad-wrapper"><p class="adtxt element-invisible"><span>Advertisement</span></p>
- <div class="pane-advertising-wrapper">
- <div id="div-gpt-ad-629350160446709561-3-pre" class="reset-content"></div>
- <div id="div-gpt-ad-629350160446709561-3">
- <script type="text/javascript">
- if((typeof cmatgame_subscriber === "undefined" || cmatgame_subscriber === "" || cmatgame_subscriber === null || typeof freeTrialUser === "undefined" ) && !freeTrialUser) {
- jQuery(".adtxt.element-invisible").removeClass("element-invisible").addClass("element-visible");
- googletag.cmd.push(function() { googletag.display("div-gpt-ad-629350160446709561-3"); });
- }
- </script>
- </div>
- </div></div> </div>
- </div>
- </div>
- </div><!-- close promo -->
- </div> <!-- close aside -->
- </div><!--close global-content-wrapper-->
- </div><!-- close global wrapper -->
- <footer class="main-footer">
- <div class="item-list"><ol><li class="first"><div class="panel-pane pane-block pane-bean-footer-pivacy-policy" >
- <div class="pane-content">
- <div class="entity entity-bean bean-content-block" about="/block/footer_pivacy_policy" typeof="">
- <div class="content">
- <div class="link-with-body-title"><a href="/privacyp">Coolmath games privacy policy</a></div>
- <div class="field-text-block">
- <p>If you believe that your own copyrighted content is on our Site without your permission, please follow this <a href="http://coolmath.com/copyright-infringement-notice-procedure">Copyright Infringement Notice procedure</a>.</p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </li>
- <li><div class="panel-pane pane-menu-tree pane-menu-desktop-footer-menu" >
- <div class="pane-content">
- <div class="menu-block-wrapper menu-block-ctools-menu-desktop-footer-menu-1 menu-name-menu-desktop-footer-menu parent-mlid-0 menu-level-1">
- <ul class="footer-menu"><li class="menu__item is-expanded first expanded menu-mlid-3246 footer-menu-column-0"><span class="menu__link nolink">COOLMATH-GAMES.COM</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-3351"><a href="/about-us" class="menu__link">About Us</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3476"><a href="/terms-use" class="menu__link">Terms of Use</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3346"><a href="/aboutourads" class="menu__link">About Our Ads</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3436"><a href="/copyrights-fair-use" class="menu__link">Copyrights & Fair Use</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-9906"><a href="/subscription-faq" class="menu__link">Subscription FAQ</a></li>
- <li class="menu__item is-leaf last leaf menu-mlid-9911"><a href="/contact-us-about-subscriptions" class="menu__link">Subscription Support</a></li>
- </ul></li>
- <li class="menu__item is-expanded expanded menu-mlid-3231 footer-menu-column-1"><span class="menu__link nolink">BROWSE GAMES</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-3471"><a href="/1-strategy-games" class="menu__link">Strategy Games</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3416"><a href="/1-skill-games" class="menu__link">Skill Games</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3496"><a href="/1-number-games" class="menu__link">Number Games</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3456"><a href="/1-logic-games" class="menu__link">Logic Games</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3461"><a href="/1-memory-games" class="menu__link">Memory Games</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3391"><a href="/1-classic-games" class="menu__link">Classic Games</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3431"><a href="//www.coolmath-games.com/0-jigsaw-puzzles" title="Jigsaw Puzzles" class="menu__link">Jigsaw Puzzles</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-5846"><a href="/1-science-games" class="menu__link">Science Games</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-5841"><a href="/1-geography-games" class="menu__link">Geography Games</a></li>
- <li class="menu__item is-leaf last leaf menu-mlid-3426"><a href="/1-winter-holiday-games" class="menu__link">Holiday Games</a></li>
- </ul></li>
- <li class="menu__item is-expanded expanded menu-mlid-3266 footer-menu-column-2"><span class="menu__link nolink">COOLMATH.COM</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-3406"><a href="http://www.coolmath.com/prealgebra" class="menu__link">Pre-Algebra Lessons</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3396"><a href="http://www.coolmath.com/algebra" class="menu__link">Algebra Lessons</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3386"><a href="http://www.coolmath.com/precalculus-review-calculus-intro" class="menu__link">Pre-Calculus Lessons</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3411"><a href="http://coolmath.com/reference/online-math-dictionary" class="menu__link">Math Dictionary</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3401"><a href="http://coolmath.com/algebra/08-lines" class="menu__link">Lines</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3356"><a href="http://coolmath.com/prealgebra/00-factors-primes" class="menu__link">Factors and Primes</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3381"><a href="http://coolmath.com/prealgebra/02-decimals" class="menu__link">Decimals</a></li>
- <li class="menu__item is-leaf last leaf menu-mlid-5851"><a href="http://coolmath.com/prealgebra/06-properties" class="menu__link">Properties</a></li>
- </ul></li>
- <li class="menu__item is-expanded expanded menu-mlid-3326 footer-menu-column-3"><span class="menu__link nolink">QUIZLIFE</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-10080"><a href="https://www.quizlife.com/" class="menu__link">QuizLife Home</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-10004"><a href="https://www.quizlife.com/categories/places" class="menu__link">Geography Quizzes</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3466"><a href="https://www.quizlife.com/categories/history-politics" class="menu__link">History Quizzes</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3441"><a href="https://www.quizlife.com/categories/science-nature" class="menu__link">Science & Nature Quizzes</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-3421"><a href="https://www.quizlife.com/categories/sports" class="menu__link">Sports Quizzes</a></li>
- <li class="menu__item is-leaf last leaf menu-mlid-3501"><a href="https://www.quizlife.com/categories/arts-entertainment" class="menu__link">Entertainment Quizzes</a></li>
- </ul></li>
- <li class="menu__item is-expanded last expanded menu-mlid-10002 footer-menu-column-4"><span class="menu__link nolink">MORE FROM COOLMATH</span><ul class="footer-menu"><li class="menu__item is-leaf first leaf menu-mlid-3446"><a href="http://www.coolmath4kids.com/" class="menu__link">Coolmath4Kids</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-10001"><a href="https://www.coolmath4kids.com/manipulatives/ten-frames" class="menu__link">Ten Frame Manipulative</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-10012"><a href="https://www.coolmath4kids.com/manipulatives/base-ten-blocks" class="menu__link">Base Ten Blocks Manipulative</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-10079"><a href="https://www.coolmath4kids.com/manipulatives/number-line" class="menu__link">Number Line Manipulative</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-10091"><a href="https://www.coolmath4kids.com/manipulatives/pattern-blocks" class="menu__link">Pattern Blocks Manipulative</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-10003"><a href="https://www.coolmath4kids.com/quizzes" class="menu__link">Math Quizzes</a></li>
- <li class="menu__item is-leaf leaf menu-mlid-5856"><a href="http://www.coolmath4teachers.com/" class="menu__link">Coolmath4Teachers</a></li>
- <li class="menu__item is-leaf last leaf menu-mlid-5861"><a href="http://www.coolmath4parents.com/" class="menu__link">Coolmath4Parents</a></li>
- </ul></li>
- </ul></div>
- </div>
- </div>
- </li>
- <li class="last"><div class="panel-pane pane-block pane-bean-footer-copyright copyright-wrapper" >
- <div class="pane-content">
- <div class="entity entity-bean bean-content-block" about="/block/footer_copyright" typeof="">
- <div class="content">
- <div class="field-text-block">
- <p>© 2018 Coolmath.com LLC. All Rights Reserved. <a href="http://www.constructivemedia.com">Constructive Media, LLC</a></p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </li>
- </ol></div> </div>
- <!-- END OF REGULAR LAYOUT -->
- <!-- FOR /SIGNUP AND /SUBSCRIPTION FORMS -->
- <script src="//www.coolmath-games.com/sites/cmatgame/modules/custom/cmatgame_advertisement/js/ads.js?p2txx1"></script>
- <script src="//www.coolmath-games.com/sites/cmatgame/files/js/js_ZeOBt_RSBfeXXgwFqYK0Q38JRPrzKUYaLmVeUSS3YUc.js"></script>
- <script>
- var $elements_with_events = jQuery('.js-track');
- if($elements_with_events.length > 0) {
- $elements_with_events.each(function(){
- var action = typeof jQuery(this).data('action') !== 'undefined' ? jQuery(this).data('action') : 'click';
- jQuery(this).on(action, function(){
- var category, label;
- category = typeof jQuery(this).data('category') !== 'undefined' ? jQuery(this).data('category') : ( jQuery(this).text() || 'Unassigned' );
- label = typeof jQuery(this).data('label') !== 'undefined' ? jQuery(this).data('label') : ( jQuery(this).attr('class') || 'Unassigned' );
- trackEvent(category,'click',label);
- });
- });
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment