Project

General

Profile

« Previous | Next » 

Revision 6cf89a3e

Added by Leszek Koltunski over 2 years ago

Introduce pseudorandom balancing into scrambling in case of the two Dinos (from now on, the more times a particular (ax,layer) combination has been chosen already in the scrambling sequence, the less likely it is to be chosen next).
Fix Dino6 - isSolved(). Sadly, it cannot be the geeneric function - it needs to be another special case.

View differences:

src/main/java/org/distorted/objects/TwistyBandagedEvil.java
21 21

  
22 22
import android.content.res.Resources;
23 23

  
24
import org.distorted.helpers.ScrambleStateGraph;
24
import org.distorted.helpers.ScrambleState;
25 25
import org.distorted.library.main.DistortedEffects;
26 26
import org.distorted.library.main.DistortedTexture;
27 27
import org.distorted.library.mesh.MeshSquare;
......
59 59
    {
60 60
    super(size, quat, texture, mesh, effects, moves, ObjectList.BAN4, res, scrWidth);
61 61

  
62
    mStates = new ScrambleStateGraph[]
62
    mStates = new ScrambleState[]
63 63
     {
64
     new ScrambleStateGraph( new int[][] {{2, 1,  1,2,-1,  2}         , {2, 2,142,2,-1, 28}         , {0, 1,114}          }),   //0
65
     new ScrambleStateGraph( new int[][] {{2, 2,  2}                  , {2,-1,143}                  , {}                  }),
66
     new ScrambleStateGraph( new int[][] {{2, 2,  1}                  , {}                          , {0, 1,  3,0, 2, 47} }),
67
     new ScrambleStateGraph( new int[][] {{2, 1,  4}                  , {2, 1,132,2,-1,131}         , {0, 1, 47,0,-1,  2} }),
68
     new ScrambleStateGraph( new int[][] {{2,-1,  3}                  , {2, 1,  5,2,-1,  6}         , {}                  }),
69
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2,  6,2,-1,  4}         , {0, 1, 51}          }),
70
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,  4,2, 2,  5}         , {2, 2,  7,2,-1, 80} }),
71
     new ScrambleStateGraph( new int[][] {{2, 2,  8}                  , {}                          , {2, 1, 80,2, 2,  6} }),
72
     new ScrambleStateGraph( new int[][] {{2, 2,  7}                  , {}                          , {0,-1,  9}          }),
73
     new ScrambleStateGraph( new int[][] {{2, 1, 10,2, 2, 11,2,-1, 12}, {}                          , {0, 1,  8}          }),
74
     new ScrambleStateGraph( new int[][] {{2, 1, 11,2, 2, 12,2,-1,  9}, {}                          , {0,-1,118}          }),   //10
75
     new ScrambleStateGraph( new int[][] {{2, 1, 12,2, 2,  9,2,-1, 10}, {}                          , {2, 1, 77}          }),
76
     new ScrambleStateGraph( new int[][] {{2, 1,  9,2, 2, 10,2,-1, 11}, {}                          , {2, 1, 13,2, 2,143} }),
77
     new ScrambleStateGraph( new int[][] {{2, 1, 14,2, 2, 15,2,-1, 16}, {2, 1, 57,2,-1, 58}         , {2, 1,143,2,-1, 12} }),
78
     new ScrambleStateGraph( new int[][] {{2, 1, 15,2, 2, 16,2,-1, 13}, {}                          , {2, 1, 41}          }),
79
     new ScrambleStateGraph( new int[][] {{2, 1, 16,2, 2, 13,2,-1, 14}, {}                          , {0, 1, 82}          }),
80
     new ScrambleStateGraph( new int[][] {{2, 1, 13,2, 2, 14,2,-1, 15}, {2, 1, 17,2,-1, 18}         , {0, 1,111,0,-1,115} }),
81
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2, 18,2,-1, 16}         , {0,-1,139}          }),
82
     new ScrambleStateGraph( new int[][] {{2, 1, 19,2,-1, 20}         , {2, 1, 16,2, 2, 17}         , {2, 1,142}          }),
83
     new ScrambleStateGraph( new int[][] {{2, 2, 20,2,-1, 18}         , {}                          , {2, 1, 39,2, 2,140} }),
84
     new ScrambleStateGraph( new int[][] {{2, 1, 18,2, 2, 19}         , {2, 1, 21}                  , {}                  }),   //20
85
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1, 20}                  , {0,-1, 22}          }),
86
     new ScrambleStateGraph( new int[][] {{2, 2, 23,2,-1, 24}         , {}                          , {0, 1, 21}          }),
87
     new ScrambleStateGraph( new int[][] {{2, 1, 24,2, 2, 22}         , {}                          , {2, 1, 92}          }),
88
     new ScrambleStateGraph( new int[][] {{2, 1, 22,2,-1, 23}         , {}                          , {0, 1, 25}          }),
89
     new ScrambleStateGraph( new int[][] {{2, 1, 26,2, 2, 27}         , {}                          , {0,-1, 24}          }),
90
     new ScrambleStateGraph( new int[][] {{2, 1, 27,2,-1, 25}         , {2, 1, 74}                  , {}                  }),
91
     new ScrambleStateGraph( new int[][] {{2, 2, 25,2,-1, 26}         , {}                          , {2, 1, 28,2, 2,124} }),
92
     new ScrambleStateGraph( new int[][] {{2, 1, 29,2, 2, 30,2,-1, 31}, {2,-1,142}                  , {2, 1,124,2,-1, 27} }),
93
     new ScrambleStateGraph( new int[][] {{2, 1, 30,2, 2, 31,2,-1, 28}, {}                          , {2, 1,141}          }),
94
     new ScrambleStateGraph( new int[][] {{2, 1, 31,2, 2, 28,2,-1, 29}, {}                          , {0, 1,130}          }),   //30
95
     new ScrambleStateGraph( new int[][] {{2, 1, 28,2, 2, 29,2,-1, 30}, {2, 1, 32,2,-1, 33}         , {0, 1, 89,0,-1, 90} }),
96
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2, 33,2,-1, 31}         , {0,-1,137}          }),
97
     new ScrambleStateGraph( new int[][] {{2, 1, 34}                  , {2, 1, 31,2, 2, 32}         , {}                  }),
98
     new ScrambleStateGraph( new int[][] {{2,-1, 33}                  , {}                          , {2, 1, 35}          }),
99
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1, 36}                  , {2,-1, 34}          }),
100
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 35}                  , {2,-1, 37}          }),
101
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 38,2, 2, 93}         , {2, 1, 36}          }),
102
     new ScrambleStateGraph( new int[][] {{2, 1, 39}                  , {2, 1, 93,2,-1, 37}         , {}                  }),
103
     new ScrambleStateGraph( new int[][] {{2,-1, 38}                  , {2, 1, 40,2,-1, 64}         , {2, 1,140,2,-1, 19} }),
104
     new ScrambleStateGraph( new int[][] {{2, 1, 41,2,-1, 42}         , {2, 2, 64,2,-1, 39}         , {}                  }),   //40
105
     new ScrambleStateGraph( new int[][] {{2, 2, 42,2,-1, 40}         , {}                          , {2,-1, 14}          }),
106
     new ScrambleStateGraph( new int[][] {{2, 1, 40,2, 2, 41}         , {}                          , {0, 1, 43,0, 2,128} }),
107
     new ScrambleStateGraph( new int[][] {{2, 1, 44,2,-1, 45}         , {2, 1,114,2, 2,113,2,-1, 86}, {0, 1,128,0,-1, 42} }),
108
     new ScrambleStateGraph( new int[][] {{2, 2, 45,2,-1, 43}         , {2, 1, 48,2,-1,108}         , {2,-1, 81}          }),
109
     new ScrambleStateGraph( new int[][] {{2, 1, 43,2, 2, 44}         , {}                          , {0, 1, 46}          }),
110
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 47}                  , {0,-1, 45}          }),
111
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1, 46}                  , {0, 2,  2,0,-1,  3} }),
112
     new ScrambleStateGraph( new int[][] {{2,-1, 49}                  , {2, 2,108,2,-1, 44}         , {}                  }),
113
     new ScrambleStateGraph( new int[][] {{2, 1, 48}                  , {}                          , {0, 1, 50}          }),
114
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 51,2, 2, 52}         , {0,-1, 49}          }),   //50
115
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 52,2,-1, 50}         , {0,-1,  5}          }),
116
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2, 50,2,-1, 51}         , {2,-1, 53}          }),
117
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 54,2, 2, 55}         , {2, 1, 52}          }),
118
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 55,2,-1, 53}         , {0,-1,104}          }),
119
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2, 53,2,-1, 54}         , {0, 2, 56,0,-1, 65} }),
120
     new ScrambleStateGraph( new int[][] {{2, 1, 57}                  , {}                          , {0, 1, 65,0, 2, 55} }),
121
     new ScrambleStateGraph( new int[][] {{2,-1, 56}                  , {2, 2, 58,2,-1, 13}         , {}                  }),
122
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 13,2, 2, 57}         , {2,-1, 59}          }),
123
     new ScrambleStateGraph( new int[][] {{2, 1, 60}                  , {}                          , {2, 1, 58}          }),
124
     new ScrambleStateGraph( new int[][] {{2,-1, 59}                  , {}                          , {2, 1, 61}          }),   //60
125
     new ScrambleStateGraph( new int[][] {{2,-1, 62}                  , {}                          , {2,-1, 60}          }),
126
     new ScrambleStateGraph( new int[][] {{2, 1, 61}                  , {2,-1, 63}                  , {}                  }),
127
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 62}                  , {2, 1, 64}          }),
128
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 39,2, 2, 40}         , {2,-1, 63}          }),
129
     new ScrambleStateGraph( new int[][] {{2, 1, 66,2,-1, 67}         , {2, 1, 78,2, 2, 79,2,-1, 80}, {0, 1, 55,0,-1, 56} }),
130
     new ScrambleStateGraph( new int[][] {{2, 2, 67,2,-1, 65}         , {2,-1,107}                  , {}                  }),
131
     new ScrambleStateGraph( new int[][] {{2, 1, 65,2, 2, 66}         , {}                          , {0, 1, 68}          }),
132
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 69}                  , {0,-1, 67}          }),
133
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1, 68}                  , {0,-1, 70}          }),
134
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1, 71}                  , {0, 1, 69}          }),   //70
135
     new ScrambleStateGraph( new int[][] {{2,-1, 72}                  , {2, 1, 70}                  , {}                  }),
136
     new ScrambleStateGraph( new int[][] {{2, 1, 71}                  , {}                          , {0,-1, 73}          }),
137
     new ScrambleStateGraph( new int[][] {{2, 1, 74,2, 2, 75}         , {}                          , {0, 1, 72}          }),
138
     new ScrambleStateGraph( new int[][] {{2, 1, 75,2,-1, 73}         , {2,-1, 26}                  , {0, 1, 83,0,-1,138} }),
139
     new ScrambleStateGraph( new int[][] {{2, 2, 73,2,-1, 74}         , {2, 1, 76,2,-1, 77}         , {}                  }),
140
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2, 77,2,-1, 75}         , {0, 1, 78}          }),
141
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 75,2, 2, 76}         , {2,-1, 11}          }),
142
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 79,2, 2, 80,2,-1, 65}, {0,-1, 76}          }),
143
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 80,2, 2, 65,2,-1, 78}, {2,-1,110}          }),
144
     new ScrambleStateGraph( new int[][] {{2, 1, 81,2,-1, 82}         , {2, 1, 65,2, 2, 78,2,-1, 79}, {2, 1,  6,2,-1,  7} }),   //80
145
     new ScrambleStateGraph( new int[][] {{2, 2, 82,2,-1, 80}         , {}                          , {2, 1, 44}          }),
146
     new ScrambleStateGraph( new int[][] {{2, 1, 80,2, 2, 81}         , {2, 1, 83,2,-1, 84}         , {0,-1, 15}          }),
147
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2, 84,2,-1, 82}         , {0, 2,138,0,-1, 74} }),
148
     new ScrambleStateGraph( new int[][] {{2, 1, 85}                  , {2, 1, 82,2, 2, 83}         , {}                  }),
149
     new ScrambleStateGraph( new int[][] {{2,-1, 84}                  , {}                          , {2, 1, 86,2, 2,119} }),
150
     new ScrambleStateGraph( new int[][] {{2, 1, 87,2,-1, 88}         , {2, 1, 43,2, 2,114,2,-1,113}, {2, 1,119,2,-1, 85} }),
151
     new ScrambleStateGraph( new int[][] {{2, 2, 88,2,-1, 86}         , {}                          , {2, 1, 94}          }),
152
     new ScrambleStateGraph( new int[][] {{2, 1, 86,2, 2, 87}         , {2, 1, 89}                  , {}                  }),
153
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1, 88}                  , {0, 2, 90,0,-1, 31} }),
154
     new ScrambleStateGraph( new int[][] {{2, 1, 91,2, 2, 92}         , {}                          , {0, 1, 31,0, 2, 89} }),   //90
155
     new ScrambleStateGraph( new int[][] {{2, 1, 92,2,-1, 90}         , {}                          , {0, 1, 93}          }),
156
     new ScrambleStateGraph( new int[][] {{2, 2, 90,2,-1, 91}         , {}                          , {2,-1, 23}          }),
157
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2, 37,2,-1, 38}         , {0,-1, 91}          }),
158
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1, 95}                  , {2,-1, 87}          }),
159
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 94}                  , {2,-1, 96}          }),
160
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 97}                  , {2, 1, 95}          }),
161
     new ScrambleStateGraph( new int[][] {{2, 1, 98}                  , {2,-1, 96}                  , {}                  }),
162
     new ScrambleStateGraph( new int[][] {{2,-1, 97}                  , {}                          , {2,-1, 99}          }),
163
     new ScrambleStateGraph( new int[][] {{2, 2,100,2,-1,101}         , {}                          , {2, 1, 98}          }),
164
     new ScrambleStateGraph( new int[][] {{2, 1,101,2, 2, 99}         , {2, 1,111,2,-1,112}         , {}                  }),   //100
165
     new ScrambleStateGraph( new int[][] {{2, 1, 99,2,-1,100}         , {2, 1,102}                  , {2, 1,108,2,-1,109} }),
166
     new ScrambleStateGraph( new int[][] {{2, 1,103,2,-1,104}         , {2,-1,101}                  , {}                  }),
167
     new ScrambleStateGraph( new int[][] {{2, 2,104,2,-1,102}         , {}                          , {2,-1,105}          }),
168
     new ScrambleStateGraph( new int[][] {{2, 1,102,2, 2,103}         , {}                          , {0, 1, 54}          }),
169
     new ScrambleStateGraph( new int[][] {{2,-1,106}                  , {}                          , {2, 1,103}          }),
170
     new ScrambleStateGraph( new int[][] {{2, 1,105}                  , {}                          , {2, 1,107}          }),
171
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 66}                  , {2,-1,106}          }),
172
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 44,2, 2, 48}         , {2, 2,109,2,-1,101} }),
173
     new ScrambleStateGraph( new int[][] {{2,-1,110}                  , {}                          , {2, 1,101,2, 2,108} }),
174
     new ScrambleStateGraph( new int[][] {{2, 1,109}                  , {}                          , {2, 1, 79}          }),   //110
175
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2,112,2,-1,100}         , {0, 2,115,0,-1, 16} }),
176
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,100,2, 2,111}         , {2, 1,113}          }),
177
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 86,2, 2, 43,2,-1,114}, {2,-1,112}          }),
178
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,113,2, 2, 86,2,-1, 43}, {0,-1,  0}          }),
179
     new ScrambleStateGraph( new int[][] {{2, 2,116}                  , {}                          , {0, 1, 16,0, 2,111} }),
180
     new ScrambleStateGraph( new int[][] {{2, 2,115}                  , {}                          , {2,-1,117}          }),
181
     new ScrambleStateGraph( new int[][] {{2, 1,118}                  , {}                          , {2, 1,116}          }),
182
     new ScrambleStateGraph( new int[][] {{2,-1,117}                  , {}                          , {0, 1, 10}          }),
183
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,120,2, 2,121,2,-1,122}, {2, 2, 85,2,-1, 86} }),
184
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,121,2, 2,122,2,-1,119}, {2,-1,129}          }),   //120
185
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,122,2, 2,119,2,-1,120}, {0, 1,125}          }),
186
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,119,2, 2,120,2,-1,121}, {0,-1,123}          }),
187
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2,124}                  , {0, 1,122}          }),
188
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2,123}                  , {2, 2, 27,2,-1, 28} }),
189
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,126}                  , {0,-1,121}          }),
190
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1,125}                  , {2,-1,127}          }),
191
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2,128}                  , {2, 1,126}          }),
192
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2,127}                  , {0, 2, 42,0,-1, 43} }),
193
     new ScrambleStateGraph( new int[][] {{2, 2,130,2,-1,131}         , {}                          , {2, 1,120}          }),
194
     new ScrambleStateGraph( new int[][] {{2, 1,131,2, 2,129}         , {}                          , {0,-1, 30}          }),   //130
195
     new ScrambleStateGraph( new int[][] {{2, 1,129,2,-1,130}         , {2, 1,  3,2, 2,132}         , {}                  }),
196
     new ScrambleStateGraph( new int[][] {{}                          , {2, 2,131,2,-1,  3}         , {0,-1,133}          }),
197
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1,134}                  , {0, 1,132}          }),
198
     new ScrambleStateGraph( new int[][] {{2,-1,135}                  , {2, 1,133}                  , {}                  }),
199
     new ScrambleStateGraph( new int[][] {{2, 1,134}                  , {}                          , {0,-1,136}          }),
200
     new ScrambleStateGraph( new int[][] {{2, 1,137}                  , {}                          , {0, 1,135}          }),
201
     new ScrambleStateGraph( new int[][] {{2,-1,136}                  , {}                          , {0, 1, 32}          }),
202
     new ScrambleStateGraph( new int[][] {{2, 1,139}                  , {}                          , {0, 1, 74,0, 2, 83} }),
203
     new ScrambleStateGraph( new int[][] {{2,-1,138}                  , {}                          , {0, 1, 17}          }),
204
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,141}                  , {2, 2, 19,2,-1, 39} }),   //140
205
     new ScrambleStateGraph( new int[][] {{}                          , {2,-1,140}                  , {2,-1, 29}          }),
206
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1, 28}                  , {2,-1, 18}          }),
207
     new ScrambleStateGraph( new int[][] {{}                          , {2, 1,  1}                  , {2, 2, 12,2,-1, 13} })
64
     new ScrambleState( new int[][] {{2, 1,  1,2,-1,  2}         , {2, 2,142,2,-1, 28}         , {0, 1,114}          }),   //0
65
     new ScrambleState( new int[][] {{2, 2,  2}                  , {2,-1,143}                  , {}                  }),
66
     new ScrambleState( new int[][] {{2, 2,  1}                  , {}                          , {0, 1,  3,0, 2, 47} }),
67
     new ScrambleState( new int[][] {{2, 1,  4}                  , {2, 1,132,2,-1,131}         , {0, 1, 47,0,-1,  2} }),
68
     new ScrambleState( new int[][] {{2,-1,  3}                  , {2, 1,  5,2,-1,  6}         , {}                  }),
69
     new ScrambleState( new int[][] {{}                          , {2, 2,  6,2,-1,  4}         , {0, 1, 51}          }),
70
     new ScrambleState( new int[][] {{}                          , {2, 1,  4,2, 2,  5}         , {2, 2,  7,2,-1, 80} }),
71
     new ScrambleState( new int[][] {{2, 2,  8}                  , {}                          , {2, 1, 80,2, 2,  6} }),
72
     new ScrambleState( new int[][] {{2, 2,  7}                  , {}                          , {0,-1,  9}          }),
73
     new ScrambleState( new int[][] {{2, 1, 10,2, 2, 11,2,-1, 12}, {}                          , {0, 1,  8}          }),
74
     new ScrambleState( new int[][] {{2, 1, 11,2, 2, 12,2,-1,  9}, {}                          , {0,-1,118}          }),   //10
75
     new ScrambleState( new int[][] {{2, 1, 12,2, 2,  9,2,-1, 10}, {}                          , {2, 1, 77}          }),
76
     new ScrambleState( new int[][] {{2, 1,  9,2, 2, 10,2,-1, 11}, {}                          , {2, 1, 13,2, 2,143} }),
77
     new ScrambleState( new int[][] {{2, 1, 14,2, 2, 15,2,-1, 16}, {2, 1, 57,2,-1, 58}         , {2, 1,143,2,-1, 12} }),
78
     new ScrambleState( new int[][] {{2, 1, 15,2, 2, 16,2,-1, 13}, {}                          , {2, 1, 41}          }),
79
     new ScrambleState( new int[][] {{2, 1, 16,2, 2, 13,2,-1, 14}, {}                          , {0, 1, 82}          }),
80
     new ScrambleState( new int[][] {{2, 1, 13,2, 2, 14,2,-1, 15}, {2, 1, 17,2,-1, 18}         , {0, 1,111,0,-1,115} }),
81
     new ScrambleState( new int[][] {{}                          , {2, 2, 18,2,-1, 16}         , {0,-1,139}          }),
82
     new ScrambleState( new int[][] {{2, 1, 19,2,-1, 20}         , {2, 1, 16,2, 2, 17}         , {2, 1,142}          }),
83
     new ScrambleState( new int[][] {{2, 2, 20,2,-1, 18}         , {}                          , {2, 1, 39,2, 2,140} }),
84
     new ScrambleState( new int[][] {{2, 1, 18,2, 2, 19}         , {2, 1, 21}                  , {}                  }),   //20
85
     new ScrambleState( new int[][] {{}                          , {2,-1, 20}                  , {0,-1, 22}          }),
86
     new ScrambleState( new int[][] {{2, 2, 23,2,-1, 24}         , {}                          , {0, 1, 21}          }),
87
     new ScrambleState( new int[][] {{2, 1, 24,2, 2, 22}         , {}                          , {2, 1, 92}          }),
88
     new ScrambleState( new int[][] {{2, 1, 22,2,-1, 23}         , {}                          , {0, 1, 25}          }),
89
     new ScrambleState( new int[][] {{2, 1, 26,2, 2, 27}         , {}                          , {0,-1, 24}          }),
90
     new ScrambleState( new int[][] {{2, 1, 27,2,-1, 25}         , {2, 1, 74}                  , {}                  }),
91
     new ScrambleState( new int[][] {{2, 2, 25,2,-1, 26}         , {}                          , {2, 1, 28,2, 2,124} }),
92
     new ScrambleState( new int[][] {{2, 1, 29,2, 2, 30,2,-1, 31}, {2,-1,142}                  , {2, 1,124,2,-1, 27} }),
93
     new ScrambleState( new int[][] {{2, 1, 30,2, 2, 31,2,-1, 28}, {}                          , {2, 1,141}          }),
94
     new ScrambleState( new int[][] {{2, 1, 31,2, 2, 28,2,-1, 29}, {}                          , {0, 1,130}          }),   //30
95
     new ScrambleState( new int[][] {{2, 1, 28,2, 2, 29,2,-1, 30}, {2, 1, 32,2,-1, 33}         , {0, 1, 89,0,-1, 90} }),
96
     new ScrambleState( new int[][] {{}                          , {2, 2, 33,2,-1, 31}         , {0,-1,137}          }),
97
     new ScrambleState( new int[][] {{2, 1, 34}                  , {2, 1, 31,2, 2, 32}         , {}                  }),
98
     new ScrambleState( new int[][] {{2,-1, 33}                  , {}                          , {2, 1, 35}          }),
99
     new ScrambleState( new int[][] {{}                          , {2,-1, 36}                  , {2,-1, 34}          }),
100
     new ScrambleState( new int[][] {{}                          , {2, 1, 35}                  , {2,-1, 37}          }),
101
     new ScrambleState( new int[][] {{}                          , {2, 1, 38,2, 2, 93}         , {2, 1, 36}          }),
102
     new ScrambleState( new int[][] {{2, 1, 39}                  , {2, 1, 93,2,-1, 37}         , {}                  }),
103
     new ScrambleState( new int[][] {{2,-1, 38}                  , {2, 1, 40,2,-1, 64}         , {2, 1,140,2,-1, 19} }),
104
     new ScrambleState( new int[][] {{2, 1, 41,2,-1, 42}         , {2, 2, 64,2,-1, 39}         , {}                  }),   //40
105
     new ScrambleState( new int[][] {{2, 2, 42,2,-1, 40}         , {}                          , {2,-1, 14}          }),
106
     new ScrambleState( new int[][] {{2, 1, 40,2, 2, 41}         , {}                          , {0, 1, 43,0, 2,128} }),
107
     new ScrambleState( new int[][] {{2, 1, 44,2,-1, 45}         , {2, 1,114,2, 2,113,2,-1, 86}, {0, 1,128,0,-1, 42} }),
108
     new ScrambleState( new int[][] {{2, 2, 45,2,-1, 43}         , {2, 1, 48,2,-1,108}         , {2,-1, 81}          }),
109
     new ScrambleState( new int[][] {{2, 1, 43,2, 2, 44}         , {}                          , {0, 1, 46}          }),
110
     new ScrambleState( new int[][] {{}                          , {2, 1, 47}                  , {0,-1, 45}          }),
111
     new ScrambleState( new int[][] {{}                          , {2,-1, 46}                  , {0, 2,  2,0,-1,  3} }),
112
     new ScrambleState( new int[][] {{2,-1, 49}                  , {2, 2,108,2,-1, 44}         , {}                  }),
113
     new ScrambleState( new int[][] {{2, 1, 48}                  , {}                          , {0, 1, 50}          }),
114
     new ScrambleState( new int[][] {{}                          , {2, 1, 51,2, 2, 52}         , {0,-1, 49}          }),   //50
115
     new ScrambleState( new int[][] {{}                          , {2, 1, 52,2,-1, 50}         , {0,-1,  5}          }),
116
     new ScrambleState( new int[][] {{}                          , {2, 2, 50,2,-1, 51}         , {2,-1, 53}          }),
117
     new ScrambleState( new int[][] {{}                          , {2, 1, 54,2, 2, 55}         , {2, 1, 52}          }),
118
     new ScrambleState( new int[][] {{}                          , {2, 1, 55,2,-1, 53}         , {0,-1,104}          }),
119
     new ScrambleState( new int[][] {{}                          , {2, 2, 53,2,-1, 54}         , {0, 2, 56,0,-1, 65} }),
120
     new ScrambleState( new int[][] {{2, 1, 57}                  , {}                          , {0, 1, 65,0, 2, 55} }),
121
     new ScrambleState( new int[][] {{2,-1, 56}                  , {2, 2, 58,2,-1, 13}         , {}                  }),
122
     new ScrambleState( new int[][] {{}                          , {2, 1, 13,2, 2, 57}         , {2,-1, 59}          }),
123
     new ScrambleState( new int[][] {{2, 1, 60}                  , {}                          , {2, 1, 58}          }),
124
     new ScrambleState( new int[][] {{2,-1, 59}                  , {}                          , {2, 1, 61}          }),   //60
125
     new ScrambleState( new int[][] {{2,-1, 62}                  , {}                          , {2,-1, 60}          }),
126
     new ScrambleState( new int[][] {{2, 1, 61}                  , {2,-1, 63}                  , {}                  }),
127
     new ScrambleState( new int[][] {{}                          , {2, 1, 62}                  , {2, 1, 64}          }),
128
     new ScrambleState( new int[][] {{}                          , {2, 1, 39,2, 2, 40}         , {2,-1, 63}          }),
129
     new ScrambleState( new int[][] {{2, 1, 66,2,-1, 67}         , {2, 1, 78,2, 2, 79,2,-1, 80}, {0, 1, 55,0,-1, 56} }),
130
     new ScrambleState( new int[][] {{2, 2, 67,2,-1, 65}         , {2,-1,107}                  , {}                  }),
131
     new ScrambleState( new int[][] {{2, 1, 65,2, 2, 66}         , {}                          , {0, 1, 68}          }),
132
     new ScrambleState( new int[][] {{}                          , {2, 1, 69}                  , {0,-1, 67}          }),
133
     new ScrambleState( new int[][] {{}                          , {2,-1, 68}                  , {0,-1, 70}          }),
134
     new ScrambleState( new int[][] {{}                          , {2,-1, 71}                  , {0, 1, 69}          }),   //70
135
     new ScrambleState( new int[][] {{2,-1, 72}                  , {2, 1, 70}                  , {}                  }),
136
     new ScrambleState( new int[][] {{2, 1, 71}                  , {}                          , {0,-1, 73}          }),
137
     new ScrambleState( new int[][] {{2, 1, 74,2, 2, 75}         , {}                          , {0, 1, 72}          }),
138
     new ScrambleState( new int[][] {{2, 1, 75,2,-1, 73}         , {2,-1, 26}                  , {0, 1, 83,0,-1,138} }),
139
     new ScrambleState( new int[][] {{2, 2, 73,2,-1, 74}         , {2, 1, 76,2,-1, 77}         , {}                  }),
140
     new ScrambleState( new int[][] {{}                          , {2, 2, 77,2,-1, 75}         , {0, 1, 78}          }),
141
     new ScrambleState( new int[][] {{}                          , {2, 1, 75,2, 2, 76}         , {2,-1, 11}          }),
142
     new ScrambleState( new int[][] {{}                          , {2, 1, 79,2, 2, 80,2,-1, 65}, {0,-1, 76}          }),
143
     new ScrambleState( new int[][] {{}                          , {2, 1, 80,2, 2, 65,2,-1, 78}, {2,-1,110}          }),
144
     new ScrambleState( new int[][] {{2, 1, 81,2,-1, 82}         , {2, 1, 65,2, 2, 78,2,-1, 79}, {2, 1,  6,2,-1,  7} }),   //80
145
     new ScrambleState( new int[][] {{2, 2, 82,2,-1, 80}         , {}                          , {2, 1, 44}          }),
146
     new ScrambleState( new int[][] {{2, 1, 80,2, 2, 81}         , {2, 1, 83,2,-1, 84}         , {0,-1, 15}          }),
147
     new ScrambleState( new int[][] {{}                          , {2, 2, 84,2,-1, 82}         , {0, 2,138,0,-1, 74} }),
148
     new ScrambleState( new int[][] {{2, 1, 85}                  , {2, 1, 82,2, 2, 83}         , {}                  }),
149
     new ScrambleState( new int[][] {{2,-1, 84}                  , {}                          , {2, 1, 86,2, 2,119} }),
150
     new ScrambleState( new int[][] {{2, 1, 87,2,-1, 88}         , {2, 1, 43,2, 2,114,2,-1,113}, {2, 1,119,2,-1, 85} }),
151
     new ScrambleState( new int[][] {{2, 2, 88,2,-1, 86}         , {}                          , {2, 1, 94}          }),
152
     new ScrambleState( new int[][] {{2, 1, 86,2, 2, 87}         , {2, 1, 89}                  , {}                  }),
153
     new ScrambleState( new int[][] {{}                          , {2,-1, 88}                  , {0, 2, 90,0,-1, 31} }),
154
     new ScrambleState( new int[][] {{2, 1, 91,2, 2, 92}         , {}                          , {0, 1, 31,0, 2, 89} }),   //90
155
     new ScrambleState( new int[][] {{2, 1, 92,2,-1, 90}         , {}                          , {0, 1, 93}          }),
156
     new ScrambleState( new int[][] {{2, 2, 90,2,-1, 91}         , {}                          , {2,-1, 23}          }),
157
     new ScrambleState( new int[][] {{}                          , {2, 2, 37,2,-1, 38}         , {0,-1, 91}          }),
158
     new ScrambleState( new int[][] {{}                          , {2,-1, 95}                  , {2,-1, 87}          }),
159
     new ScrambleState( new int[][] {{}                          , {2, 1, 94}                  , {2,-1, 96}          }),
160
     new ScrambleState( new int[][] {{}                          , {2, 1, 97}                  , {2, 1, 95}          }),
161
     new ScrambleState( new int[][] {{2, 1, 98}                  , {2,-1, 96}                  , {}                  }),
162
     new ScrambleState( new int[][] {{2,-1, 97}                  , {}                          , {2,-1, 99}          }),
163
     new ScrambleState( new int[][] {{2, 2,100,2,-1,101}         , {}                          , {2, 1, 98}          }),
164
     new ScrambleState( new int[][] {{2, 1,101,2, 2, 99}         , {2, 1,111,2,-1,112}         , {}                  }),   //100
165
     new ScrambleState( new int[][] {{2, 1, 99,2,-1,100}         , {2, 1,102}                  , {2, 1,108,2,-1,109} }),
166
     new ScrambleState( new int[][] {{2, 1,103,2,-1,104}         , {2,-1,101}                  , {}                  }),
167
     new ScrambleState( new int[][] {{2, 2,104,2,-1,102}         , {}                          , {2,-1,105}          }),
168
     new ScrambleState( new int[][] {{2, 1,102,2, 2,103}         , {}                          , {0, 1, 54}          }),
169
     new ScrambleState( new int[][] {{2,-1,106}                  , {}                          , {2, 1,103}          }),
170
     new ScrambleState( new int[][] {{2, 1,105}                  , {}                          , {2, 1,107}          }),
171
     new ScrambleState( new int[][] {{}                          , {2, 1, 66}                  , {2,-1,106}          }),
172
     new ScrambleState( new int[][] {{}                          , {2, 1, 44,2, 2, 48}         , {2, 2,109,2,-1,101} }),
173
     new ScrambleState( new int[][] {{2,-1,110}                  , {}                          , {2, 1,101,2, 2,108} }),
174
     new ScrambleState( new int[][] {{2, 1,109}                  , {}                          , {2, 1, 79}          }),   //110
175
     new ScrambleState( new int[][] {{}                          , {2, 2,112,2,-1,100}         , {0, 2,115,0,-1, 16} }),
176
     new ScrambleState( new int[][] {{}                          , {2, 1,100,2, 2,111}         , {2, 1,113}          }),
177
     new ScrambleState( new int[][] {{}                          , {2, 1, 86,2, 2, 43,2,-1,114}, {2,-1,112}          }),
178
     new ScrambleState( new int[][] {{}                          , {2, 1,113,2, 2, 86,2,-1, 43}, {0,-1,  0}          }),
179
     new ScrambleState( new int[][] {{2, 2,116}                  , {}                          , {0, 1, 16,0, 2,111} }),
180
     new ScrambleState( new int[][] {{2, 2,115}                  , {}                          , {2,-1,117}          }),
181
     new ScrambleState( new int[][] {{2, 1,118}                  , {}                          , {2, 1,116}          }),
182
     new ScrambleState( new int[][] {{2,-1,117}                  , {}                          , {0, 1, 10}          }),
183
     new ScrambleState( new int[][] {{}                          , {2, 1,120,2, 2,121,2,-1,122}, {2, 2, 85,2,-1, 86} }),
184
     new ScrambleState( new int[][] {{}                          , {2, 1,121,2, 2,122,2,-1,119}, {2,-1,129}          }),   //120
185
     new ScrambleState( new int[][] {{}                          , {2, 1,122,2, 2,119,2,-1,120}, {0, 1,125}          }),
186
     new ScrambleState( new int[][] {{}                          , {2, 1,119,2, 2,120,2,-1,121}, {0,-1,123}          }),
187
     new ScrambleState( new int[][] {{}                          , {2, 2,124}                  , {0, 1,122}          }),
188
     new ScrambleState( new int[][] {{}                          , {2, 2,123}                  , {2, 2, 27,2,-1, 28} }),
189
     new ScrambleState( new int[][] {{}                          , {2, 1,126}                  , {0,-1,121}          }),
190
     new ScrambleState( new int[][] {{}                          , {2,-1,125}                  , {2,-1,127}          }),
191
     new ScrambleState( new int[][] {{}                          , {2, 2,128}                  , {2, 1,126}          }),
192
     new ScrambleState( new int[][] {{}                          , {2, 2,127}                  , {0, 2, 42,0,-1, 43} }),
193
     new ScrambleState( new int[][] {{2, 2,130,2,-1,131}         , {}                          , {2, 1,120}          }),
194
     new ScrambleState( new int[][] {{2, 1,131,2, 2,129}         , {}                          , {0,-1, 30}          }),   //130
195
     new ScrambleState( new int[][] {{2, 1,129,2,-1,130}         , {2, 1,  3,2, 2,132}         , {}                  }),
196
     new ScrambleState( new int[][] {{}                          , {2, 2,131,2,-1,  3}         , {0,-1,133}          }),
197
     new ScrambleState( new int[][] {{}                          , {2,-1,134}                  , {0, 1,132}          }),
198
     new ScrambleState( new int[][] {{2,-1,135}                  , {2, 1,133}                  , {}                  }),
199
     new ScrambleState( new int[][] {{2, 1,134}                  , {}                          , {0,-1,136}          }),
200
     new ScrambleState( new int[][] {{2, 1,137}                  , {}                          , {0, 1,135}          }),
201
     new ScrambleState( new int[][] {{2,-1,136}                  , {}                          , {0, 1, 32}          }),
202
     new ScrambleState( new int[][] {{2, 1,139}                  , {}                          , {0, 1, 74,0, 2, 83} }),
203
     new ScrambleState( new int[][] {{2,-1,138}                  , {}                          , {0, 1, 17}          }),
204
     new ScrambleState( new int[][] {{}                          , {2, 1,141}                  , {2, 2, 19,2,-1, 39} }),   //140
205
     new ScrambleState( new int[][] {{}                          , {2,-1,140}                  , {2,-1, 29}          }),
206
     new ScrambleState( new int[][] {{}                          , {2, 1, 28}                  , {2,-1, 18}          }),
207
     new ScrambleState( new int[][] {{}                          , {2, 1,  1}                  , {2, 2, 12,2,-1, 13} })
208 208
     };
209 209
    }
210 210

  

Also available in: Unified diff