Skip to content

Instantly share code, notes, and snippets.

@patrickporto
Last active August 30, 2018 23:12
Show Gist options
  • Save patrickporto/62a485db92a0fd2d76ae953c208d12f4 to your computer and use it in GitHub Desktop.
Save patrickporto/62a485db92a0fd2d76ae953c208d12f4 to your computer and use it in GitHub Desktop.
// Estratégia 1
const cubos = []
cubos[0] = []
cubos[0][0] = []
cubos[0][0][0] = "cubo 1"
cubos[0][0][1] = "cubo 2"
cubos[0][0][2] = "cubo 3"
// [...]
// Estratégia 2
const faces = [
"U1", "U2", "U3", "U4", "U5", "U6", "U7", "U8", "U9",
"L1", "L2", "L3", "L4", "L5", "L6", "L7", "L8", "L9",
"F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9",
"R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9",
"B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9",
"D1", "D2", "D3", "D4", "D5", "D6", "D7", "D8", "D9",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment