connect(DB_HOST, DB_USER, DB_PASS, DB_DATABASE)) { $sess = new Session($db); $login = new LoginSystem($db); $games = new Games($db, $mrClean, $util); $ratings = new GameRatings($db); $related = $games->getRelatedGames("Tower of Hanoi", "Board"); $playCount = $games->getPlayCount("Tower of Hanoi"); $rateInfo = $ratings->getGameRating("Tower of Hanoi"); $voted = (!empty($_COOKIE[strtolower(preg_replace("/[\W_]/", '', "Tower of Hanoi")).'freearcade'])) ? true : false; if(count($ratings->getErrors()) > 0) $message = 'ratings currently down for maintenance'; if(!empty($_COOKIE['myarcnick']) && !empty($_COOKIE['myarcid'])) { if($login->loggedIn($_COOKIE['myarcnick'])) $loggedIn = true; } } ?>
You must be logged in to add games to your MyArcade page. If you don't have one, get one!
Humm, it seems your browser is having some trouble playing this game. Trying going to our help page and see how to install the latest plug-ins and enable JavaScript. If that doesn't help maybe you need to upgrade your browser!
Instructions:
The goal is to move all the discs from the left peg to the right one. Click and drag with the mouse to move a disc. Only one disc may be moved at a time. A disc can be placed either on an empty peg or on top of a larger disc. Try to move all the discs using the smallest number of moves possible.
Select AutoSolve to watch the computer solve the puzzle. The Speed scrollbar determines how fast the computer moves.