Project

General

Profile

Download (16.9 KB) Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / objects / TwistyPyraminx.java @ 95f25275

1 29b82486 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
2
// Copyright 2019 Leszek Koltunski                                                               //
3
//                                                                                               //
4
// This file is part of Magic Cube.                                                              //
5
//                                                                                               //
6
// Magic Cube is free software: you can redistribute it and/or modify                            //
7
// it under the terms of the GNU General Public License as published by                          //
8
// the Free Software Foundation, either version 2 of the License, or                             //
9
// (at your option) any later version.                                                           //
10
//                                                                                               //
11
// Magic Cube is distributed in the hope that it will be useful,                                 //
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of                                //
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                 //
14
// GNU General Public License for more details.                                                  //
15
//                                                                                               //
16
// You should have received a copy of the GNU General Public License                             //
17
// along with Magic Cube.  If not, see <http://www.gnu.org/licenses/>.                           //
18
///////////////////////////////////////////////////////////////////////////////////////////////////
19
20
package org.distorted.objectlib.objects;
21
22 c9c71c3f Leszek Koltunski
import static org.distorted.objectlib.touchcontrol.TouchControl.TC_TETRAHEDRON;
23
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_NOT_SPLIT;
24 29b82486 Leszek Koltunski
25 82eb152a Leszek Koltunski
import java.io.InputStream;
26 29b82486 Leszek Koltunski
27
import org.distorted.library.type.Static3D;
28
import org.distorted.library.type.Static4D;
29
30 3ee1d662 Leszek Koltunski
import org.distorted.objectlib.helpers.ObjectFaceShape;
31 1d581993 Leszek Koltunski
import org.distorted.objectlib.helpers.ObjectSignature;
32 c9c71c3f Leszek Koltunski
import org.distorted.objectlib.touchcontrol.TouchControlTetrahedron;
33 8005e762 Leszek Koltunski
import org.distorted.objectlib.main.ObjectType;
34 198c5bf0 Leszek Koltunski
import org.distorted.objectlib.helpers.ObjectShape;
35 10b7e306 Leszek Koltunski
import org.distorted.objectlib.scrambling.ScrambleState;
36 386af988 Leszek Koltunski
import org.distorted.objectlib.main.ShapeTetrahedron;
37 29b82486 Leszek Koltunski
38
///////////////////////////////////////////////////////////////////////////////////////////////////
39
40 386af988 Leszek Koltunski
public class TwistyPyraminx extends ShapeTetrahedron
41 29b82486 Leszek Koltunski
{
42
  static final Static3D[] ROT_AXIS = new Static3D[]
43
         {
44
           new Static3D(     0,-SQ3/3,-SQ6/3),
45
           new Static3D(     0,-SQ3/3,+SQ6/3),
46
           new Static3D(+SQ6/3,+SQ3/3,     0),
47
           new Static3D(-SQ6/3,+SQ3/3,     0),
48
         };
49
50
  private ScrambleState[] mStates;
51 beee90ab Leszek Koltunski
  private int[][] mBasicAngle;
52 29b82486 Leszek Koltunski
  private float[][] mCuts;
53
54
///////////////////////////////////////////////////////////////////////////////////////////////////
55
56 3bf19410 Leszek Koltunski
  public TwistyPyraminx(int[] numL, int meshState, int iconMode, Static4D quat, Static3D move, float scale, InputStream stream)
57 29b82486 Leszek Koltunski
    {
58 3bf19410 Leszek Koltunski
    super(numL, meshState, iconMode, numL[0], quat, move, scale, stream);
59 29b82486 Leszek Koltunski
    }
60
61
///////////////////////////////////////////////////////////////////////////////////////////////////
62
63 f9a81f52 Leszek Koltunski
  public ScrambleState[] getScrambleStates()
64 29b82486 Leszek Koltunski
    {
65
    if( mStates==null )
66
      {
67 a57e6870 Leszek Koltunski
      int[] numLayers = getNumLayers();
68
      initializeScrambleStates(numLayers[0]);
69 29b82486 Leszek Koltunski
      }
70
71
    return mStates;
72
    }
73
74
///////////////////////////////////////////////////////////////////////////////////////////////////
75
76
  private int[][] generateState(int start, int end)
77
    {
78
    int len = end-start+1;
79
    int[] tmp = new int[6*len];
80
81
    for(int i=0; i<len; i++)
82
      {
83
      tmp[6*i  ] = start;
84
      tmp[6*i+1] = -1;
85
      tmp[6*i+2] = start;
86
      tmp[6*i+3] = start;
87
      tmp[6*i+4] = +1;
88
      tmp[6*i+5] = start;
89
90
      start++;
91
      }
92
93
    return new int[][] {tmp,tmp,tmp,tmp};
94
    }
95
96
///////////////////////////////////////////////////////////////////////////////////////////////////
97
98
  private void initializeScrambleStates(int numLayers)
99
    {
100
    mStates = new ScrambleState[numLayers];
101
102
    for(int i=0; i<numLayers-1; i++)
103
      {
104
      mStates[i] = new ScrambleState( generateState(0,numLayers-1-i) );
105
      }
106
107
    mStates[numLayers-1] = new ScrambleState( generateState(1,numLayers-2) );
108
    }
109
110
///////////////////////////////////////////////////////////////////////////////////////////////////
111
112
  private void addTetrahedralLattice(int size, int index, float[][] pos)
113
    {
114
    final float DX = 1.0f;
115
    final float DY = SQ2/2;
116
    final float DZ = 1.0f;
117
118
    float startX = 0.0f;
119
    float startY =-DY*(size-1)/2;
120
    float startZ = DZ*(size-1)/2;
121
122
    for(int layer=0; layer<size; layer++)
123
      {
124
      float currX = startX;
125
      float currY = startY;
126
127
      for(int x=0; x<layer+1; x++)
128
        {
129
        float currZ = startZ;
130
131
        for(int z=0; z<size-layer; z++)
132
          {
133
          pos[index] = new float[] {currX,currY,currZ};
134
          index++;
135
          currZ -= DZ;
136
          }
137
138
        currX += DX;
139
        }
140
141
      startX-=DX/2;
142
      startY+=DY;
143
      startZ-=DZ/2;
144
      }
145
    }
146
147
///////////////////////////////////////////////////////////////////////////////////////////////////
148
149 d0e6cf7f Leszek Koltunski
  private int getNumOctahedrons(int numLayers)
150 29b82486 Leszek Koltunski
    {
151 d0e6cf7f Leszek Koltunski
    return (numLayers-1)*numLayers*(numLayers+1)/6;
152
    }
153 29b82486 Leszek Koltunski
154
///////////////////////////////////////////////////////////////////////////////////////////////////
155
156 7bbfc84f Leszek Koltunski
  public float[][] getCuts(int[] numLayers)
157 29b82486 Leszek Koltunski
    {
158
    if( mCuts==null )
159
      {
160 a57e6870 Leszek Koltunski
      int numL = numLayers[0];
161
      mCuts = new float[4][numL-1];
162 29b82486 Leszek Koltunski
163 a57e6870 Leszek Koltunski
      for(int i=0; i<numL-1; i++)
164 29b82486 Leszek Koltunski
        {
165 a57e6870 Leszek Koltunski
        float cut = (1.0f+i-numL/4.0f)*(SQ6/3);
166 29b82486 Leszek Koltunski
        mCuts[0][i] = cut;
167
        mCuts[1][i] = cut;
168
        mCuts[2][i] = cut;
169
        mCuts[3][i] = cut;
170
        }
171
      }
172
173
    return mCuts;
174
    }
175
176
///////////////////////////////////////////////////////////////////////////////////////////////////
177
178 59c20632 Leszek Koltunski
  public boolean[][] getLayerRotatable(int[] numLayers)
179 29b82486 Leszek Koltunski
    {
180 59c20632 Leszek Koltunski
    int numAxis = ROT_AXIS.length;
181
    boolean[][] layerRotatable = new boolean[numAxis][];
182 a57e6870 Leszek Koltunski
183 59c20632 Leszek Koltunski
    for(int i=0; i<numAxis; i++)
184
      {
185
      layerRotatable[i] = new boolean[numLayers[i]];
186
      for(int j=0; j<numLayers[i]; j++) layerRotatable[i][j] = true;
187 29b82486 Leszek Koltunski
      }
188 59c20632 Leszek Koltunski
189
    return layerRotatable;
190
    }
191
192
///////////////////////////////////////////////////////////////////////////////////////////////////
193
194 11fa413d Leszek Koltunski
  public int getTouchControlType()
195 59c20632 Leszek Koltunski
    {
196 c9c71c3f Leszek Koltunski
    return TC_TETRAHEDRON;
197 59c20632 Leszek Koltunski
    }
198
199
///////////////////////////////////////////////////////////////////////////////////////////////////
200
201 11fa413d Leszek Koltunski
  public int getTouchControlSplit()
202 59c20632 Leszek Koltunski
    {
203
    return TYPE_NOT_SPLIT;
204
    }
205
206
///////////////////////////////////////////////////////////////////////////////////////////////////
207
208
  public int[][][] getEnabled()
209
    {
210
    return new int[][][] { {{1,2,3}},{{0,2,3}},{{0,1,3}},{{0,1,2}} };
211
    }
212
213
///////////////////////////////////////////////////////////////////////////////////////////////////
214
215
  public float[] getDist3D(int[] numLayers)
216
    {
217 4c9ca251 Leszek Koltunski
    return TouchControlTetrahedron.D3D;
218
    }
219
220
///////////////////////////////////////////////////////////////////////////////////////////////////
221
222
  public Static3D[] getFaceAxis()
223
    {
224
    return TouchControlTetrahedron.FACE_AXIS;
225 29b82486 Leszek Koltunski
    }
226
227
///////////////////////////////////////////////////////////////////////////////////////////////////
228 d0e6cf7f Leszek Koltunski
// there are (n^3-n)/6 octahedrons and ((n+1)^3 - (n+1))/6 tetrahedrons
229 29b82486 Leszek Koltunski
230 d0e6cf7f Leszek Koltunski
  public float[][] getCubitPositions(int[] numLayers)
231 29b82486 Leszek Koltunski
    {
232 d0e6cf7f Leszek Koltunski
    int numL = numLayers[0];
233
    int numOcta = (numL-1)*numL*(numL+1)/6;
234
    int numTetra= numL*(numL+1)*(numL+2)/6;
235
    float[][] ret = new float[numOcta+numTetra][];
236
237
    addTetrahedralLattice(numL-1,      0,ret);
238
    addTetrahedralLattice(numL  ,numOcta,ret);
239
240
    return ret;
241
    }
242
243
///////////////////////////////////////////////////////////////////////////////////////////////////
244
245
  public Static4D getCubitQuats(int cubit, int[] numLayers)
246
    {
247 802fe251 Leszek Koltunski
    return mObjectQuats[0];
248 29b82486 Leszek Koltunski
    }
249
250
///////////////////////////////////////////////////////////////////////////////////////////////////
251
252 e30c522a Leszek Koltunski
  public ObjectShape getObjectShape(int variant)
253 29b82486 Leszek Koltunski
    {
254
    if( variant==0 )
255
      {
256 4e9f2df5 Leszek Koltunski
      float[][] vertices= { { 0.5f,0.0f,0.5f},{ 0.5f,0.0f,-0.5f},{-0.5f,0.0f,-0.5f},{-0.5f,0.0f,0.5f},{ 0.0f,SQ2/2,0.0f},{ 0.0f,-SQ2/2,0.0f} };
257
      int[][] indices   = { {3,0,4},{0,1,4},{1,2,4},{2,3,4},{5,0,3},{5,1,0},{5,2,1},{5,3,2} };
258 59a971c1 Leszek Koltunski
      return new ObjectShape(vertices, indices);
259 29b82486 Leszek Koltunski
      }
260
    else
261
      {
262 4e9f2df5 Leszek Koltunski
      float[][] vertices= { {-0.5f, SQ2/4, 0.0f},{ 0.5f, SQ2/4, 0.0f},{ 0.0f,-SQ2/4, 0.5f},{ 0.0f,-SQ2/4,-0.5f} };
263
      int[][] indices   = { {2,1,0},{3,0,1},{3,2,0},{2,3,1} };
264 59a971c1 Leszek Koltunski
      return new ObjectShape(vertices, indices);
265 3ee1d662 Leszek Koltunski
      }
266
    }
267
268
///////////////////////////////////////////////////////////////////////////////////////////////////
269
270
  public ObjectFaceShape getObjectFaceShape(int variant)
271
    {
272
    int numL = getNumLayers()[0];
273 3bf19410 Leszek Koltunski
    float height = isInIconMode() ? 0.001f : 0.05f;
274 3ee1d662 Leszek Koltunski
275
    if( variant==0 )
276
      {
277
      int N = numL==3? 6 : 5;
278
      int E = numL==3? 2 : 1;
279 3bf19410 Leszek Koltunski
      float[][] bands     = { {height,20,0.5f,0.8f,N,E,E} };
280 3ee1d662 Leszek Koltunski
      int[] bandIndices   = { 0,0,0,0,0,0,0,0 };
281
      float[][] corners   = { {0.04f,0.20f} };
282
      int[] cornerIndices = { 0,0,0,0,0,0 };
283
      float[][] centers   = { {0.0f, 0.0f, 0.0f} };
284
      int[] centerIndices = { 0,0,0,0,0,0 };
285
      return new ObjectFaceShape(bands,bandIndices,corners,cornerIndices,centers,centerIndices,null);
286
      }
287
    else
288
      {
289 a57e6870 Leszek Koltunski
      int N = numL==3? 6 : 5;
290
      int E = numL==3? 2 : 1;
291 3bf19410 Leszek Koltunski
      float[][] bands     = { {height,35,0.5f,0.8f,N,E,E} };
292 3ee1d662 Leszek Koltunski
      int[] bandIndices   = { 0,0,0,0 };
293
      float[][] corners   = { {0.06f,0.15f} };
294
      int[] cornerIndices = { 0,0,0,0 };
295
      float[][] centers   = { {0.0f, 0.0f, 0.0f} };
296
      int[] centerIndices = { 0,0,0,0 };
297
      return new ObjectFaceShape(bands,bandIndices,corners,cornerIndices,centers,centerIndices,null);
298 29b82486 Leszek Koltunski
      }
299
    }
300
301
///////////////////////////////////////////////////////////////////////////////////////////////////
302
303 e30c522a Leszek Koltunski
  public int getNumCubitVariants(int[] numLayers)
304 29b82486 Leszek Koltunski
    {
305
    return 2;
306
    }
307
308
///////////////////////////////////////////////////////////////////////////////////////////////////
309
310 e30c522a Leszek Koltunski
  public int getCubitVariant(int cubit, int[] numLayers)
311 29b82486 Leszek Koltunski
    {
312 a57e6870 Leszek Koltunski
    return cubit<getNumOctahedrons(numLayers[0]) ? 0:1;
313 29b82486 Leszek Koltunski
    }
314
315 053ffa02 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
316
317 d53fb890 Leszek Koltunski
  public float getStickerRadius()
318 053ffa02 Leszek Koltunski
    {
319 00f4980d Leszek Koltunski
    return 0.08f;
320 053ffa02 Leszek Koltunski
    }
321
322
///////////////////////////////////////////////////////////////////////////////////////////////////
323
324 d53fb890 Leszek Koltunski
  public float getStickerStroke()
325 053ffa02 Leszek Koltunski
    {
326
    float stroke = 0.08f;
327
328 3bf19410 Leszek Koltunski
    if( isInIconMode() )
329 053ffa02 Leszek Koltunski
      {
330
      int[] numLayers = getNumLayers();
331
332
      switch(numLayers[0])
333
        {
334
        case 2: stroke*=1.0f; break;
335
        case 3: stroke*=1.4f; break;
336
        case 4: stroke*=1.7f; break;
337
        default:stroke*=1.9f; break;
338 8592461c Leszek Koltunski
        }
339 053ffa02 Leszek Koltunski
      }
340 8592461c Leszek Koltunski
341 053ffa02 Leszek Koltunski
    return stroke;
342
    }
343
344 00f4980d Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
345
346 d53fb890 Leszek Koltunski
  public float[][] getStickerAngles()
347 00f4980d Leszek Koltunski
    {
348
    return null;
349
    }
350
351 29b82486 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
352
// public API
353
354
  public Static3D[] getRotationAxis()
355
    {
356
    return ROT_AXIS;
357
    }
358
359
///////////////////////////////////////////////////////////////////////////////////////////////////
360
361 beee90ab Leszek Koltunski
  public int[][] getBasicAngles()
362 29b82486 Leszek Koltunski
    {
363 beee90ab Leszek Koltunski
    if( mBasicAngle ==null )
364
      {
365
      int num = getNumLayers()[0];
366
      int[] tmp = new int[num];
367
      for(int i=0; i<num; i++) tmp[i] = 3;
368
      mBasicAngle = new int[][] { tmp,tmp,tmp,tmp };
369
      }
370
371 29b82486 Leszek Koltunski
    return mBasicAngle;
372
    }
373
374 61aa85e4 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
375
376 5f54927b Leszek Koltunski
  public String getShortName()
377 61aa85e4 Leszek Koltunski
    {
378 5f54927b Leszek Koltunski
    switch(getNumLayers()[0])
379
      {
380
      case 3: return ObjectType.PYRA_3.name();
381
      case 4: return ObjectType.PYRA_4.name();
382
      case 5: return ObjectType.PYRA_5.name();
383
      }
384
385
    return ObjectType.PYRA_3.name();
386
    }
387
388
///////////////////////////////////////////////////////////////////////////////////////////////////
389
390 1d581993 Leszek Koltunski
  public ObjectSignature getSignature()
391 5f54927b Leszek Koltunski
    {
392
    switch(getNumLayers()[0])
393 61aa85e4 Leszek Koltunski
      {
394 1d581993 Leszek Koltunski
      case 3: return new ObjectSignature(ObjectType.PYRA_3);
395
      case 4: return new ObjectSignature(ObjectType.PYRA_4);
396
      case 5: return new ObjectSignature(ObjectType.PYRA_5);
397 61aa85e4 Leszek Koltunski
      }
398
399 1d581993 Leszek Koltunski
    return null;
400 61aa85e4 Leszek Koltunski
    }
401
402 29b82486 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
403
404 e26eb4e7 Leszek Koltunski
  public String getObjectName()
405 29b82486 Leszek Koltunski
    {
406 e26eb4e7 Leszek Koltunski
    switch(getNumLayers()[0])
407 29b82486 Leszek Koltunski
      {
408 e26eb4e7 Leszek Koltunski
      case 3: return "Pyraminx";
409
      case 4: return "Master Pyraminx";
410
      case 5: return "Professor's Pyraminx";
411 29b82486 Leszek Koltunski
      }
412 1d581993 Leszek Koltunski
    return null;
413 29b82486 Leszek Koltunski
    }
414
415
///////////////////////////////////////////////////////////////////////////////////////////////////
416
417 e26eb4e7 Leszek Koltunski
  public String getInventor()
418 29b82486 Leszek Koltunski
    {
419 e26eb4e7 Leszek Koltunski
    switch(getNumLayers()[0])
420 29b82486 Leszek Koltunski
      {
421 e26eb4e7 Leszek Koltunski
      case 3: return "Uwe Meffert";
422
      case 4: return "Katsuhiko Okamoto";
423
      case 5: return "Timur Evbatyrov";
424 29b82486 Leszek Koltunski
      }
425 1d581993 Leszek Koltunski
    return null;
426 29b82486 Leszek Koltunski
    }
427
428 59c20632 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
429
430 e26eb4e7 Leszek Koltunski
  public int getYearOfInvention()
431 59c20632 Leszek Koltunski
    {
432 e26eb4e7 Leszek Koltunski
    switch(getNumLayers()[0])
433 59c20632 Leszek Koltunski
      {
434
      case 3: return 1970;
435
      case 4: return 2002;
436
      case 5: return 2011;
437
      }
438
    return 1970;
439
    }
440
441 29b82486 Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
442
443 e26eb4e7 Leszek Koltunski
  public int getComplexity()
444 29b82486 Leszek Koltunski
    {
445 e26eb4e7 Leszek Koltunski
    switch(getNumLayers()[0])
446 29b82486 Leszek Koltunski
      {
447 b4223a92 Leszek Koltunski
      case 3: return 1;
448
      case 4: return 2;
449
      case 5: return 3;
450 29b82486 Leszek Koltunski
      }
451
    return 4;
452
    }
453 052e0362 Leszek Koltunski
454
///////////////////////////////////////////////////////////////////////////////////////////////////
455
456
  public String[][] getTutorials()
457
    {
458
    int[] numLayers = getNumLayers();
459
460
    switch(numLayers[0])
461
      {
462
      case 3: return new String[][] {
463
                          {"gb","xIQtn2qazvg","Pyraminx Layer By Layer","Z3"},
464
                          {"es","4cJJe9RAzAU","Resolver Pyraminx","Cuby"},
465
                          {"ru","F4_bhfWyVRQ","Как собрать ПИРАМИДКУ","Е Бондаренко"},
466
                          {"fr","Z2h1YI6jPes","Comment résoudre le Pyraminx","ValentinoCube"},
467
                          {"de","x_DMA8htJpY","Pyraminx lösen","Pezcraft"},
468
                          {"pl","uNpKpJfAa5I","Jak ułożyć: Pyraminx","DżoDżo"},
469
                          {"br","dtC0GNGyXqw","Como resolver o Pyraminx","Pedro Filho"},
470
                          {"kr","mO3excjvvoA","피라밍크스 맞추는 방법","iamzoone"},
471 a399e91b Leszek Koltunski
                          {"vn","p9LUWUW5iYg","Tutorial N.4 - Pyraminx","Duy Thích Rubik"},
472 052e0362 Leszek Koltunski
                    //    {"tw","YS3cDcP6Aro","金字塔方塊解法","1hrBLD"},
473
                         };
474
      case 4: return new String[][] {
475
                          {"gb","tGQDqDcSa6U","How to Solve the Master Pyraminx","Z3"},
476
                          {"es","74PIPm9-uPg","Resolver Master Pyraminx 4x4","Cuby"},
477
                          {"ru","-F_xJAwkobU","Как собрать Мастер Пираминкс"," Алексей Ярыгин"},
478
                          {"fr","F3gzBs7uvmw","Tuto: résoudre le Master Pyraminx","Spaghetti Cubing"},
479
                          {"de","3Q_bO7_FfAI","Master Pyraminx lösen","CubaroCubing"},
480
                          {"pl","EamwvhmHC7Q","4x4 (Master) Pyraminx PL","MrUk"},
481
                          {"br","cKql6YZ7yAg","Como resolver o Pyraminx 4x4 1/3","Rafael Cinoto"},
482
                          {"br","gtNQDPsN2Dg","Como resolver o Pyraminx 4x4 2/3","Rafael Cinoto"},
483
                          {"br","j8_-s4rd8mw","Como resolver o Pyraminx 4x4 3/3","Rafael Cinoto"},
484
                          {"kr","JlmBKaHESyY","마스터 피라밍크스 해법","주누후누"},
485 a399e91b Leszek Koltunski
                          {"vn","AMCll82WcJY","Tutorial N.13 - Master Pyraminx","Duy Thích Rubik"},
486 052e0362 Leszek Koltunski
                         };
487
      case 5: return new String[][] {
488
                          {"gb","2nsPEECDdN0","Professor Pyraminx Solve","RedKB"},
489
                          {"es","cSDj8OQK3TU","Tutorial del Professor Pyraminx","QBAndo"},
490
                          {"ru","gMp1tbDyDWg","Как собрать Professor Pyraminx","RBcuber"},
491
                          {"de","pCHx9bVMSgI","Professor Pyraminx Teil 1","Arvid Bollmann"},
492
                          {"de","iiNXJMVNmCM","Professor Pyraminx Teil 2","Arvid Bollmann"},
493
                          {"br","t2QJSSjNxPw","Resolver o Professor Pyraminx 1/4","Rafael Cinoto"},
494
                          {"br","mI6W6IFyVv0","Resolver o Professor Pyraminx 2/4","Rafael Cinoto"},
495
                          {"br","0HoOp6JlLSs","Resolver o Professor Pyraminx 3/4","Rafael Cinoto"},
496
                          {"br","Xg1jnCRsw_I","Resolver o Professor Pyraminx 4/4","Rafael Cinoto"},
497 a399e91b Leszek Koltunski
                          {"vn","OHwPqp3kQdE","Professor Pyraminx làm chậm","TRẦN QUANG HÙNG"},
498 052e0362 Leszek Koltunski
                         };
499
      }
500
    return null;
501
    }
502 29b82486 Leszek Koltunski
}