projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Atari-Go
[xogo.git]
/
variants
/
Align4
/
class.js
diff --git
a/variants/Align4/class.js
b/variants/Align4/class.js
index
4c191db
..
ce5700d
100644
(file)
--- a/
variants/Align4/class.js
+++ b/
variants/Align4/class.js
@@
-42,8
+42,8
@@
export default class Align4Rules extends ChessRules {
// Just do not update any reserve (infinite supply)
updateReserve() {}
// Just do not update any reserve (infinite supply)
updateReserve() {}
- getCurrentScore(move) {
- const score = super.getCurrentScore(move);
+ getCurrentScore(move
_s
) {
+ const score = super.getCurrentScore(move
_s
);
if (score != "*")
return score;
// Check pawns connection:
if (score != "*")
return score;
// Check pawns connection: