diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2011-09-09 23:44:51 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2011-09-09 23:44:51 -0700 |
commit | 33dfdb5654c3ba8fe43203e3212cefd8495cf2ea (patch) | |
tree | 51e2aa2723fad92ecbca96f28a4990793c02c852 /pages/tutorial.php | |
parent | 73ff6a197dd25315b76d9469e6783383dcc858c2 (diff) | |
download | pathery-33dfdb5654c3ba8fe43203e3212cefd8495cf2ea.tar.xz |
Files added for future use.
Diffstat (limited to 'pages/tutorial.php')
-rw-r--r-- | pages/tutorial.php | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/pages/tutorial.php b/pages/tutorial.php new file mode 100644 index 0000000..1980bb5 --- /dev/null +++ b/pages/tutorial.php @@ -0,0 +1,52 @@ +<?PHP
+htmlHeader();
+?>
+<body>
+<?php
+topbar($Links);
+?>
+
+<script type="text/javascript" src="sounds/script/soundmanager.js"></script>
+
+<?php
+include('./includes/maps.php');
+
+include('./includes/datas.php');
+
+
+?>
+<div class="col2" style="text-align: center">
+<p>
+Place blocks where it says to...
+</p>
+<br />
+<?
+echo "<a href='#'>Previous</a> | <a href='#'>Next</a> ";
+
+$challenge1[] = "soooraoof";
+$challenge1[] = "sooooroof";
+$challenge1[] = "sooooooof";
+$challenge1[] = "sooooooof";
+$challenge1[] = "sooooooof";
+
+$myparams['checkpoints'] = 3;
+$myparams['teleports'] = 1;
+$myparams['walls'] = 2;
+
+$map1 = GenerateShapedMap($challenge1, $myparams);
+
+echo DisplayMap($map1, 1);
+
+//$mysolution = getSolution($userID, $mapID);
+//$solutiondiv .= "<div id='mapsol' style='visibility:hidden;display:none'>";
+//$solutiondiv .= "<div id='mapsol'>";
+//$solutiondiv .= $mapID.":".$mysolution;
+//$solutiondiv .= '</div>';
+
+//echo $solutiondiv;
+?>
+</div>
+<script type="text/javascript">soundManagerInit();</script>
+
+</body>
+</html>
|