diff options
Diffstat (limited to 'pages/gallery.php')
-rw-r--r-- | pages/gallery.php | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/pages/gallery.php b/pages/gallery.php new file mode 100644 index 0000000..68c17ae --- /dev/null +++ b/pages/gallery.php @@ -0,0 +1,113 @@ +<?PHP +htmlHeader(); +?> + +<body> +<?php +topbar($Links); + + +include('../mazetd/includes/maps.php'); +include('../mazetd/includes/mapoftheday.php'); + + +echo "<br />"; +echo "<br />"; +echo ""; + +echo rand(0,1); +echo rand(0,1); +echo rand(0,1); +echo rand(0,1); +echo rand(0,1); + +//15x9.c3.r28.w12.t2.:0s.8r.4f.0s.9r.3f.0s.12r.0f.0s.8r.0r.3f.0s.5r.5r.1f.0s.1r.11f.0s.0r.8r.1r.1f.0s.8r.4f.0s.4r.3r.4f. + +$map = GenerateMap( + 15, 9, 7 , //width, height, rocks + rand(11,13) , //Walls + weight(0,1,2,2,3,3) , //Checkpoints + rand(0,1) //Teleports + ); + + +$map = GenerateMap( + 14, 15, 50 , //width, height, rocks + weight(17,18,19,20) , //Walls + weight(1,2,2,3,3) , //Checkpoints + weight(0,0,0,1) //Teleports +); + +//Weekend Map +$map = GenerateMap( + 25, 15, 9 , //width, height, rocks + weight(20) , //Walls + weight(5) , //Checkpoints + weight(5) //Teleports +); + + +//Rocky Maze +$map = GenerateMap( + 19, 15, 5 , //width, height, rocks + weight(16,17,18) , //Walls + weight(1,2,2,2,3,3) , //Checkpoints + weight(0) //Teleports +); + + +//Tele Madness +$map = GenerateMap( + 17, 12, 10 , //width, height, rocks + weight(17,18) , //Walls + weight(1) , //Checkpoints + weight(5) //Teleports +); + +//Tall tall +$map = GenerateMap( + 6, 17, 10 , //width, height, rocks + weight(17,18,19,20) , //Walls + weight(1,2,2,2,3,3) , //Checkpoints + weight(0,0,0,1) //Teleports +); +//Side to Side +$map = GenerateMap( + 26, 6, 12 , //width, height, rocks + weight(17,18,19) , //Walls + weight(2,2,2,3,3) , //Checkpoints + weight(3,3,3,4) //Teleports +); + + + +$mapdisplay = DisplayMap($map); +$code = GenerateMapCode($map); + + +echo "<br />$mapdisplay"; +echo "<br />$code"; +print_r ($map); + +echo "<br />"; +echo "<br />"; +echo "<br />"; +echo weight(1,2,3,4,5,6); +echo "<br />"; +echo weight(1,2,3,4,5,6); +echo "<br />"; +echo weight(1,2,3,4,5,6); +echo "<br />"; +echo weight(1,2,3,4,5,6); +echo "<br />"; +echo weight(1,2,3,4,5,6); +echo "<br />"; +echo weight(1,2,3,4,5,6); + + + + + +?> +</body> +</html> |