-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevels.js
255 lines (237 loc) · 16.5 KB
/
levels.js
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
Level = function(tileset, width, height, humanSpawns, goals, minimumSaved, levelMap) {
this.tileset = tileset;
this.width = width;
this.height = height;
this.minimumSaved = minimumSaved;
this.goals = goals;
this.humanSpawns = humanSpawns;
this.levelMap = levelMap;
//Generate tiles
this.tiles = {};
for(var i = 0; i < 30; i++) { // 30 types of tiles
var sprite = new Sprite(tileset, [i%10, Math.floor(i/10)], [this.TILE_WIDTH, this.TILE_HEIGHT]);
var tile = null;
//take care of spawns and exits
if(i == 1 || i == 2) {
tile = new Tile(sprite, 1);
} else if(i == 3) {
tile = new Tile(sprite, 0, true);
}
//Take care of walls
else if(i >= 10 && i <= 24) {
tile = new Tile(sprite, 1);
} else {
tile = new Tile(sprite, 0);
}
this.tiles[i] = tile;
}
}
//contstants
Level.prototype.TILE_WIDTH = 32;
Level.prototype.TILE_HEIGHT = 32;
/** Draw function **/
Level.prototype.draw = function (dt) {
ctx.save();
//Reset tranformation matrix to identity matrix
ctx.setTransform(1, 0, 0, 1, 0, 0);
//Draw all tiles
for(var i = 0; i < this.levelMap.length; i++) {
ctx.save();
for(var j =0; j < this.levelMap[i].length; j++) {
var val = this.levelMap[i][j];
this.tiles[val].draw(dt);
//Check if this is a goal tile
// for(var k = 0; k < this.goals.length; k++) {
if( i != 0 && this.levelMap[i-1][j] == 2) {
ctx.save();
ctx.fillStyle = 'rgba(150, 150, 0, 0.3)';
ctx.strokeStyle = 'rgba(128, 128, 128, 0.2)';
ctx.beginPath();
ctx.moveTo(5, -2);
ctx.lineTo(0, this.TILE_HEIGHT- 5);
ctx.lineTo(this.TILE_WIDTH, this.TILE_HEIGHT- 5);
ctx.lineTo(this.TILE_WIDTH - 5, 0);
ctx.lineTo(0, 0);
ctx.fill();
ctx.stroke();
ctx.restore();
// ctx.fillStyle = '#0000';
// ctx.beginPath();
// ctx.arc(this.TILE_WIDTH / 2, this.TILE_HEIGHT, radius * 0.90 + rnd, 0, 2 * Math.PI);
// ctx.fill();
// ctx.beginPath();
// ctx.arc(this.TILE_WIDTH / 2, this.TILE_HEIGHT, radius * 0.4 + rnd, 0, 2 * Math.PI);
// ctx.fill();
}
// }
ctx.translate(this.TILE_WIDTH, 0);
}
ctx.restore();
ctx.translate(0, this.TILE_HEIGHT);
}
ctx.restore();
};
/** Returns a tile at pixel coordinates **/
Level.prototype.getTile = function(x, y) {
var location = this.toLevelCoords(x, y);
return this.tiles[this.levelMap[location[1]][location[0]]];
}
/** Converts level position to pixel coordinates **/
Level.prototype.toPixelCoords = function(location) {
return [((location[0] / this.width) * (this.width * this.TILE_WIDTH)) + (this.TILE_WIDTH / 2),
((location[1] / this.height) * (this.height * this.TILE_HEIGHT)) + (this.TILE_HEIGHT / 2)];
}
/** Converts x, y (pixels) coordinates to a level position (in the levelMap) **/
Level.prototype.toLevelCoords = function(x, y) {
var location = [];
location[0] = Math.floor((x / (this.width * this.TILE_WIDTH)) * this.width);
location[1] = Math.floor((y / (this.height * this.TILE_HEIGHT)) * (this.height));
return location;
}
/** Returns true when this location is a goal tile **/
Level.prototype.isGoalLocation = function(location) {
for(var i =0; i < this.goals.length; i++) {
if(this.goals[i][0] == location[0] && this.goals[i][1] == location[1]) {
return true;
}
}
return false;
}
/** Returns true when the coordinates are on a goal tile **/
Level.prototype.isGoalCoords = function (x, y ) {
return this.isGoalLocation(this.toLevelCoords(x, y));
}
/************************************************* LEVELS ********************************************/
var levels = [];
levels.push(new Level('images/tiles/tiles.png', 25, 18,
[{'amount': 5, 'location': [23,15], 'frequency': 5}], //Spawner details
[[2,15]], //Goal locations
2, // Minimum amount of humans you have to save
[ [13, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 13, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 10, 00, 00, 18, 11, 11, 11, 11, 19, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 10, 00, 00, 00, 00, 03, 03, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 10, 00, 00, 00, 00, 03, 03, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 10, 00, 00, 00, 00, 03, 03, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 10],
[21, 11, 02, 11, 11, 14, 00, 00, 13, 11, 11, 11, 11, 12, 00, 00, 15, 11, 11, 11, 11, 11, 11, 01, 20],
[10, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[15, 11, 11, 11, 11, 11, 11, 11, 22, 11, 11, 11, 11, 22, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 14]]));
levels.push(new Level('images/tiles/tiles.png', 25, 18,
[{'amount': 5, 'location': [23,15], 'frequency': 7}], //Spawner details
[[2,1]], //Goal locations
2, // Minimum amount of humans you have to save
[ [13, 11, 02, 11, 23, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12],
[10, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 16, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 03, 03, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 03, 03, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 18, 01, 20],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[15, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 14]]));
levels.push(new Level('images/tiles/tiles.png', 25, 18,
[{'amount': 4, 'location': [23,15], 'frequency': 4}, {'amount': 2, 'location': [1,15], 'frequency': 8}], //Spawner details
[[11,1],[12,1]], //Goal locations
3, // Minimum amount of humans you have to save
[ [13, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 02, 02, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[21, 01, 19, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 18, 01, 20],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[15, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 14]]));
levels.push(new Level('images/tiles/tiles.png', 25, 18,
[{'amount': 6, 'location': [23,15], 'frequency': 10}], //Spawner details
[[2,1]], //Goal locations
4, // Minimum amount of humans you have to save
[ [13, 11, 02, 23, 11, 11, 11, 11, 11, 11, 23, 11, 11, 11, 11, 23, 11, 11, 11, 11, 23, 11, 11, 11, 12],
[10, 00, 00, 10, 03, 00, 00, 00, 00, 00, 10, 03, 00, 00, 00, 16, 00, 00, 00, 00, 10, 00, 00, 00, 10],
[10, 00, 00, 10, 03, 00, 00, 00, 00, 00, 16, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 10],
[10, 00, 00, 10, 03, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 10],
[10, 00, 00, 10, 00, 00, 00, 00, 00, 00, 18, 11, 11, 11, 19, 00, 00, 00, 00, 00, 16, 00, 00, 00, 10],
[10, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 11, 11, 03, 11, 11, 11, 19, 00, 00, 00, 00, 00, 03, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 17, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 17, 00, 00, 00, 00, 00, 10, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 16, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 03, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 03, 00, 00, 00, 10],
[10, 03, 03, 03, 03, 03, 03, 03, 00, 00, 00, 00, 00, 03, 10, 00, 00, 00, 18, 11, 11, 11, 11, 01, 20],
[21, 11, 11, 11, 11, 11, 11, 11, 19, 00, 00, 00, 18, 11, 14, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[15, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 14]]));
levels.push(new Level('images/tiles/tiles.png', 25, 18,
[{'amount': 6, 'location': [23,15], 'frequency': 24}], //Spawner details
[[11,1]], //Goal locations
4, // Minimum amount of humans you have to save
[ [13, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 02, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 18, 01, 20],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10],
[15, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 14]]));
levels.push(new Level('images/tiles/tiles.png', 25, 18,
[{'amount': 6, 'location': [10,11], 'frequency': 9}, {'amount': 6, 'location': [12,11], 'frequency': 12}], //Spawner details
[[11,15]], //Goal locations
8, // Minimum amount of humans you have to save
[ [13, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 18, 01, 23, 01, 19, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 10, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 18, 11, 22, 11, 19, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 03, 03, 00, 03, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 18, 02, 19, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[10, 03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 03, 10],
[15, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 14]]));