test: improve blackjack play tests and logging

Refactor `RunRound` to `RunUntilDone` to allow for multi-round
simulations
until a win/loss condition is met. Added round summaries, win/loss/push
tracking, and improved log formatting to provide better visibility into
agent performance.
This commit is contained in:
2026-07-20 17:37:23 +08:00
parent f8d0fe314c
commit 10c4caed90
2 changed files with 103 additions and 28 deletions
@@ -46,6 +46,7 @@ public struct NewRoundCommand : ICommand
}
}
state.RoundNumber++;
state.Phase = GamePhase.Betting;
state.Result = RoundResult.None;
world.MarkModified<GameState>(World.SingletonEntity);