add pause - p
This commit is contained in:
parent
5093a568f6
commit
3b21d150f7
2
$1
Normal file
2
$1
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
C:\Users\Architect\Desktop\Dev\Tetrion>python3 -m http.server
|
2
1
Normal file
2
1
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
C:\Users\Architect\Desktop\Dev\Tetrion>python3 -m http.server
|
373
dist/tetrion.js
vendored
373
dist/tetrion.js
vendored
@ -268,7 +268,7 @@ var colors = ['#ef7a21','#f7d308','#ef2029','#ad4d9c','#5a658f','#42b642','#31c7
|
|||||||
|
|
||||||
|
|
||||||
// Gamestates
|
// Gamestates
|
||||||
var gameStates = ["freePlayState", "trainerState", "testTrainerStates", "sequenceEditorState"];
|
var gameStates = ["freePlayState", "trainerState", "testTrainerStates", "sequenceEditorState", "quizState"];
|
||||||
var defaultGameState = "freePlayState";
|
var defaultGameState = "freePlayState";
|
||||||
|
|
||||||
//sidebar width
|
//sidebar width
|
||||||
@ -671,7 +671,7 @@ var UserInputs = {
|
|||||||
|
|
||||||
settingsDefault: [ "167.0", "33.0",
|
settingsDefault: [ "167.0", "33.0",
|
||||||
"37", "39", "40", "38",
|
"37", "39", "40", "38",
|
||||||
"32", "16", "90", "88", "17", "82", "81",
|
"32", "16", "90", "88", "17", "82", "80",
|
||||||
|
|
||||||
"167.0", "33.0",
|
"167.0", "33.0",
|
||||||
"DPad-Left", "DPad-Right", "DPad-Down",
|
"DPad-Left", "DPad-Right", "DPad-Down",
|
||||||
@ -845,6 +845,7 @@ Tetris.prototype = {
|
|||||||
// if true no openers. just random tetrinos
|
// if true no openers. just random tetrinos
|
||||||
this.gameState = consts.DEFAULT_GAMESTATE;
|
this.gameState = consts.DEFAULT_GAMESTATE;
|
||||||
|
|
||||||
|
this.isPaused = false;
|
||||||
this.isTimerOn = false;
|
this.isTimerOn = false;
|
||||||
this.currentOpener = 0;
|
this.currentOpener = 0;
|
||||||
this.matrix = initMatrix(consts.ROW_COUNT, consts.COLUMN_COUNT);
|
this.matrix = initMatrix(consts.ROW_COUNT, consts.COLUMN_COUNT);
|
||||||
@ -1002,6 +1003,7 @@ Tetris.prototype = {
|
|||||||
},
|
},
|
||||||
//Reset game
|
//Reset game
|
||||||
reset: function() {
|
reset: function() {
|
||||||
|
this.pause = false;
|
||||||
this.numlefts = 0;
|
this.numlefts = 0;
|
||||||
this.running = false;
|
this.running = false;
|
||||||
this.isGameOver = false;
|
this.isGameOver = false;
|
||||||
@ -1047,11 +1049,11 @@ Tetris.prototype = {
|
|||||||
|
|
||||||
},
|
},
|
||||||
//Pause game
|
//Pause game
|
||||||
pause: function() {
|
/*pause: function() {
|
||||||
this.running = false;
|
this.running = false;
|
||||||
this.currentTime = new Date().getTime();
|
this.currentTime = new Date().getTime();
|
||||||
this.prevTime = this.currentTime;
|
this.prevTime = this.currentTime;
|
||||||
},
|
},*/
|
||||||
pushHoldStack: function()
|
pushHoldStack: function()
|
||||||
{
|
{
|
||||||
if(this.gameState == consts.GAMESTATES[3]) {
|
if(this.gameState == consts.GAMESTATES[3]) {
|
||||||
@ -1190,21 +1192,23 @@ Tetris.prototype = {
|
|||||||
|
|
||||||
this._draw();
|
this._draw();
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
_recurseGameState: function (){
|
_recurseGameState: function (){
|
||||||
switch(this.gameState) {
|
switch(this.gameState) {
|
||||||
case consts.GAMESTATES[0]:
|
case consts.GAMESTATES[0]: // Free play
|
||||||
this._processFreeplayQueue();
|
this._processFreeplayQueue();
|
||||||
this._fireShape();
|
this._fireShape();
|
||||||
break;
|
break;
|
||||||
case consts.GAMESTATES[1]:
|
case consts.GAMESTATES[1]: // Trainer
|
||||||
|
this._processOpenerTrainerQueue();
|
||||||
|
this._fireShape();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case consts.GAMESTATES[2]: // Test
|
||||||
this._processOpenerTrainerQueue();
|
this._processOpenerTrainerQueue();
|
||||||
this._fireShape();
|
this._fireShape();
|
||||||
break;
|
case consts.GAMESTATES[3]: // Sequence Test
|
||||||
case consts.GAMESTATES[2]:
|
|
||||||
this._processOpenerTrainerQueue();
|
|
||||||
this._fireShape();
|
|
||||||
case consts.GAMESTATES[3]:
|
|
||||||
this._processSequenceEditor();
|
this._processSequenceEditor();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -1215,8 +1219,10 @@ Tetris.prototype = {
|
|||||||
// lockdown timer with centisecond resolution
|
// lockdown timer with centisecond resolution
|
||||||
resetLockdown: function() {
|
resetLockdown: function() {
|
||||||
|
|
||||||
if(this.shape.canDown(this.matrix) == false)
|
if(this.shape.canDown(this.matrix) == false) {
|
||||||
this.landed = true;
|
this.landed = true;
|
||||||
|
this.manipulationCounter = 0;
|
||||||
|
}
|
||||||
|
|
||||||
this.lockDownTimer = 0;
|
this.lockDownTimer = 0;
|
||||||
|
|
||||||
@ -1233,11 +1239,13 @@ Tetris.prototype = {
|
|||||||
},
|
},
|
||||||
// Draw game data
|
// Draw game data
|
||||||
_draw: function() {
|
_draw: function() {
|
||||||
|
if(this.isPaused)
|
||||||
|
return;
|
||||||
canvas.drawScene();
|
canvas.drawScene();
|
||||||
canvas.drawShape(this.shape);
|
canvas.drawShape(this.shape);
|
||||||
canvas.drawHoldShape(this.holdStack);
|
canvas.drawHoldShape(this.holdStack);
|
||||||
canvas.drawPreviewShape(this.shapeQueue);
|
canvas.drawPreviewShape(this.shapeQueue);
|
||||||
if(this.gameState != consts.GAMESTATES[2])
|
if(this.gameState != consts.GAMESTATES[2]) // || this.gameState != consts.GAMESTATES[4] quiz mode
|
||||||
canvas.drawHintShape(this.hintMino);
|
canvas.drawHintShape(this.hintMino);
|
||||||
|
|
||||||
if(this.shape != undefined) {
|
if(this.shape != undefined) {
|
||||||
@ -1387,6 +1395,12 @@ Tetris.prototype = {
|
|||||||
else
|
else
|
||||||
document.getElementById("divbg").style.display="none";
|
document.getElementById("divbg").style.display="none";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if(inputs.settingsMap.get("Keyboard Background").includes(curkey)) {
|
||||||
|
//setInterval(() => { this.isPaused = !this.isPaused; }, 300) ;
|
||||||
|
this.isPaused = !this.isPaused;
|
||||||
|
}
|
||||||
|
|
||||||
if(inputs.settingsMap.get("Keyboard Reset").includes(curkey)) {
|
if(inputs.settingsMap.get("Keyboard Reset").includes(curkey)) {
|
||||||
this._restartHandler();
|
this._restartHandler();
|
||||||
return;
|
return;
|
||||||
@ -1433,7 +1447,8 @@ Tetris.prototype = {
|
|||||||
},
|
},
|
||||||
// Update game data
|
// Update game data
|
||||||
_update: function() {
|
_update: function() {
|
||||||
|
if(this.isPaused)
|
||||||
|
return;
|
||||||
switch(this.gameState) {
|
switch(this.gameState) {
|
||||||
case consts.GAMESTATES[0]:
|
case consts.GAMESTATES[0]:
|
||||||
case consts.GAMESTATES[1]:
|
case consts.GAMESTATES[1]:
|
||||||
@ -1572,196 +1587,70 @@ var openerGenerator = {
|
|||||||
case 1:
|
case 1:
|
||||||
// Fonzie Variation
|
// Fonzie Variation
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(5), shapes.getShape(2), shapes.getShape(4), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// DTCannon
|
// DTCannon
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(3), shapes.getShape(1), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(4),
|
shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(1), shapes.getShape(5), shapes.getShape(3), shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(3));
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
//Pokemino's STD
|
//Pokemino's STD
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(3), shapes.getShape(1), shapes.getShape(5), shapes.getShape(2), shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(4), shapes.getShape(3), shapes.getShape(0), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
// Mr TSpins STD reversed
|
// Mr TSpins STD reversed
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(3), shapes.getShape(1), shapes.getShape(6), shapes.getShape(2), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
// Hachispin
|
// Hachispin
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(5), shapes.getShape(4), shapes.getShape(0), shapes.getShape(3), shapes.getShape(6), shapes.getShape(1), shapes.getShape(5), shapes.getShape(4), shapes.getShape(2), shapes.getShape(0), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 7: // Albatross
|
case 7: // Albatross
|
||||||
this.shapeQueue = new Array(shapes.getShape(1), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3));
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(1), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
// Number One
|
// Number One
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(3));
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
// Pelican
|
// Pelican
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(5),
|
shapes.getShape(5), shapes.getShape(2), shapes.getShape(4), shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
// DT Cannon TSZ base
|
// DT Cannon TSZ base
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(3),
|
shapes.getShape(3), shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(4), shapes.getShape(0), shapes.getShape(3), shapes.getShape(3));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 11:
|
case 11:
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(1), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(3), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(0), shapes.getShape(6));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6));
|
|
||||||
break;
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
this.shapeQueue = new Array(shapes.getShape(4), shapes.getShape(6), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(0), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4));
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(4), shapes.getShape(6), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(0), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4));
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
this.shapeQueue = new Array(shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(5));
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(5));
|
||||||
break;
|
break;
|
||||||
case 15:
|
case 15:
|
||||||
this.shapeQueue = new Array(shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(6), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3));
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(6), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
@ -1809,13 +1698,7 @@ var openerGenerator = {
|
|||||||
case 1:
|
case 1:
|
||||||
// Fonzie Variation
|
// Fonzie Variation
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(5), shapes.getShape(2), shapes.getShape(4), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
// position x, position y, orientation, position x,...
|
// position x, position y, orientation, position x,...
|
||||||
var hintDataList = [-1,17,1, 3,18,0, 6,18,0, 5,17,1, 3,17,0, 7,16,0, 1,17,2];
|
var hintDataList = [-1,17,1, 3,18,0, 6,18,0, 5,17,1, 3,17,0, 7,16,0, 1,17,2];
|
||||||
@ -1826,20 +1709,7 @@ var openerGenerator = {
|
|||||||
case 2:
|
case 2:
|
||||||
// DT Cannon
|
// DT Cannon
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(3), shapes.getShape(1), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
// position x, position y, orientation, position x,...
|
// position x, position y, orientation, position x,...
|
||||||
var hintDataList = [-2,18,0, 4,16,1, 6,17,1, 7,17,1, 4,17,-1, 3,17,3, 3,15,0, 5,15,0, 7,14,1, 2,13,-1, -1,15,1, 1,16,2, 3,16,1, 1,17,-1];
|
var hintDataList = [-2,18,0, 4,16,1, 6,17,1, 7,17,1, 4,17,-1, 3,17,3, 3,15,0, 5,15,0, 7,14,1, 2,13,-1, -1,15,1, 1,16,2, 3,16,1, 1,17,-1];
|
||||||
@ -1853,20 +1723,7 @@ var openerGenerator = {
|
|||||||
case 3:
|
case 3:
|
||||||
//MKO Stacking
|
//MKO Stacking
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(4),
|
shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(1), shapes.getShape(5), shapes.getShape(3), shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(3));
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
// position x, position y, orientation, position x,...
|
// position x, position y, orientation, position x,...
|
||||||
var hintDataList = [0,18,0, 0,16,-1, 8,16,-1, 4,18,0, 4,16,1, 5,18,0, 1,15,-1, 2,17,2, 5,18,0, 3,17,1, 6,16,0, 0,15,2, 0,14,0, 2,16,2];
|
var hintDataList = [0,18,0, 0,16,-1, 8,16,-1, 4,18,0, 4,16,1, 5,18,0, 1,15,-1, 2,17,2, 5,18,0, 3,17,1, 6,16,0, 0,15,2, 0,14,0, 2,16,2];
|
||||||
@ -1880,23 +1737,7 @@ var openerGenerator = {
|
|||||||
case 4:
|
case 4:
|
||||||
//Pokemino's STD
|
//Pokemino's STD
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(3), shapes.getShape(1), shapes.getShape(5), shapes.getShape(2), shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(4), shapes.getShape(3), shapes.getShape(0), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [0,17,1, -2,16,1, 4,18,0, 4,17,-1, 3,15,1, 8,17,-1, 2,17,2, 0,17,0, 0,15,-1,
|
var hintDataList = [0,17,1, -2,16,1, 4,18,0, 4,17,-1, 3,15,1, 8,17,-1, 2,17,2, 0,17,0, 0,15,-1,
|
||||||
1,15,0, 8,16,-2, 5,15,-1, 3,14,1, 6,12,-1, 6,16,1, 2,16,-1, 7,17,2 ];
|
1,15,0, 8,16,-2, 5,15,-1, 3,14,1, 6,12,-1, 6,16,1, 2,16,-1, 7,17,2 ];
|
||||||
@ -1910,22 +1751,7 @@ var openerGenerator = {
|
|||||||
case 5:
|
case 5:
|
||||||
// Mr TSpins STD reversed
|
// Mr TSpins STD reversed
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(3), shapes.getShape(1), shapes.getShape(6), shapes.getShape(2), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [4,18,0, 0,18,0, 7,17,1, 0,15,1, 4,17,-1, 5,14,-1, 2,17,2, 1,17,0, -1,16,-1, 2,15,-1,
|
var hintDataList = [4,18,0, 0,18,0, 7,17,1, 0,15,1, 4,17,-1, 5,14,-1, 2,17,2, 1,17,0, -1,16,-1, 2,15,-1,
|
||||||
0,14,0, 3,15,1, 8,16,-1, 5,13,2, 6,16,1, 7,17,2 ];
|
0,14,0, 3,15,1, 8,16,-1, 5,13,2, 6,16,1, 7,17,2 ];
|
||||||
@ -1940,20 +1766,7 @@ var openerGenerator = {
|
|||||||
case 6:
|
case 6:
|
||||||
// Hachispin
|
// Hachispin
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(5), shapes.getShape(4), shapes.getShape(0), shapes.getShape(3), shapes.getShape(6), shapes.getShape(1), shapes.getShape(5), shapes.getShape(4), shapes.getShape(2), shapes.getShape(0), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [1,18,0, 0,18,0, 8,16,-1, 2,15,1, 6,17,2, 5,16,2, 1,16,2, -1,16,-1, -1,16,0, 5,16,0, 0,14,0, 3,15,0, 8,14,-1, 7,16,-1];
|
var hintDataList = [1,18,0, 0,18,0, 8,16,-1, 2,15,1, 6,17,2, 5,16,2, 1,16,2, -1,16,-1, -1,16,0, 5,16,0, 0,14,0, 3,15,0, 8,14,-1, 7,16,-1];
|
||||||
|
|
||||||
@ -1964,7 +1777,8 @@ var openerGenerator = {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 7: // Albatross
|
case 7: // Albatross
|
||||||
this.hintQueue = new Array(shapes.getShape(1), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3));
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(1), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3));
|
||||||
|
|
||||||
var hintDataList = [1,18,0,0,17,3,8,16,3,5,17,2,6,16,2,3,16,0,1,16,2,-1,17,1,5,17,3,5,18,0,6,16,0,2,15,3,3,15,1,1,17,3];
|
var hintDataList = [1,18,0,0,17,3,8,16,3,5,17,2,6,16,2,3,16,0,1,16,2,-1,17,1,5,17,3,5,18,0,6,16,0,2,15,3,3,15,1,1,17,3];
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
@ -1972,13 +1786,7 @@ var openerGenerator = {
|
|||||||
case 8:
|
case 8:
|
||||||
// Number One
|
// Number One
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(3));
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [3,18,0, 0,17,2, 0,16,0, 4,15,-1, 6,17,0, 8,16,-1, 3,17,-1];
|
var hintDataList = [3,18,0, 0,17,2, 0,16,0, 4,15,-1, 6,17,0, 8,16,-1, 3,17,-1];
|
||||||
|
|
||||||
@ -1991,13 +1799,7 @@ var openerGenerator = {
|
|||||||
case 9:
|
case 9:
|
||||||
// Pelican
|
// Pelican
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(5),
|
shapes.getShape(5), shapes.getShape(2), shapes.getShape(4), shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [0,17,-1, 1,16,2, 5,18,0, 5,16,-1, 8,16,-1, 5,17,0, 3,16,2];
|
var hintDataList = [0,17,-1, 1,16,2, 5,18,0, 5,16,-1, 8,16,-1, 5,17,0, 3,16,2];
|
||||||
|
|
||||||
@ -2010,17 +1812,7 @@ var openerGenerator = {
|
|||||||
case 10: // O - 1, I - 6, L - 0, S - 5, J - 4, Z - 2, T - 3
|
case 10: // O - 1, I - 6, L - 0, S - 5, J - 4, Z - 2, T - 3
|
||||||
// DT Cannon TSZ base
|
// DT Cannon TSZ base
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(3),
|
shapes.getShape(3), shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(4), shapes.getShape(0), shapes.getShape(3), shapes.getShape(3));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [4,18,0, -2,18,0, 2,17,1, 8,16,-1, 6,17,-1, 7,17,-1, 3,15,2, -1,15,1, 2,13,-1, 1,16,2, 1,17,3];
|
var hintDataList = [4,18,0, -2,18,0, 2,17,1, 8,16,-1, 6,17,-1, 7,17,-1, 3,15,2, -1,15,1, 2,13,-1, 1,16,2, 1,17,3];
|
||||||
|
|
||||||
@ -2032,64 +1824,37 @@ var openerGenerator = {
|
|||||||
break;
|
break;
|
||||||
case 11:
|
case 11:
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(1), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(3), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(0), shapes.getShape(6));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6));
|
|
||||||
var hintDataList = [3,17,1,6,18,0,1,17,3,5,17,3,2,16,3,-1,17,1,4,15,0,5,13,1,3,14,0,-1,14,3,8,15,3,-1,15,0,0,13,0,6,16,2,0,13,2,4,14,0,2,13,3,6,17,1,7,18,0,3,16,1,7,17,2,6,18,0,1,18,0,-1,17,1,2,16,2,5,17,0,0,15,2,3,15,2,6,15,2,8,16,3];
|
var hintDataList = [3,17,1,6,18,0,1,17,3,5,17,3,2,16,3,-1,17,1,4,15,0,5,13,1,3,14,0,-1,14,3,8,15,3,-1,15,0,0,13,0,6,16,2,0,13,2,4,14,0,2,13,3,6,17,1,7,18,0,3,16,1,7,17,2,6,18,0,1,18,0,-1,17,1,2,16,2,5,17,0,0,15,2,3,15,2,6,15,2,8,16,3];
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break
|
break
|
||||||
case 12:
|
case 12:
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3));
|
|
||||||
var hintDataList = [3,17,1,6,18,0,5,17,2,1,18,0];
|
var hintDataList = [3,17,1,6,18,0,5,17,2,1,18,0];
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break;
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
this.hintQueue = new Array(shapes.getShape(4), shapes.getShape(6), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(0), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4));
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(4), shapes.getShape(6), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(0), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4));
|
||||||
|
|
||||||
var hintDataList = [0,18,0,3,18,0,-1,17,0,7,18,0,3,17,0,8,16,3,0,15,2,-2,14,0,3,15,2,3,14,0,1,13,3,8,14,3,7,12,2,5,16,2,3,14,3,6,17,3,5,18,0];
|
var hintDataList = [0,18,0,3,18,0,-1,17,0,7,18,0,3,17,0,8,16,3,0,15,2,-2,14,0,3,15,2,3,14,0,1,13,3,8,14,3,7,12,2,5,16,2,3,14,3,6,17,3,5,18,0];
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
this.hintQueue = new Array(shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(5));
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(5));
|
||||||
|
|
||||||
var hintDataList = [-1,17,1,3,18,0,3,17,0,7,18,0,6,16,3,8,16,3,0,16,3,0,14,0,8,13,3,4,15,1,6,14,2,1,17,1,2,17,2];
|
var hintDataList = [-1,17,1,3,18,0,3,17,0,7,18,0,6,16,3,8,16,3,0,16,3,0,14,0,8,13,3,4,15,1,6,14,2,1,17,1,2,17,2];
|
||||||
|
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break;
|
break;
|
||||||
case 15:
|
case 15:
|
||||||
this.hintQueue = new Array(shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(6), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3));
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(6), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3));
|
||||||
|
|
||||||
var hintDataList = [-1,17,1,2,18,0,4,17,3,6,18,0,6,17,0,2,15,2,-1,14,1,5,17,0,4,14,3,5,14,3,6,15,0,6,14,3,8,12,3,0,16,1,6,15,0,0,15,0,-1,12,3,6,13,1,2,15,0,3,13,0,1,17,2,5,14,1,6,15,0,2,17,3,3,15,2,1,17,2];
|
var hintDataList = [-1,17,1,2,18,0,4,17,3,6,18,0,6,17,0,2,15,2,-1,14,1,5,17,0,4,14,3,5,14,3,6,15,0,6,14,3,8,12,3,0,16,1,6,15,0,0,15,0,-1,12,3,6,13,1,2,15,0,3,13,0,1,17,2,5,14,1,6,15,0,2,17,3,3,15,2,1,17,2];
|
||||||
|
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -47,7 +47,11 @@
|
|||||||
|
|
||||||
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/3sy3Wy?gui=true&t=10&paused=false&muted=false" ></iframe> -->
|
<!-- <iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/3sy3Wy?gui=true&t=10&paused=false&muted=false" ></iframe> -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Shader toy background
|
||||||
<iframe id="bg" width="640" height="360" frameborder="0" src="" ></iframe>
|
<iframe id="bg" width="640" height="360" frameborder="0" src="" ></iframe>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
if( (Math.floor(Math.random() * Math.floor(10)) % 3) == 0) {
|
if( (Math.floor(Math.random() * Math.floor(10)) % 3) == 0) {
|
||||||
@ -66,6 +70,10 @@ document.getElementById("bg").removeAttribute("tabIndex");
|
|||||||
document.getElementById("divbg").removeAttribute("tabIndex");
|
document.getElementById("divbg").removeAttribute("tabIndex");
|
||||||
this.resizebg();
|
this.resizebg();
|
||||||
</script>
|
</script>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ var colors = ['#ef7a21','#f7d308','#ef2029','#ad4d9c','#5a658f','#42b642','#31c7
|
|||||||
|
|
||||||
|
|
||||||
// Gamestates
|
// Gamestates
|
||||||
var gameStates = ["freePlayState", "trainerState", "testTrainerStates", "sequenceEditorState"];
|
var gameStates = ["freePlayState", "trainerState", "testTrainerStates", "sequenceEditorState", "quizState"];
|
||||||
var defaultGameState = "freePlayState";
|
var defaultGameState = "freePlayState";
|
||||||
|
|
||||||
//sidebar width
|
//sidebar width
|
||||||
|
@ -238,7 +238,7 @@ var UserInputs = {
|
|||||||
|
|
||||||
settingsDefault: [ "167.0", "33.0",
|
settingsDefault: [ "167.0", "33.0",
|
||||||
"37", "39", "40", "38",
|
"37", "39", "40", "38",
|
||||||
"32", "16", "90", "88", "17", "82", "81",
|
"32", "16", "90", "88", "17", "82", "80",
|
||||||
|
|
||||||
"167.0", "33.0",
|
"167.0", "33.0",
|
||||||
"DPad-Left", "DPad-Right", "DPad-Down",
|
"DPad-Left", "DPad-Right", "DPad-Down",
|
||||||
|
39
src/main.js
39
src/main.js
@ -161,6 +161,7 @@ Tetris.prototype = {
|
|||||||
// if true no openers. just random tetrinos
|
// if true no openers. just random tetrinos
|
||||||
this.gameState = consts.DEFAULT_GAMESTATE;
|
this.gameState = consts.DEFAULT_GAMESTATE;
|
||||||
|
|
||||||
|
this.isPaused = false;
|
||||||
this.isTimerOn = false;
|
this.isTimerOn = false;
|
||||||
this.currentOpener = 0;
|
this.currentOpener = 0;
|
||||||
this.matrix = initMatrix(consts.ROW_COUNT, consts.COLUMN_COUNT);
|
this.matrix = initMatrix(consts.ROW_COUNT, consts.COLUMN_COUNT);
|
||||||
@ -318,6 +319,7 @@ Tetris.prototype = {
|
|||||||
},
|
},
|
||||||
//Reset game
|
//Reset game
|
||||||
reset: function() {
|
reset: function() {
|
||||||
|
this.pause = false;
|
||||||
this.numlefts = 0;
|
this.numlefts = 0;
|
||||||
this.running = false;
|
this.running = false;
|
||||||
this.isGameOver = false;
|
this.isGameOver = false;
|
||||||
@ -363,11 +365,11 @@ Tetris.prototype = {
|
|||||||
|
|
||||||
},
|
},
|
||||||
//Pause game
|
//Pause game
|
||||||
pause: function() {
|
/*pause: function() {
|
||||||
this.running = false;
|
this.running = false;
|
||||||
this.currentTime = new Date().getTime();
|
this.currentTime = new Date().getTime();
|
||||||
this.prevTime = this.currentTime;
|
this.prevTime = this.currentTime;
|
||||||
},
|
},*/
|
||||||
pushHoldStack: function()
|
pushHoldStack: function()
|
||||||
{
|
{
|
||||||
if(this.gameState == consts.GAMESTATES[3]) {
|
if(this.gameState == consts.GAMESTATES[3]) {
|
||||||
@ -506,21 +508,23 @@ Tetris.prototype = {
|
|||||||
|
|
||||||
this._draw();
|
this._draw();
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
_recurseGameState: function (){
|
_recurseGameState: function (){
|
||||||
switch(this.gameState) {
|
switch(this.gameState) {
|
||||||
case consts.GAMESTATES[0]:
|
case consts.GAMESTATES[0]: // Free play
|
||||||
this._processFreeplayQueue();
|
this._processFreeplayQueue();
|
||||||
this._fireShape();
|
this._fireShape();
|
||||||
break;
|
break;
|
||||||
case consts.GAMESTATES[1]:
|
case consts.GAMESTATES[1]: // Trainer
|
||||||
|
this._processOpenerTrainerQueue();
|
||||||
|
this._fireShape();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case consts.GAMESTATES[2]: // Test
|
||||||
this._processOpenerTrainerQueue();
|
this._processOpenerTrainerQueue();
|
||||||
this._fireShape();
|
this._fireShape();
|
||||||
break;
|
case consts.GAMESTATES[3]: // Sequence Test
|
||||||
case consts.GAMESTATES[2]:
|
|
||||||
this._processOpenerTrainerQueue();
|
|
||||||
this._fireShape();
|
|
||||||
case consts.GAMESTATES[3]:
|
|
||||||
this._processSequenceEditor();
|
this._processSequenceEditor();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -531,8 +535,10 @@ Tetris.prototype = {
|
|||||||
// lockdown timer with centisecond resolution
|
// lockdown timer with centisecond resolution
|
||||||
resetLockdown: function() {
|
resetLockdown: function() {
|
||||||
|
|
||||||
if(this.shape.canDown(this.matrix) == false)
|
if(this.shape.canDown(this.matrix) == false) {
|
||||||
this.landed = true;
|
this.landed = true;
|
||||||
|
this.manipulationCounter = 0;
|
||||||
|
}
|
||||||
|
|
||||||
this.lockDownTimer = 0;
|
this.lockDownTimer = 0;
|
||||||
|
|
||||||
@ -549,11 +555,13 @@ Tetris.prototype = {
|
|||||||
},
|
},
|
||||||
// Draw game data
|
// Draw game data
|
||||||
_draw: function() {
|
_draw: function() {
|
||||||
|
if(this.isPaused)
|
||||||
|
return;
|
||||||
canvas.drawScene();
|
canvas.drawScene();
|
||||||
canvas.drawShape(this.shape);
|
canvas.drawShape(this.shape);
|
||||||
canvas.drawHoldShape(this.holdStack);
|
canvas.drawHoldShape(this.holdStack);
|
||||||
canvas.drawPreviewShape(this.shapeQueue);
|
canvas.drawPreviewShape(this.shapeQueue);
|
||||||
if(this.gameState != consts.GAMESTATES[2])
|
if(this.gameState != consts.GAMESTATES[2]) // || this.gameState != consts.GAMESTATES[4] quiz mode
|
||||||
canvas.drawHintShape(this.hintMino);
|
canvas.drawHintShape(this.hintMino);
|
||||||
|
|
||||||
if(this.shape != undefined) {
|
if(this.shape != undefined) {
|
||||||
@ -703,6 +711,12 @@ Tetris.prototype = {
|
|||||||
else
|
else
|
||||||
document.getElementById("divbg").style.display="none";
|
document.getElementById("divbg").style.display="none";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if(inputs.settingsMap.get("Keyboard Background").includes(curkey)) {
|
||||||
|
//setInterval(() => { this.isPaused = !this.isPaused; }, 300) ;
|
||||||
|
this.isPaused = !this.isPaused;
|
||||||
|
}
|
||||||
|
|
||||||
if(inputs.settingsMap.get("Keyboard Reset").includes(curkey)) {
|
if(inputs.settingsMap.get("Keyboard Reset").includes(curkey)) {
|
||||||
this._restartHandler();
|
this._restartHandler();
|
||||||
return;
|
return;
|
||||||
@ -749,7 +763,8 @@ Tetris.prototype = {
|
|||||||
},
|
},
|
||||||
// Update game data
|
// Update game data
|
||||||
_update: function() {
|
_update: function() {
|
||||||
|
if(this.isPaused)
|
||||||
|
return;
|
||||||
switch(this.gameState) {
|
switch(this.gameState) {
|
||||||
case consts.GAMESTATES[0]:
|
case consts.GAMESTATES[0]:
|
||||||
case consts.GAMESTATES[1]:
|
case consts.GAMESTATES[1]:
|
||||||
|
330
src/openers.js
330
src/openers.js
@ -22,196 +22,70 @@ var openerGenerator = {
|
|||||||
case 1:
|
case 1:
|
||||||
// Fonzie Variation
|
// Fonzie Variation
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(5), shapes.getShape(2), shapes.getShape(4), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// DTCannon
|
// DTCannon
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(3), shapes.getShape(1), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(4),
|
shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(1), shapes.getShape(5), shapes.getShape(3), shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(3));
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
//Pokemino's STD
|
//Pokemino's STD
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(3), shapes.getShape(1), shapes.getShape(5), shapes.getShape(2), shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(4), shapes.getShape(3), shapes.getShape(0), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
// Mr TSpins STD reversed
|
// Mr TSpins STD reversed
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(3), shapes.getShape(1), shapes.getShape(6), shapes.getShape(2), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
// Hachispin
|
// Hachispin
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(5), shapes.getShape(4), shapes.getShape(0), shapes.getShape(3), shapes.getShape(6), shapes.getShape(1), shapes.getShape(5), shapes.getShape(4), shapes.getShape(2), shapes.getShape(0), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 7: // Albatross
|
case 7: // Albatross
|
||||||
this.shapeQueue = new Array(shapes.getShape(1), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3));
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(1), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
// Number One
|
// Number One
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(3));
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
// Pelican
|
// Pelican
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(5),
|
shapes.getShape(5), shapes.getShape(2), shapes.getShape(4), shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
// DT Cannon TSZ base
|
// DT Cannon TSZ base
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(3),
|
shapes.getShape(3), shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(4), shapes.getShape(0), shapes.getShape(3), shapes.getShape(3));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 11:
|
case 11:
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(1), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(3), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(0), shapes.getShape(6));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6));
|
|
||||||
break;
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3));
|
|
||||||
break;
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
this.shapeQueue = new Array(shapes.getShape(4), shapes.getShape(6), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(0), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4));
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(4), shapes.getShape(6), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(0), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4));
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
this.shapeQueue = new Array(shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(5));
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(5));
|
||||||
break;
|
break;
|
||||||
case 15:
|
case 15:
|
||||||
this.shapeQueue = new Array(shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(6), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3));
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(6), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
@ -259,13 +133,7 @@ var openerGenerator = {
|
|||||||
case 1:
|
case 1:
|
||||||
// Fonzie Variation
|
// Fonzie Variation
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(5), shapes.getShape(2), shapes.getShape(4), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
// position x, position y, orientation, position x,...
|
// position x, position y, orientation, position x,...
|
||||||
var hintDataList = [-1,17,1, 3,18,0, 6,18,0, 5,17,1, 3,17,0, 7,16,0, 1,17,2];
|
var hintDataList = [-1,17,1, 3,18,0, 6,18,0, 5,17,1, 3,17,0, 7,16,0, 1,17,2];
|
||||||
@ -276,20 +144,7 @@ var openerGenerator = {
|
|||||||
case 2:
|
case 2:
|
||||||
// DT Cannon
|
// DT Cannon
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(3), shapes.getShape(1), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
// position x, position y, orientation, position x,...
|
// position x, position y, orientation, position x,...
|
||||||
var hintDataList = [-2,18,0, 4,16,1, 6,17,1, 7,17,1, 4,17,-1, 3,17,3, 3,15,0, 5,15,0, 7,14,1, 2,13,-1, -1,15,1, 1,16,2, 3,16,1, 1,17,-1];
|
var hintDataList = [-2,18,0, 4,16,1, 6,17,1, 7,17,1, 4,17,-1, 3,17,3, 3,15,0, 5,15,0, 7,14,1, 2,13,-1, -1,15,1, 1,16,2, 3,16,1, 1,17,-1];
|
||||||
@ -303,20 +158,7 @@ var openerGenerator = {
|
|||||||
case 3:
|
case 3:
|
||||||
//MKO Stacking
|
//MKO Stacking
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(4),
|
shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(1), shapes.getShape(5), shapes.getShape(3), shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(3));
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
// position x, position y, orientation, position x,...
|
// position x, position y, orientation, position x,...
|
||||||
var hintDataList = [0,18,0, 0,16,-1, 8,16,-1, 4,18,0, 4,16,1, 5,18,0, 1,15,-1, 2,17,2, 5,18,0, 3,17,1, 6,16,0, 0,15,2, 0,14,0, 2,16,2];
|
var hintDataList = [0,18,0, 0,16,-1, 8,16,-1, 4,18,0, 4,16,1, 5,18,0, 1,15,-1, 2,17,2, 5,18,0, 3,17,1, 6,16,0, 0,15,2, 0,14,0, 2,16,2];
|
||||||
@ -330,23 +172,7 @@ var openerGenerator = {
|
|||||||
case 4:
|
case 4:
|
||||||
//Pokemino's STD
|
//Pokemino's STD
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(3), shapes.getShape(1), shapes.getShape(5), shapes.getShape(2), shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(4), shapes.getShape(3), shapes.getShape(0), shapes.getShape(3));
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [0,17,1, -2,16,1, 4,18,0, 4,17,-1, 3,15,1, 8,17,-1, 2,17,2, 0,17,0, 0,15,-1,
|
var hintDataList = [0,17,1, -2,16,1, 4,18,0, 4,17,-1, 3,15,1, 8,17,-1, 2,17,2, 0,17,0, 0,15,-1,
|
||||||
1,15,0, 8,16,-2, 5,15,-1, 3,14,1, 6,12,-1, 6,16,1, 2,16,-1, 7,17,2 ];
|
1,15,0, 8,16,-2, 5,15,-1, 3,14,1, 6,12,-1, 6,16,1, 2,16,-1, 7,17,2 ];
|
||||||
@ -360,22 +186,7 @@ var openerGenerator = {
|
|||||||
case 5:
|
case 5:
|
||||||
// Mr TSpins STD reversed
|
// Mr TSpins STD reversed
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(3), shapes.getShape(1), shapes.getShape(6), shapes.getShape(2), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [4,18,0, 0,18,0, 7,17,1, 0,15,1, 4,17,-1, 5,14,-1, 2,17,2, 1,17,0, -1,16,-1, 2,15,-1,
|
var hintDataList = [4,18,0, 0,18,0, 7,17,1, 0,15,1, 4,17,-1, 5,14,-1, 2,17,2, 1,17,0, -1,16,-1, 2,15,-1,
|
||||||
0,14,0, 3,15,1, 8,16,-1, 5,13,2, 6,16,1, 7,17,2 ];
|
0,14,0, 3,15,1, 8,16,-1, 5,13,2, 6,16,1, 7,17,2 ];
|
||||||
@ -390,20 +201,7 @@ var openerGenerator = {
|
|||||||
case 6:
|
case 6:
|
||||||
// Hachispin
|
// Hachispin
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(5), shapes.getShape(4), shapes.getShape(0), shapes.getShape(3), shapes.getShape(6), shapes.getShape(1), shapes.getShape(5), shapes.getShape(4), shapes.getShape(2), shapes.getShape(0), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [1,18,0, 0,18,0, 8,16,-1, 2,15,1, 6,17,2, 5,16,2, 1,16,2, -1,16,-1, -1,16,0, 5,16,0, 0,14,0, 3,15,0, 8,14,-1, 7,16,-1];
|
var hintDataList = [1,18,0, 0,18,0, 8,16,-1, 2,15,1, 6,17,2, 5,16,2, 1,16,2, -1,16,-1, -1,16,0, 5,16,0, 0,14,0, 3,15,0, 8,14,-1, 7,16,-1];
|
||||||
|
|
||||||
@ -414,7 +212,8 @@ var openerGenerator = {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 7: // Albatross
|
case 7: // Albatross
|
||||||
this.hintQueue = new Array(shapes.getShape(1), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3));
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(1), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(4), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(1), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3));
|
||||||
|
|
||||||
var hintDataList = [1,18,0,0,17,3,8,16,3,5,17,2,6,16,2,3,16,0,1,16,2,-1,17,1,5,17,3,5,18,0,6,16,0,2,15,3,3,15,1,1,17,3];
|
var hintDataList = [1,18,0,0,17,3,8,16,3,5,17,2,6,16,2,3,16,0,1,16,2,-1,17,1,5,17,3,5,18,0,6,16,0,2,15,3,3,15,1,1,17,3];
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
@ -422,13 +221,7 @@ var openerGenerator = {
|
|||||||
case 8:
|
case 8:
|
||||||
// Number One
|
// Number One
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(3));
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [3,18,0, 0,17,2, 0,16,0, 4,15,-1, 6,17,0, 8,16,-1, 3,17,-1];
|
var hintDataList = [3,18,0, 0,17,2, 0,16,0, 4,15,-1, 6,17,0, 8,16,-1, 3,17,-1];
|
||||||
|
|
||||||
@ -441,13 +234,7 @@ var openerGenerator = {
|
|||||||
case 9:
|
case 9:
|
||||||
// Pelican
|
// Pelican
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(5),
|
shapes.getShape(5), shapes.getShape(2), shapes.getShape(4), shapes.getShape(0), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3));
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [0,17,-1, 1,16,2, 5,18,0, 5,16,-1, 8,16,-1, 5,17,0, 3,16,2];
|
var hintDataList = [0,17,-1, 1,16,2, 5,18,0, 5,16,-1, 8,16,-1, 5,17,0, 3,16,2];
|
||||||
|
|
||||||
@ -460,17 +247,7 @@ var openerGenerator = {
|
|||||||
case 10: // O - 1, I - 6, L - 0, S - 5, J - 4, Z - 2, T - 3
|
case 10: // O - 1, I - 6, L - 0, S - 5, J - 4, Z - 2, T - 3
|
||||||
// DT Cannon TSZ base
|
// DT Cannon TSZ base
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(3),
|
shapes.getShape(3), shapes.getShape(1), shapes.getShape(2), shapes.getShape(6), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(4), shapes.getShape(0), shapes.getShape(3), shapes.getShape(3));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(3));
|
|
||||||
|
|
||||||
var hintDataList = [4,18,0, -2,18,0, 2,17,1, 8,16,-1, 6,17,-1, 7,17,-1, 3,15,2, -1,15,1, 2,13,-1, 1,16,2, 1,17,3];
|
var hintDataList = [4,18,0, -2,18,0, 2,17,1, 8,16,-1, 6,17,-1, 7,17,-1, 3,15,2, -1,15,1, 2,13,-1, 1,16,2, 1,17,3];
|
||||||
|
|
||||||
@ -482,64 +259,37 @@ var openerGenerator = {
|
|||||||
break;
|
break;
|
||||||
case 11:
|
case 11:
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(1), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(3), shapes.getShape(0), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(0), shapes.getShape(6));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(6),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(5),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(3),
|
|
||||||
shapes.getShape(4),
|
|
||||||
shapes.getShape(0),
|
|
||||||
shapes.getShape(6));
|
|
||||||
var hintDataList = [3,17,1,6,18,0,1,17,3,5,17,3,2,16,3,-1,17,1,4,15,0,5,13,1,3,14,0,-1,14,3,8,15,3,-1,15,0,0,13,0,6,16,2,0,13,2,4,14,0,2,13,3,6,17,1,7,18,0,3,16,1,7,17,2,6,18,0,1,18,0,-1,17,1,2,16,2,5,17,0,0,15,2,3,15,2,6,15,2,8,16,3];
|
var hintDataList = [3,17,1,6,18,0,1,17,3,5,17,3,2,16,3,-1,17,1,4,15,0,5,13,1,3,14,0,-1,14,3,8,15,3,-1,15,0,0,13,0,6,16,2,0,13,2,4,14,0,2,13,3,6,17,1,7,18,0,3,16,1,7,17,2,6,18,0,1,18,0,-1,17,1,2,16,2,5,17,0,0,15,2,3,15,2,6,15,2,8,16,3];
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break
|
break
|
||||||
case 12:
|
case 12:
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(0),
|
shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3));
|
||||||
shapes.getShape(1),
|
|
||||||
shapes.getShape(2),
|
|
||||||
shapes.getShape(3));
|
|
||||||
var hintDataList = [3,17,1,6,18,0,5,17,2,1,18,0];
|
var hintDataList = [3,17,1,6,18,0,5,17,2,1,18,0];
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break;
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
this.hintQueue = new Array(shapes.getShape(4), shapes.getShape(6), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(0), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4));
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(4), shapes.getShape(6), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(0), shapes.getShape(6), shapes.getShape(0), shapes.getShape(5), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4));
|
||||||
|
|
||||||
var hintDataList = [0,18,0,3,18,0,-1,17,0,7,18,0,3,17,0,8,16,3,0,15,2,-2,14,0,3,15,2,3,14,0,1,13,3,8,14,3,7,12,2,5,16,2,3,14,3,6,17,3,5,18,0];
|
var hintDataList = [0,18,0,3,18,0,-1,17,0,7,18,0,3,17,0,8,16,3,0,15,2,-2,14,0,3,15,2,3,14,0,1,13,3,8,14,3,7,12,2,5,16,2,3,14,3,6,17,3,5,18,0];
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
this.hintQueue = new Array(shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(5));
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(0), shapes.getShape(6), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(0), shapes.getShape(4), shapes.getShape(6), shapes.getShape(0), shapes.getShape(0), shapes.getShape(3), shapes.getShape(5));
|
||||||
|
|
||||||
var hintDataList = [-1,17,1,3,18,0,3,17,0,7,18,0,6,16,3,8,16,3,0,16,3,0,14,0,8,13,3,4,15,1,6,14,2,1,17,1,2,17,2];
|
var hintDataList = [-1,17,1,3,18,0,3,17,0,7,18,0,6,16,3,8,16,3,0,16,3,0,14,0,8,13,3,4,15,1,6,14,2,1,17,1,2,17,2];
|
||||||
|
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break;
|
break;
|
||||||
case 15:
|
case 15:
|
||||||
this.hintQueue = new Array(shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(6), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3));
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(0), shapes.getShape(2), shapes.getShape(5), shapes.getShape(6), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(2), shapes.getShape(5), shapes.getShape(0), shapes.getShape(1), shapes.getShape(6), shapes.getShape(4), shapes.getShape(3), shapes.getShape(4), shapes.getShape(5), shapes.getShape(6), shapes.getShape(0), shapes.getShape(1), shapes.getShape(2), shapes.getShape(3), shapes.getShape(4), shapes.getShape(1), shapes.getShape(3), shapes.getShape(4), shapes.getShape(3));
|
||||||
|
|
||||||
var hintDataList = [-1,17,1,2,18,0,4,17,3,6,18,0,6,17,0,2,15,2,-1,14,1,5,17,0,4,14,3,5,14,3,6,15,0,6,14,3,8,12,3,0,16,1,6,15,0,0,15,0,-1,12,3,6,13,1,2,15,0,3,13,0,1,17,2,5,14,1,6,15,0,2,17,3,3,15,2,1,17,2];
|
var hintDataList = [-1,17,1,2,18,0,4,17,3,6,18,0,6,17,0,2,15,2,-1,14,1,5,17,0,4,14,3,5,14,3,6,15,0,6,14,3,8,12,3,0,16,1,6,15,0,0,15,0,-1,12,3,6,13,1,2,15,0,3,13,0,1,17,2,5,14,1,6,15,0,2,17,3,3,15,2,1,17,2];
|
||||||
|
|
||||||
this.createHintQueue(hintDataList);
|
this.createHintQueue(hintDataList);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user