X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FRugby.js;h=d802ca1a861d4f8cb30b18408a2a400c69f14985;hb=1ec34bc6c76efdda6ff4d4e0e213840d8efa2a8a;hp=bbe25cb70dd527b1ac30670ee9f061b99b3f6271;hpb=b2511e7ed206464ec369920277f474289c33ec66;p=vchess.git diff --git a/client/src/variants/Rugby.js b/client/src/variants/Rugby.js index bbe25cb7..d802ca1a 100644 --- a/client/src/variants/Rugby.js +++ b/client/src/variants/Rugby.js @@ -63,4 +63,8 @@ export class RugbyRules extends ChessRules { return "1/2"; } + getNotation(move) { + return V.CoordsToSquare(move.start) + V.CoordsToSquare(move.end); + } + };