From f709e12f07c1f3316340c7d330031863ebbd5e75 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Wed, 29 Apr 2020 03:00:54 +0200
Subject: [PATCH] Show first move indication in Hamilton

---
 TODO                            | 8 ++++----
 client/src/variants/Hamilton.js | 4 ++++
 2 files changed, 8 insertions(+), 4 deletions(-)

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";
   }
-- 
2.44.0