The point of this game is to create the longest path between the start and the finish
Press Go!

Previous | Next "; //Prepare maps. $example1[] = "sraoorooof"; $example1[] = "sorooroorf"; $example1[] = "soorooorof"; $example1[] = "sooorrroof"; $example1[] = "soooooooof"; $myparams['teleports'] = 0; $myparams['walls'] = 0; $map1 = GenerateShapedMap($example1, $myparams); $challenge2[] = "sooraooof"; $challenge2[] = "sooorooof"; $challenge2[] = "sooooooof"; $challenge2[] = "sooooooof"; $challenge2[] = "sooooooof"; $myparams['checkpoints'] = 1; $myparams['teleports'] = 0; $myparams['walls'] = 2; $map2 = GenerateShapedMap($challenge2, $myparams); $challenge3[] = "soooraoof"; $challenge3[] = "sooooroof"; $challenge3[] = "sooooooof"; $challenge3[] = "sooroooof"; $challenge3[] = "soobrooof"; $myparams['checkpoints'] = 2; $myparams['teleports'] = 0; $myparams['walls'] = 4; $map3 = GenerateShapedMap($challenge3, $myparams); $challenge4[] = "suooooatoof"; $challenge4[] = "sooooooooof"; $challenge4[] = "sooooooooof"; $challenge4[] = "sooooooorof"; $challenge4[] = "sooooooooof"; $challenge4[] = "sooooooooof"; $myparams['checkpoints'] = 1; $myparams['teleports'] = 1; $myparams['walls'] = 4; $map4 = GenerateShapedMap($challenge4, $myparams); $challenge5[] = "soooaobtorf"; $challenge5[] = "soocrooooof"; $challenge5[] = "souooooooof"; $challenge5[] = "sooooooooof"; $challenge5[] = "sooooooooof"; $myparams['checkpoints'] = 3; $myparams['teleports'] = 1; $myparams['walls'] = 5; $map5 = GenerateShapedMap($challenge5, $myparams); //Display maps. echo "
Target: 35 moves."; echo DisplayMap($map1, 1, 'puzzle'); echo "
Target: 18 moves."; echo DisplayMap($map2, 2, 'puzzle'); echo "
Target: 64 moves."; echo DisplayMap($map3, 3, 'puzzle'); echo "
Target: 45 moves."; echo DisplayMap($map4, 4, 'puzzle'); echo "
Target: 75 moves."; echo DisplayMap($map5, 5, 'puzzle'); echo "
"; echo "
"; ?>