projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve Paco-Sako rules. Draft Isardam
[vchess.git]
/
client
/
src
/
variants
/
Enpassant.js
diff --git
a/client/src/variants/Enpassant.js
b/client/src/variants/Enpassant.js
index
4c6ca67
..
cb21830
100644
(file)
--- a/
client/src/variants/Enpassant.js
+++ b/
client/src/variants/Enpassant.js
@@
-1,6
+1,7
@@
import { ChessRules, PiPo, Move } from "@/base_rules";
export class EnpassantRules extends ChessRules {
+
static IsGoodEnpassant(enpassant) {
if (enpassant != "-") {
const squares = enpassant.split(",");
@@
-204,4
+205,5
@@
export class EnpassantRules extends ChessRules {
k: 1000
};
}
+
};