From: Benjamin Auder Date: Tue, 26 May 2026 22:38:28 +0000 (+0200) Subject: update X-Git-Url: https://git.auder.net/game/doc/html/css/path?a=commitdiff_plain;ds=sidebyside;p=xogo.git update --- diff --git a/variants/Emergo/class.js b/variants/Emergo/class.js index be4d392..3c29f33 100644 --- a/variants/Emergo/class.js +++ b/variants/Emergo/class.js @@ -59,6 +59,8 @@ export default class EmergoRules extends ChessRules { } pieceDef(piece, color, x, y) { + const color = this.getColor(piece); + piece.charAt(0) //this.board[x][y] // --> TODO // Moving always the same, but look differs