-
Notifications
You must be signed in to change notification settings - Fork 14
/
pygmarr.c
90 lines (90 loc) · 14.2 KB
/
pygmarr.c
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
/******** IMPORTANT INFORMATION ****************
This file is generated using the program ./gengmarr -- DON'T CHANGE.
./gengmarr was compiled from gengmarr.c.
***********************************************/
#include "position/position.h"
position const game_array =
{
{ /* board */
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 6,(piece_walk_type) 5,(piece_walk_type) 7,(piece_walk_type) 4,(piece_walk_type) 2,(piece_walk_type) 7,(piece_walk_type) 5,(piece_walk_type) 6,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 3,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 6,(piece_walk_type) 5,(piece_walk_type) 7,(piece_walk_type) 4,(piece_walk_type) 2,(piece_walk_type) 7,(piece_walk_type) 5,(piece_walk_type) 6,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,(piece_walk_type) 1,
(piece_walk_type) 1,(piece_walk_type) 0,(piece_walk_type) 0,(piece_walk_type) 0
},
{ /* spec */
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,524289,1048577,1572865,2097153,2621441,3145729,3670017,4194305,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,4718593,5242881,5767169,6291457,6815745,7340033,7864321,8388609,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,8912898,9437186,9961474,10485762,11010050,11534338,12058626,12582914,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,13107202,13631490,14155778,14680066,15204354,15728642,16252930,16777218,0,0,0,0,0,0,0,0,
0,0,0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