X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FUpsidedown.js;h=abffd8f917ff9b9d515e9f68073d57a9cce0a648;hp=207682408186ec6d92fdb730082f9c42c4b71fb2;hb=0d5335de5c94d780e03ac0aa3279b731c69455cc;hpb=58bf4670c6bf01d94fe1f798cd5d63493d15e196 diff --git a/client/src/variants/Upsidedown.js b/client/src/variants/Upsidedown.js index 20768240..abffd8f9 100644 --- a/client/src/variants/Upsidedown.js +++ b/client/src/variants/Upsidedown.js @@ -7,10 +7,6 @@ export class UpsidedownRules extends ChessRules { return false; } - static get HasCastle() { - return false; - } - static get HasEnpassant() { return false; } @@ -73,8 +69,9 @@ export class UpsidedownRules extends ChessRules { pieces["w"].join("").toUpperCase() + "/PPPPPPPP/8/8/8/8/pppppppp/" + pieces["b"].join("") + + // No castle, no en-passant: " w 0" - ); //no castle, no en-passant + ); } static get SEARCH_DEPTH() {