feat: jan de 6 tables : check dice roll count
This commit is contained in:
parent
17605efe76
commit
3d41517909
5 changed files with 102 additions and 68 deletions
|
|
@ -209,7 +209,7 @@ impl App {
|
|||
let player = &self.game.state.players[player_id];
|
||||
output += format!(
|
||||
"\n{}. {:<8} :: {:<5} :: {}",
|
||||
&player_id, &player.name, &player.holes, &player.points
|
||||
&player_id, &player.name, &player.holes, &player.points,
|
||||
)
|
||||
.as_str();
|
||||
}
|
||||
|
|
@ -263,7 +263,7 @@ Rolled dice : 0 & 0
|
|||
#[test]
|
||||
fn test_move() {
|
||||
let expected = "-------------------------------
|
||||
InGame > myself > MarkAdvPoints
|
||||
InGame > myself > RollDice
|
||||
Rolled dice : 4 & 6
|
||||
|
||||
Player :: holes :: points
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue