From: Benjamin Auder Date: Wed, 29 Apr 2020 01:00:54 +0000 (+0200) Subject: Show first move indication in Hamilton X-Git-Url: https://git.auder.net/variants/Chakart/pieces/doc/current/img/cross.svg?a=commitdiff_plain;h=f709e12f07c1f3316340c7d330031863ebbd5e75;p=vchess.git Show first move indication in Hamilton --- diff --git a/TODO b/TODO index 3f470293..cd695996 100644 --- a/TODO +++ b/TODO @@ -3,6 +3,10 @@ Also: if new live game starts in background, "new game" notify OK but not first On smartphone for Teleport, Chakart, Weiqi and some others: option "confirm moves on touch screen" (=> comme pour corr) + option "confirm moves in corr games"? +https://www.chessvariants.com/winning.dir/kinglet.html +you need to win all the pawns to win the game +kings are not royal + https://www.chessvariants.com/diffmove.dir/balaklava.html Rampage Chess: Any Unit May move to any empty square that is guarded. A King cannot make a special move to get out of check. @@ -12,10 +16,6 @@ Swap chess: Friendly pieces may swap places https://www.chessvariants.com/crossover.dir/koopachess.html --> Can a stunned piece capture? Maybe not. ...recover? After 5 moves? Never? -https://www.chessvariants.com/winning.dir/kinglet.html -you need to win all the pawns to win the game -kings are not royal - https://www.chessvariants.com/diffmove.dir/checkers.html --> "Forward" in 1974 by Hans Multhopp diff --git a/client/src/variants/Hamilton.js b/client/src/variants/Hamilton.js index 08994e33..6794e726 100644 --- a/client/src/variants/Hamilton.js +++ b/client/src/variants/Hamilton.js @@ -10,6 +10,10 @@ export class HamiltonRules extends ChessRules { return false; } + get showFirstTurn() { + return true; + } + static get HOLE() { return "xx"; }