projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some fixes, and add 2 variants: Checkless and Parachute
[vchess.git]
/
client
/
src
/
variants
/
Recycle.js
diff --git
a/client/src/variants/Recycle.js
b/client/src/variants/Recycle.js
index
8b070fa
..
adaceb0
100644
(file)
--- a/
client/src/variants/Recycle.js
+++ b/
client/src/variants/Recycle.js
@@
-27,13
+27,6
@@
export class RecycleRules extends ChessRules {
);
}
);
}
- getEpSquare(moveOrSquare) {
- if (typeof moveOrSquare !== "object" || moveOrSquare.vanish.length > 0)
- return super.getEpSquare(moveOrSquare);
- // Landing move: no en-passant
- return undefined;
- }
-
static GenRandInitFen(randomness) {
return ChessRules.GenRandInitFen(randomness) + " 0000000000";
}
static GenRandInitFen(randomness) {
return ChessRules.GenRandInitFen(randomness) + " 0000000000";
}