projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Advance on Checkered. TODO: fix checks detection by checkered pieces
[xogo.git]
/
variants
/
Alapo
/
class.js
diff --git
a/variants/Alapo/class.js
b/variants/Alapo/class.js
index
969c80f
..
9fcfc98
100644
(file)
--- a/
variants/Alapo/class.js
+++ b/
variants/Alapo/class.js
@@
-108,7
+108,7
@@
export default class AlapoRules extends ChessRules {
// Try both colors (to detect potential suicides)
let won = {};
for (let c of ['w', 'b']) {
- const oppCol = C.GetOpp
Col
(c);
+ const oppCol = C.GetOpp
Turn
(c);
const goal = (c == 'w' ? 0 : 5);
won[c] = this.board[goal].some((b,j) => {
return (