forked from thomas-maeder/popeye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
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,131073,262145,393217,524289,655361,786433,917505,1048577,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,1179649,1310721,1441793,1572865,1703937,1835009,1966081,2097153,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,2228226,2359298,2490370,2621442,2752514,2883586,3014658,3145730,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,3276802,3407874,3538946,3670018,3801090,3932162,4063234,4194306,0,0,0,0,0,0,0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