projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Musketeer, Joker, Shinobi. Start draft of Cwda
[vchess.git]
/
client
/
src
/
variants
/
Gomoku.js
diff --git
a/client/src/variants/Gomoku.js
b/client/src/variants/Gomoku.js
index
f003294
..
51d0bed
100644
(file)
--- a/
client/src/variants/Gomoku.js
+++ b/
client/src/variants/Gomoku.js
@@
-103,7
+103,7
@@
export class GomokuRules extends ChessRules {
let moves = [];
for (let i = 0; i < 19; i++) {
for (let j=0; j < 19; j++) {
- if (this.board[i][j] == V.EMPTY) moves.push(this.doClick(
i, j
));
+ if (this.board[i][j] == V.EMPTY) moves.push(this.doClick(
[i, j]
));
}
}
return moves;