Last active
September 16, 2018 21:49
-
-
Save Jorger/9506eed6f4c791fb48e3610cef43efac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getDirections = [ | |
[[1, 0], [0, -1], [-1, 0], [0, 1]], //Figura Inicio (1) y línea (5) | |
[ | |
//Figura tipo T (3) | |
[[2, 0, -1, 1, 0, 1, 3], [3, 1, 0, 0, 0, 1, 3], [1, 1, 0, 0, 0, -1, 1]], | |
[ | |
[3, -1, 0, 2, 1, 0, 0], | |
[2, 0, -1, 1, -1, 0, 2], | |
[0, 0, -1, 1, 1, 0, 0] | |
], | |
[ | |
[0, 0, -1, 1, 0, 1, 3], | |
[3, -1, 0, 2, 0, 1, 3], | |
[1, -1, 0, 2, 0, -1, 1] | |
], | |
[[1, -1, 0, 2, 1, 0, 0], [0, 0, 1, 3, 1, 0, 0], [2, 0, 1, 3, -1, 0, 2]] | |
], | |
[ | |
//Figura tipo curva (4) | |
[[2, 0, -1, 1], [3, 1, 0, 0]], | |
[[0, 0, -1, 1], [3, -1, 0, 2]], | |
[[0, 0, 1, 3], [1, -1, 0, 2]], | |
[[1, 1, 0, 0], [2, 0, 1, 3]] | |
] | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment