From 1ec34bc6c76efdda6ff4d4e0e213840d8efa2a8a Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Wed, 17 Feb 2021 00:08:46 +0100 Subject: [PATCH] Better notation [Rugby] --- client/src/variants/Rugby.js | 4 ++++ 1 file changed, 4 insertions(+) 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); + } + }; -- 2.44.0