X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FRugby.js;h=209def87b95c969c9539bbd4e2f18aaa52c55dbd;hp=04306c265460fd25cd5be3977b4bffda9bbd0aca;hb=6f2f94374f1e73c375edf732d9425e575e81fff7;hpb=9dca2c935cebcaa3817b4f926f482f9cad4c5b53 diff --git a/client/src/variants/Rugby.js b/client/src/variants/Rugby.js index 04306c26..209def87 100644 --- a/client/src/variants/Rugby.js +++ b/client/src/variants/Rugby.js @@ -14,6 +14,8 @@ export class RugbyRules extends ChessRules { ); } + scanKings() {} + getPotentialMovesFrom(sq) { // There are only pawns: return this.getPotentialPawnMoves(sq); @@ -44,6 +46,10 @@ export class RugbyRules extends ChessRules { preUndo() {} postUndo() {} + getCheckSquares() { + return []; + } + getCurrentScore() { // Turn has changed: const color = V.GetOppCol(this.turn);