"; echo "
"; 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 ); //ABC's $map = GenerateMap( 19, 11, 12 , //width, height, rocks weight(20,21,22,22,23) , //Walls weight(3) , //Checkpoints weight(0) //Teleports ); //Ultra Complex $map = GenerateMap( 18, 16, 12 , //width, height, rocks weight(16,17,18,18) , //Walls weight(5) , //Checkpoints weight(5) //Teleports ); //Tall tall map $map = GenerateMap( 18, 14, 20 , //width, height, rocks weight(30) , //Walls weight(1) , //Checkpoints weight(1) //Teleports ); //Thirty $map = GenerateMap( 18, 14, 20 , //width, height, rocks weight(30) , //Walls weight(1) , //Checkpoints weight(1) //Teleports ); //Simple $map = GenerateMap( 18, 9, 7 , //width, height, rocks weight(15,16,17) , //Walls weight(0) , //Checkpoints weight(0) //Teleports ); //huge $map = GenerateMap( 75, 20, 7 , //width, height, rocks weight(100) , //Walls weight(5) , //Checkpoints weight(4) //Teleports ); $a[0] = 't'; $a[1] = 't'; $a['1'] = 'hi'; echo $a[1]; $mapdisplay = DisplayMap($map); $code = GenerateMapCode($map); echo "
$mapdisplay"; echo "
$code"; print_r ($map); echo "
"; echo "
"; echo "
"; echo weight(1,2,3,4,5,6); echo "
"; echo weight(1,2,3,4,5,6); echo "
"; echo weight(1,2,3,4,5,6); echo "
"; echo weight(1,2,3,4,5,6); echo "
"; echo weight(1,2,3,4,5,6); echo "
"; echo weight(1,2,3,4,5,6); ?>