projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Paco-Sako: allow castling with a rook in union + fix a bug in isAttacked()
[vchess.git]
/
client
/
src
/
variants
/
Progressive1.js
diff --git
a/client/src/variants/Progressive1.js
b/client/src/variants/Progressive1.js
index
3023b72
..
43c7c4d
100644
(file)
--- a/
client/src/variants/Progressive1.js
+++ b/
client/src/variants/Progressive1.js
@@
-2,6
+2,7
@@
import { ChessRules } from "@/base_rules";
import { randInt } from "@/utils/alea";
export class Progressive1Rules extends ChessRules {
+
static get HasEnpassant() {
return false;
}
@@
-108,4
+109,5
@@
export class Progressive1Rules extends ChessRules {
for (let i=res.length - 1; i>= 0; i--) this.undo(res[i]);
return res;
}
+
};