From: Benjamin Auder Date: Tue, 16 Feb 2021 23:08:46 +0000 (+0100) Subject: Better notation [Rugby] X-Git-Url: https://git.auder.net/doc/html/%7B%7B%20asset%28%27mixstore/css/base.css%27%29%20%7D%7D?a=commitdiff_plain;h=1ec34bc6c76efdda6ff4d4e0e213840d8efa2a8a;p=vchess.git Better notation [Rugby] --- 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); + } + };