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 "

"; } } ?>
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']; } echo "
"; echo "
"; // if ($width <= 16) { // echo '
'; // echo $topscorediv; // echo '
'; // echo '
'; // echo "Load your best solution
"; // echo DisplayMap($map, $mapID); // echo '
'; echo "
"; echo "
"; echo " Load your best solution
"; echo DisplayMap($map, $mapID); echo "
"; echo "
"; echo $topscorediv; echo '
'; echo '
'; echo '
'; $mapSolDiv = ""; echo $mapSolDiv; //Clear our floatingness echo '
'; } displayMaze(1, 'Simple'); displayMaze(2, 'Normal'); displayMaze(3, 'Complex'); displayMaze(4, 'Special'); $timerem = strtotime("tomorrow") - strtotime("now"); ?>
New maps in: 00:00:00
Copyright © 2011 pathery.com