diff --git a/src/code.js b/src/code.js index 1704026..0b512e2 100644 --- a/src/code.js +++ b/src/code.js @@ -17,6 +17,21 @@ var board = ] ]; +var ids = +{ + '00': [0, 0], + '01': [0, 1], + '02': [0, 2], + + '10': [1, 0], + '11': [1, 1], + '12': [1, 2], + + '20': [2, 0], + '21': [2, 1], + '22': [2, 2] +} + var ptm = 1; function move(id)