projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Pandemonium + Janggi (first move)
[vchess.git]
/
client
/
src
/
variants
/
Doublemove1.js
diff --git
a/client/src/variants/Doublemove1.js
b/client/src/variants/Doublemove1.js
index
95d94d7
..
261ca5d
100644
(file)
--- a/
client/src/variants/Doublemove1.js
+++ b/
client/src/variants/Doublemove1.js
@@
-1,6
+1,7
@@
import { ChessRules } from "@/base_rules";
export class Doublemove1Rules extends ChessRules {
import { ChessRules } from "@/base_rules";
export class Doublemove1Rules extends ChessRules {
+
static IsGoodEnpassant(enpassant) {
const squares = enpassant.split(",");
if (squares.length > 2) return false;
static IsGoodEnpassant(enpassant) {
const squares = enpassant.split(",");
if (squares.length > 2) return false;
@@
-273,4
+274,5
@@
export class Doublemove1Rules extends ChessRules {
}
return doubleMove;
}
}
return doubleMove;
}
+
};
};