1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
<?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
);
//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 "<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>
|