/
apphd.js
260 lines (233 loc) · 108 KB
/
apphd.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
256
257
258
259
260
var io = require('socket.io-client');
this.host = process.argv[2];
this.strokeActive = false;
this.LEDallblack = true;
this.activeRed = 0;
this.activeGreen = 0;
this.activeBlue = 0;
this.activeLEDSize = 0;
this.sizeZero = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeOne = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','3','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeTwo = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','3','3','1','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeThree = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','1','1','3','3','1','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeFour = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','1','1','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','0','0','1','1','2','2','1','1','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeFive = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','0','0','1','1','2','2','1','1','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeSix = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','3','1','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','0','0','1','1','2','2','2','2','1','1','0','0','0','0'],['0','0','0','0','0','0','1','1','1','1','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeSeven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','1','1','2','3','3','3','3','2','1','1','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['0','0','0','1','1','2','2','2','2','2','2','1','1','0','0','0'],['0','0','0','0','0','1','1','1','1','1','1','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeEight = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','1','2','2','3','3','3','3','3','3','2','2','1','0','0'],['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['0','0','1','1','2','2','2','3','3','2','2','2','1','1','1','0'],['0','0','0','0','1','1','1','1','1','1','1','1','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeNine = [['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','1','2','2','3','3','2','2','1','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['1','1','2','3','3','3','3','3','3','3','3','3','3','2','1','1'],['2','3','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['0','1','1','1','2','2','2','3','3','2','2','2','1','1','1','0'],['0','0','0','0','1','1','1','2','2','1','1','1','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeTen = [['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','1','2','2','3','3','3','3','3','3','3','3','2','2','1','0'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['0','1','1','2','2','2','3','3','3','3','2','2','2','1','1','0'],['0','0','0','1','1','1','2','2','2','2','1','1','1','0','0','0'],['0','0','0','0','0','0','1','1','1','1','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.sizeEleven = [['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','1','2','2','3','3','3','3','3','3','3','3','2','2','1','0'],['1','2','2','3','3','3','3','3','3','3','3','3','3','2','2','1'],['2','3','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['1','1','2','2','3','3','3','3','3','3','3','3','2','2','1','1'],['0','1','1','1','2','2','2','3','3','2','2','2','1','1','1','0'],['0','0','0','0','1','1','1','2','2','1','1','1','0','0','0','0'],['0','0','0','0','0','0','0','1','1','0','0','0','0','0','0','0']];
this.sizeTwelve = [['0','0','0','0','0','1','3','3','3','3','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['0','1','1','2','3','3','3','3','3','3','3','3','2','1','1','0'],['0','0','0','1','2','2','2','3','3','2','2','2','1','0','0','0'],['0','0','0','0','1','1','1','2','2','1','1','1','0','0','0','0']];
this.sizeThirteen = [['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['2','3','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['0','1','2','2','3','3','3','3','3','3','3','3','2','2','1','0'],['0','0','1','1','2','2','3','3','3','3','2','2','1','1','0','0'],['0','0','0','0','1','1','2','3','3','2','1','1','0','0','0','0']];
this.sizeFourteen = [['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['2','3','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['2','3','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['2','3','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['1','2','3','3','3','3','3','3','3','3','3','3','3','3','2','1'],['0','1','2','2','3','3','3','3','3','3','3','3','2','2','1','0'],['0','0','1','1','2','2','3','3','3','3','2','2','1','1','0','0']];
this.sizeFifteen = [['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3']];
this.round_sizeZero = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeOne = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeTwo = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeThree = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','2','3','2','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','0','0','0','0','0','0','0','0','0','0','0','0'],['0','2','3','2','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeFour = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','1','3','3','1','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','0','0','0','0','0','0','0','0','0','0','0'],['0','1','3','3','1','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeFive = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','1','2','3','2','1','0','0','0','0','0','0','0','0','0','0'],['0','2','3','3','3','2','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','0','0','0','0','0','0','0','0','0','0'],['0','2','3','3','3','2','0','0','0','0','0','0','0','0','0','0'],['0','1','2','3','2','1','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeSix = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','1','2','3','3','2','1','0','0','0','0','0','0','0','0','0'],['0','2','3','3','3','3','2','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','0','0','0','0','0','0','0','0','0'],['0','2','3','3','3','3','2','0','0','0','0','0','0','0','0','0'],['0','1','2','3','3','2','1','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeSeven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','1','2','3','2','1','0','0','0','0','0','0','0','0','0'],['0','1','3','3','3','3','3','1','0','0','0','0','0','0','0','0'],['0','2','3','3','3','3','3','2','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','0','0','0','0','0','0','0','0'],['0','2','3','3','3','3','3','2','0','0','0','0','0','0','0','0'],['0','1','3','3','3','3','3','1','0','0','0','0','0','0','0','0'],['0','0','1','2','3','2','1','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeEight = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','1','2','3','3','2','1','0','0','0','0','0','0','0','0'],['0','1','3','3','3','3','3','3','1','0','0','0','0','0','0','0'],['0','2','3','3','3','3','3','3','2','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','2','3','3','3','3','3','3','2','0','0','0','0','0','0','0'],['0','1','3','3','3','3','3','3','1','0','0','0','0','0','0','0'],['0','0','1','2','3','3','2','1','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeNine = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','1','2','2','3','2','2','1','0','0','0','0','0','0','0'],['0','1','3','3','3','3','3','3','3','1','0','0','0','0','0','0'],['0','2','3','3','3','3','3','3','3','2','0','0','0','0','0','0'],['0','2','3','3','3','3','3','3','3','2','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','2','3','3','3','3','3','3','3','2','0','0','0','0','0','0'],['0','2','3','3','3','3','3','3','3','2','0','0','0','0','0','0'],['0','1','3','3','3','3','3','3','3','1','0','0','0','0','0','0'],['0','0','1','2','2','3','2','2','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeTen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','1','1','1','1','0','0','0','0','0','0','0','0'],['0','0','1','1','2','3','3','2','1','1','0','0','0','0','0','0'],['0','1','2','3','3','3','3','3','3','2','1','0','0','0','0','0'],['0','1','3','3','3','3','3','3','3','3','1','0','0','0','0','0'],['1','2','3','3','3','3','3','3','3','3','2','1','0','0','0','0'],['1','3','3','3','3','3','3','3','3','3','3','1','0','0','0','0'],['1','3','3','3','3','3','3','3','3','3','3','1','0','0','0','0'],['1','2','3','3','3','3','3','3','3','3','2','1','0','0','0','0'],['0','1','3','3','3','3','3','3','3','3','1','0','0','0','0','0'],['0','1','2','3','3','3','3','3','3','2','1','0','0','0','0','0'],['0','0','1','1','2','3','3','2','1','1','0','0','0','0','0','0'],['0','0','0','0','1','1','1','1','0','0','0','0','0','0','0','0']];
this.round_sizeEleven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','1','1','0','0','0','0','0','0','0','0'],['0','0','0','1','2','3','3','3','2','1','0','0','0','0','0','0'],['0','0','1','3','3','3','3','3','3','3','1','0','0','0','0','0'],['0','1','3','3','3','3','3','3','3','3','3','1','0','0','0','0'],['0','2','3','3','3','3','3','3','3','3','3','2','0','0','0','0'],['1','3','3','3','3','3','3','3','3','3','3','3','1','0','0','0'],['1','3','3','3','3','3','3','3','3','3','3','3','1','0','0','0'],['1','3','3','3','3','3','3','3','3','3','3','3','1','0','0','0'],['0','2','3','3','3','3','3','3','3','3','3','2','0','0','0','0'],['0','1','3','3','3','3','3','3','3','3','3','1','0','0','0','0'],['0','0','1','3','3','3','3','3','3','3','1','0','0','0','0','0'],['0','0','0','1','2','3','3','3','2','1','0','0','0','0','0','0'],['0','0','0','0','0','1','1','1','0','0','0','0','0','0','0','0']];
this.round_sizeTwelve = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','1','0','0','0','0','0','0','0','0'],['0','0','0','0','1','2','3','3','2','1','0','0','0','0','0','0'],['0','0','1','3','3','3','3','3','3','3','3','1','0','0','0','0'],['0','0','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','1','3','3','3','3','3','3','3','3','3','3','1','0','0','0'],['0','2','3','3','3','3','3','3','3','3','3','3','2','0','0','0'],['1','3','3','3','3','3','3','3','3','3','3','3','3','1','0','0'],['1','3','3','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','2','3','3','3','3','3','3','3','3','3','3','2','0','0','0'],['0','1','3','3','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','0','1','3','3','3','3','3','3','3','3','1','0','0','0','0'],['0','0','0','0','1','2','3','3','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','1','0','0','0','0','0','0','0','0']];
this.round_sizeThirteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','1','1','0','0','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','2','1','0','0','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','2','1','0','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','2','0','0','0'],['0','1','3','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','2','0','0'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','1','0'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','1','0'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','1','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','1','3','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','0','1','2','3','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','0','1','1','1','0','0','0','0','0','0','0']];
this.round_sizeFourteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','1','3','3','3','3','3','3','3','3','3','3','3','3','1','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','1','3','3','3','3','3','3','3','3','3','3','3','3','1','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round_sizeFifteen = [['0','0','0','0','0','1','2','3','3','3','2','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','3','2','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','3','1','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','1','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['0','1','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['0','0','2','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','3','1','0'],['0','0','0','1','2','3','3','3','3','3','3','3','3','1','0','0'],['0','0','0','0','0','1','2','3','3','3','2','1','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeZero = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeOne = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','3','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeTwo = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','2','2','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','2','2','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeThree = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','3','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','3','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeFour = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','2','3','3','2','0','0','0','0','0','0'],['0','0','0','0','0','0','2','3','3','2','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','2','1','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeFive = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','3','3','1','0','0','0','0','0','0'],['0','0','0','0','0','0','3','3','3','3','0','0','0','0','0','0'],['0','0','0','0','0','0','3','3','3','3','0','0','0','0','0','0'],['0','0','0','0','0','0','1','3','3','1','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeSix = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','1','2','2','1','1','0','0','0','0','0'],['0','0','0','0','0','1','3','3','3','3','1','0','0','0','0','0'],['0','0','0','0','0','2','3','3','3','3','2','0','0','0','0','0'],['0','0','0','0','0','2','3','3','3','3','2','0','0','0','0','0'],['0','0','0','0','0','1','3','3','3','3','1','0','0','0','0','0'],['0','0','0','0','0','1','1','2','2','1','1','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeSeven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','2','3','3','3','3','2','0','0','0','0','0'],['0','0','0','0','0','3','3','3','3','3','3','0','0','0','0','0'],['0','0','0','0','0','3','3','3','3','3','3','0','0','0','0','0'],['0','0','0','0','0','2','3','3','3','3','2','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeEight = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','2','2','2','2','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','0','0','1','2','2','2','2','1','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeNine = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','1','3','3','3','3','3','3','1','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','3','3','3','3','3','3','3','3','0','0','0','0'],['0','0','0','0','3','3','3','3','3','3','3','3','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','1','3','3','3','3','3','3','1','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeTen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','2','2','2','2','1','0','0','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','0','0','0','1','2','2','2','2','1','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeEleven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','1','1','2','3','3','2','1','1','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','0','0','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','0','1','1','2','3','3','2','1','1','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.round2_sizeTwelve = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','2','2','2','2','1','0','0','0','0','0'],['0','0','0','1','2','2','2','3','3','2','2','2','1','0','0','0'],['0','0','0','2','2','3','3','3','3','3','3','2','2','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','2','2','3','3','3','3','3','3','3','3','2','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','2','3','3','3','3','3','3','3','3','2','2','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','0','2','2','3','3','3','3','3','3','2','2','0','0','0'],['0','0','0','1','2','2','2','3','3','2','2','2','1','0','0','0'],['0','0','0','0','0','1','2','2','2','2','1','0','0','0','0','0']];
this.round2_sizeThirteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','0','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','0','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0']];
this.round2_sizeFourteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','1','3','3','3','3','3','3','3','3','3','3','3','3','1','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','1','3','3','3','3','3','3','3','3','3','3','3','3','1','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','0','1','2','3','3','3','3','3','3','2','1','0','0','0'],['0','0','0','0','0','1','2','3','3','2','1','0','0','0','0','0']];
this.round2_sizeFifteen = [['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['2','3','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['2','3','3','3','3','3','3','3','3','3','3','3','3','3','3','2'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','1','2','3','3','3','3','3','3','3','3','3','3','2','1','0'],['0','0','1','2','3','3','3','3','3','3','3','3','2','1','0','0'],['0','0','0','0','1','2','3','3','3','3','2','1','0','0','0','0']];
this.square_sizeZero = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeOne = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeTwo = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeThree = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeFour = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeFive = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeSix = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeSeven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeEight = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeNine = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeTen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeEleven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeTwelve = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeThirteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeFourteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','3','3','3','3','3','3','3','3','3','3','3','3','3','3','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square_sizeFifteen = [['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3']];
this.square2_sizeZero = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeOne = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','3','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeTwo = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','3','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','3','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeThree = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','1','1','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','3','3','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','3','3','1','0','0','0','0','0','0'],['0','0','0','0','0','0','1','1','1','1','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeFour = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','2','2','2','2','0','0','0','0','0','0'],['0','0','0','0','0','0','2','3','3','2','0','0','0','0','0','0'],['0','0','0','0','0','0','2','3','3','2','0','0','0','0','0','0'],['0','0','0','0','0','0','2','2','2','2','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeFive = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','1','1','1','1','1','1','0','0','0','0','0'],['0','0','0','0','0','1','3','3','3','3','1','0','0','0','0','0'],['0','0','0','0','0','1','3','3','3','3','1','0','0','0','0','0'],['0','0','0','0','0','1','3','3','3','3','1','0','0','0','0','0'],['0','0','0','0','0','1','3','3','3','3','1','0','0','0','0','0'],['0','0','0','0','0','1','1','1','1','1','1','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeSix = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','2','2','2','2','2','2','0','0','0','0','0'],['0','0','0','0','0','2','3','3','3','3','2','0','0','0','0','0'],['0','0','0','0','0','2','3','3','3','3','2','0','0','0','0','0'],['0','0','0','0','0','2','3','3','3','3','2','0','0','0','0','0'],['0','0','0','0','0','2','3','3','3','3','2','0','0','0','0','0'],['0','0','0','0','0','2','2','2','2','2','2','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeSeven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','1','1','1','1','1','1','1','1','0','0','0','0'],['0','0','0','0','1','3','3','3','3','3','3','1','0','0','0','0'],['0','0','0','0','1','3','3','3','3','3','3','1','0','0','0','0'],['0','0','0','0','1','3','3','3','3','3','3','1','0','0','0','0'],['0','0','0','0','1','3','3','3','3','3','3','1','0','0','0','0'],['0','0','0','0','1','3','3','3','3','3','3','1','0','0','0','0'],['0','0','0','0','1','3','3','3','3','3','3','1','0','0','0','0'],['0','0','0','0','1','1','1','1','1','1','1','1','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeEight = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','2','2','2','2','2','2','2','2','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','2','3','3','3','3','3','3','2','0','0','0','0'],['0','0','0','0','2','2','2','2','2','2','2','2','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeNine = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','1','1','1','1','1','1','1','1','1','1','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','1','3','3','3','3','3','3','3','3','1','0','0','0'],['0','0','0','1','1','1','1','1','1','1','1','1','1','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeTen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','2','2','2','2','2','2','2','2','2','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','3','3','3','3','3','3','3','3','2','0','0','0'],['0','0','0','2','2','2','2','2','2','2','2','2','2','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeEleven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','1','1','1','1','1','1','1','1','1','1','1','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','3','3','3','3','3','3','3','3','3','3','1','0','0'],['0','0','1','1','1','1','1','1','1','1','1','1','1','1','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeTwelve = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','2','2','2','2','2','2','2','2','2','2','2','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','3','3','3','3','3','3','3','3','3','3','2','0','0'],['0','0','2','2','2','2','2','2','2','2','2','2','2','2','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeThirteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','2','2','2','2','2','2','2','2','2','2','2','2','2','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','3','3','3','3','3','3','3','3','3','3','3','3','2','0'],['0','2','2','2','2','2','2','2','2','2','2','2','2','2','2','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.square2_sizeFourteen = [['1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','3','3','3','3','3','3','3','3','3','3','3','3','3','3','1'],['1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1']];
this.square2_sizeFifteen = [['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3'],['3','3','3','3','3','3','3','3','3','3','3','3','3','3','3','3']];
this.dot_sizeZero = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeOne = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeTwo = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeThree = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','2','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeFour = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','2','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeFive = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeSix = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeSeven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeEight = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeNine = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeTen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeEleven = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeTwelve = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','3','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeThirteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','3','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','1','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeFourteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','3','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','1','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.dot_sizeFifteen = [['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','2','3','2','0','0','0','0','0','0','0'],['0','0','0','0','0','0','1','2','1','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'],['0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0']];
this.default_brushSizes = [this.sizeZero,this.sizeOne, this.sizeTwo, this.sizeThree,this.sizeFour, this.sizeFive, this.sizeSix, this.sizeSeven, this.sizeEight, this.sizeNine, this.sizeTen, this.sizeEleven, this.sizeTwelve, this.sizeThirteen, this.sizeFourteen, this.sizeFifteen];
this.round_brushSizes = [this.round_sizeZero,this.round_sizeOne, this.round_sizeTwo, this.round_sizeThree,this.round_sizeFour, this.round_sizeFive, this.round_sizeSix, this.round_sizeSeven, this.round_sizeEight, this.round_sizeNine, this.round_sizeTen, this.round_sizeEleven, this.round_sizeTwelve, this.round_sizeThirteen, this.round_sizeFourteen, this.round_sizeFifteen];
this.square_brushSizes = [this.square_sizeZero,this.square_sizeOne, this.square_sizeTwo, this.square_sizeThree,this.square_sizeFour, this.square_sizeFive, this.square_sizeSix, this.square_sizeSeven, this.square_sizeEight, this.square_sizeNine, this.square_sizeTen, this.square_sizeEleven, this.square_sizeTwelve, this.square_sizeThirteen, this.square_sizeFourteen, this.square_sizeFifteen];
this.round2_brushSizes = [this.round2_sizeZero,this.round2_sizeOne, this.round2_sizeTwo, this.round2_sizeThree,this.round2_sizeFour, this.round2_sizeFive, this.round2_sizeSix, this.round2_sizeSeven, this.round2_sizeEight, this.round2_sizeNine, this.round2_sizeTen, this.round2_sizeEleven, this.round2_sizeTwelve, this.round2_sizeThirteen, this.round2_sizeFourteen, this.round2_sizeFifteen];
this.square2_brushSizes = [this.square2_sizeZero,this.square2_sizeOne, this.square2_sizeTwo, this.square2_sizeThree,this.square2_sizeFour, this.square2_sizeFive, this.square2_sizeSix, this.square2_sizeSeven, this.square2_sizeEight, this.square2_sizeNine, this.square2_sizeTen, this.square2_sizeEleven, this.square2_sizeTwelve, this.square2_sizeThirteen, this.square2_sizeFourteen, this.square2_sizeFifteen];
this.dot_brushSizes = [this.dot_sizeZero,this.dot_sizeOne, this.dot_sizeTwo, this.dot_sizeThree,this.dot_sizeFour, this.dot_sizeFive, this.dot_sizeSix, this.dot_sizeSeven, this.dot_sizeEight, this.dot_sizeNine, this.dot_sizeTen, this.dot_sizeEleven, this.dot_sizeTwelve, this.dot_sizeThirteen, this.dot_sizeFourteen, this.dot_sizeFifteen];
this.activeBrush = this.default_brushSizes;
this.activeSize = this.activeBrush[0];
var self = this;
if(io){
if(!this.host){
this.socket = io.connect('http://192.168.0.39:3002');
} else {
this.socket = io.connect(self.host);
}
self.joinedRoom = 'theRoom';
this.socket.on('connect', function (socket) {
console.log('Connected!');
});
this.socket.on('giveOwner', owner => {
self.socket.owner = owner;
self.socket.emit('joinRoom', self.joinedRoom);
console.log('Owner: ', self.socket.owner);
console.log('Room: ', self.joinedRoom);
});
this.socket.on('joinedRoom', function (roomlog){
console.log("Joined the Room!");
});
this.socket.on('newStroke', event => {
if(event.stroke.owner === self.socket.owner) return;
//console.log("New stroke");
switch(event.stroke.brush) {
case 'unicorn':
this.activeBrush = this.default_brushSizes;
break;
case 'unicornround':
this.activeBrush = this.round_brushSizes;
break;
case 'unicornsquare':
this.activeBrush = this.square_brushSizes;
break;
case 'unicornround2':
this.activeBrush = this.round2_brushSizes;
break;
case 'unicornsquare2':
this.activeBrush = this.square2_brushSizes;
break;
case 'unicorndot':
this.activeBrush = this.dot_brushSizes;
break;
default:
this.activeBrush = this.default_brushSizes;
}
this.activeRed = Math.round(event.stroke.color[0] * 255);
this.activeGreen = Math.round(event.stroke.color[1] * 255);
this.activeBlue = Math.round(event.stroke.color[2] * 255);
self.strokeActive = true;
});
this.socket.on('endStroke', () => {
//console.log("End stroke");
self.activeSize = self.activeBrush[0];
self.strokeActive = false;
});
/*
this.socket.on('newPoints', event => {
if(!event[0] || event[0].stroke.owner === self.socket.owner) return;
//console.log("New points");
});
*/
this.socket.on('newLEDSize', event => {
//console.log("LEDSize changed: ", event.ledsize);
if (event.ledsize != self.activeLEDSize){
self.activeLEDSize = event.ledsize;
self.activeSize = self.activeBrush[event.ledsize];
}
});
}
var UnicornHatHD = require('unicornhat-hd');
var unicornHatHD = new UnicornHatHD('/dev/spidev0.0');
unicornHatHD.setBrightness(0.7); // a little dim for f22, tokkna 11mm, w/polarizing filtrr
var NUM_ROWS = 16;
var NUM_COLS = 16;
// ---- trap the SIGINT and reset before exit
process.on('SIGINT', function () {
unicornHatHD.clear();
unicornHatHD.show(false,false);
process.nextTick(function () { process.exit(0); });
});
// ---- animation-loop
setInterval(function () {
if (self.strokeActive && self.activeSize != self.activeBrush[0]){
var lowModifier = 8;
var mediumModifier = 4;
for (var x = 0; x < NUM_ROWS; x++) {
for (var y = 0; y < NUM_COLS; y++) {
switch (self.activeSize[x][y]){
case '0':
unicornHatHD.setPixel(y,x,0,0,0);
break;
case '1':
unicornHatHD.setPixel(y,x,Math.floor(self.activeRed / lowModifier), Math.floor(self.activeGreen / lowModifier), Math.floor(self.activeBlue / lowModifier));
break;
case '2':
unicornHatHD.setPixel(y,x,Math.floor(self.activeRed / mediumModifier), Math.floor(self.activeGreen / mediumModifier), Math.floor(self.activeBlue / mediumModifier));
break;
case '3':
unicornHatHD.setPixel(y,x,Math.floor(self.activeRed), Math.floor(self.activeGreen), Math.floor(self.activeBlue));
break;
default:
//console.log("No size data available");
//pixelData[i] = colorwheel((offset + i) % 256);
}
}
}
unicornHatHD.show(true,false);
if(self.LEDallblack){
self.LEDallblack = false;
}
} else {
clearLEDs();
}
}, 1000 / 30);
function clearLEDs(){
if (!self.LEDallblack){
unicornHatHD.clear();
unicornHatHD.show(false,false);
self.LEDallblack = true;
}
}