setTimeout(\"showNotification('".$note."');\", 1000); if (getCookie('pref_mute') != 'true') { setTimeout(\"soundManager.setVolume('achieve', 40);\", 1340); setTimeout(\"soundManager.play('achieve');\", 1350); } "; } } function tutorialComplete($userID) { $sql = "SELECT * FROM `achievements` WHERE `type` = 32 AND `userID` = '$userID'"; $result = mysql_query($sql); if (mysql_num_rows($result) >= 1) return true; else return false; } //Get the current day as int. $numday = date('w'); $numday = intval($numday); switch ($numday) { case 0: $mapstyle = 'Thirty'; break; case 1: $mapstyle = 'Simple'; break; case 2: $mapstyle = "ABC's"; break; case 3: $mapstyle = 'Teleport Madness'; break; case 4: $mapstyle = 'Rocky Maze'; break; case 5: //Friday $mapstyle = 'Side to Side'; break; case 6: //Saturday $mapstyle = "Seeing Double"; break; } ?>
If you notice any issues, please press the Refresh button on your browser.

Many improvements including Achievements have been added!
Please email me or contact me if you have suggestions!

Complete the tutorial to unlock a blue wall color:"; echo "

"; } } } $motd = MapOfTheDay(1); $mapContent .= displayMaze($motd, 1); $motd = MapOfTheDay(2); $mapContent .= displayMaze($motd, 2); $motd = MapOfTheDay(3); $mapContent .= displayMaze($motd, 3); $motd = MapOfTheDay(4); $mapContent .= displayMaze($motd, 4); $special = $motd['map'][0][6]; if ($special == '') { $special = 'Special'; } ?>
Simple Normal Complex
\n$topscores\n
"; $userID = $_SESSION['userID']; if ($_SESSION['accepted'] == 1) { $sol = getSolution($userID, $mapID); $mysolution = $sol['solution']; //!! implement mymoves $mymoves = $sol['moves']; } if (isset($_SESSION[$mapID.'sol']) AND $mysolution == '') { $mysolution = $_SESSION[$mapID.'sol']; $mymoves = $_SESSION[$mapID.'moves']; } $r .= "
"; $r .= "
"; // if ($width <= 16) { // $r .= '
'; // $r .= $topscorediv; // $r .= '
'; // $r .= '
'; // $r .= "Load your best solution
"; // $r .= DisplayMap($map, $mapID); // $r .= '
'; $r .= "
"; $r .= "
"; $r .= " Load your best solution
"; $r .= DisplayMap($map, $mapID); $r .= "
"; $r .= "
"; $r .= $topscorediv; $r .= '
'; $r .= '
'; $r .= '
'; $mapSolDiv = ""; $r .= $mapSolDiv; //Clear our floatingness $r .= '
'; return $r; } $timerem = strtotime("tomorrow") - strtotime("now"); ?>
New maps in: 00:00:00
Copyright © 2011 pathery.com