From a7a193c0b95e8d8e7e030c7cb0d453341d05f5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 19 Aug 2022 14:21:10 +0200 Subject: [PATCH] GameState.show: Add player turn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/types.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types.rs b/src/types.rs index 8960b56..3e45480 100644 --- a/src/types.rs +++ b/src/types.rs @@ -416,5 +416,9 @@ impl GameState { print!("{} ", card); }); print!("\n\n"); + + // Player turn + // TODO: End game + println!("Player {} to go.", self.actions.len() % usize::from(self.players) + 1); } }