From f5fae4bbf7d84419cf4ecb38238bfb9bb2f911e5 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Sat, 10 Sep 2011 01:44:35 -0700 Subject: Tutorial started --- pages/tutorial.php | 78 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 71 insertions(+), 7 deletions(-) (limited to 'pages') diff --git a/pages/tutorial.php b/pages/tutorial.php index 1980bb5..3ce0d06 100644 --- a/pages/tutorial.php +++ b/pages/tutorial.php @@ -8,6 +8,39 @@ topbar($Links); + + + +
-

-Place blocks where it says to... +

+

+Press GO! +
 

+
Previous | Next "; +echo "Previous | Next "; -$challenge1[] = "soooraoof"; -$challenge1[] = "sooooroof"; +$challenge1[] = "sooraooof"; +$challenge1[] = "sooorooof"; $challenge1[] = "sooooooof"; $challenge1[] = "sooooooof"; $challenge1[] = "sooooooof"; -$myparams['checkpoints'] = 3; -$myparams['teleports'] = 1; +$myparams['checkpoints'] = 1; +$myparams['teleports'] = 0; $myparams['walls'] = 2; $map1 = GenerateShapedMap($challenge1, $myparams); +$challenge2[] = "soooraoof"; +$challenge2[] = "sooooroof"; +$challenge2[] = "sooooooof"; +$challenge2[] = "sooroooof"; +$challenge2[] = "soobrooof"; + +$myparams['checkpoints'] = 2; +$myparams['teleports'] = 0; +$myparams['walls'] = 4; + +$map2 = GenerateShapedMap($challenge2, $myparams); + +$challenge3[] = "soooraoof"; +$challenge3[] = "sooooroof"; +$challenge3[] = "sooooooof"; +$challenge3[] = "sooroooof"; +$challenge3[] = "soobrooof"; + +$myparams['checkpoints'] = 1; +$myparams['teleports'] = 0; +$myparams['walls'] = 4; + +$map3 = GenerateShapedMap($challenge3, $myparams); + echo DisplayMap($map1, 1); +echo "
"; +echo "
map2
"; +echo "
"; +//echo DisplayMap($map2, 2); //$mysolution = getSolution($userID, $mapID); //$solutiondiv .= "