projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Antiking v1
[vchess.git]
/
client
/
src
/
variants
/
Upsidedown.js
diff --git
a/client/src/variants/Upsidedown.js
b/client/src/variants/Upsidedown.js
index
10bb83d
..
e824200
100644
(file)
--- a/
client/src/variants/Upsidedown.js
+++ b/
client/src/variants/Upsidedown.js
@@
-7,17
+7,12
@@
export const VariantRules = class UpsidedownRules extends ChessRules {
return false;
}
return false;
}
- static get Has
Enpassant
() {
+ static get Has
Castle
() {
return false;
}
return false;
}
- getPotentialKingMoves(sq) {
- // No castle
- return this.getSlideNJumpMoves(
- sq,
- V.steps[V.ROOK].concat(V.steps[V.BISHOP]),
- "oneStep"
- );
+ static get HasEnpassant() {
+ return false;
}
static GenRandInitFen(randomness) {
}
static GenRandInitFen(randomness) {