Rename clue -> hint
This commit is contained in:
parent
5585ca54cb
commit
c08aa2a888
2 changed files with 2 additions and 2 deletions
|
@ -656,7 +656,7 @@ impl GameState {
|
||||||
TurnChoice::Discard(index) => {
|
TurnChoice::Discard(index) => {
|
||||||
assert!(
|
assert!(
|
||||||
self.board.hints_remaining < self.board.hints_total,
|
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);
|
let card = self.take_from_hand(index);
|
||||||
|
|
|
@ -163,7 +163,7 @@ impl PlayerStrategy for CheatingPlayerStrategy {
|
||||||
return TurnChoice::Play(index);
|
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 {
|
if view.board.hints_remaining == view.board.hints_total {
|
||||||
return self.throwaway_hint(view);
|
return self.throwaway_hint(view);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue