From: Benjamin Auder Date: Mon, 10 May 2021 18:59:46 +0000 (+0200) Subject: Attempt to fix Eightpieces X-Git-Url: https://git.auder.net/images/assets/doc/current/app_dev.php?a=commitdiff_plain;h=a0c805ddd5bf1c873167163037ccf0016fa39d02;p=vchess.git Attempt to fix Eightpieces --- diff --git a/client/src/variants/Eightpieces.js b/client/src/variants/Eightpieces.js index dc7580b3..92a4a909 100644 --- a/client/src/variants/Eightpieces.js +++ b/client/src/variants/Eightpieces.js @@ -204,8 +204,8 @@ export class EightpiecesRules extends ChessRules { // => move sentry on other bishop for random color const c = sample(['w', 'b'], 1); pieceLine[c] = pieceLine[c] - .replace('b', 't'); //tmp - .replace('s', 'b'); + .replace('b', 't') //tmp + .replace('s', 'b') .replace('t', 's'); } }