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:
@@ -46,6 +46,7 @@ public struct NewRoundCommand : ICommand
|
||||
}
|
||||
}
|
||||
|
||||
state.RoundNumber++;
|
||||
state.Phase = GamePhase.Betting;
|
||||
state.Result = RoundResult.None;
|
||||
world.MarkModified<GameState>(World.SingletonEntity);
|
||||
|
||||
Reference in New Issue
Block a user