From c08aa2a8888013c844952a98cc925acf074ef6f1 Mon Sep 17 00:00:00 2001 From: timotree3 Date: Thu, 19 Jan 2023 22:45:07 -0500 Subject: [PATCH] Rename clue -> hint --- src/game.rs | 2 +- src/strategies/cheating.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.rs b/src/game.rs index 449c521..4e92989 100644 --- a/src/game.rs +++ b/src/game.rs @@ -656,7 +656,7 @@ impl GameState { TurnChoice::Discard(index) => { assert!( self.board.hints_remaining < self.board.hints_total, - "Tried to discard while at max clue count" + "Tried to discard while at max hint count" ); let card = self.take_from_hand(index); diff --git a/src/strategies/cheating.rs b/src/strategies/cheating.rs index fa42c9b..fd9bc94 100644 --- a/src/strategies/cheating.rs +++ b/src/strategies/cheating.rs @@ -163,7 +163,7 @@ impl PlayerStrategy for CheatingPlayerStrategy { return TurnChoice::Play(index); } - // cannot discard while at max clue count + // cannot discard while at max hint count if view.board.hints_remaining == view.board.hints_total { return self.throwaway_hint(view); }