Feat: Money is now saved in the Higshcore list. #323

Merged
jona.walpert merged 2 commits from feat/137-Save-money-in-highscore-list into main 2026-05-13 13:06:32 +02:00
Showing only changes of commit fedaa87202 - Show all commits
@@ -14,10 +14,10 @@ class TaskbarControllerInputValidationTest {
void updateLogicRunsWithoutCrash() { void updateLogicRunsWithoutCrash() {
GameState state = new GameState(); GameState state = new GameState();
state.players = List.of( state.players =
List.of(
new Player(PlayerId.of("me"), 20000), new Player(PlayerId.of("me"), 20000),
new Player(PlayerId.of("other"), 20000) new Player(PlayerId.of("other"), 20000));
);
state.phase = "PREFLOP"; state.phase = "PREFLOP";
state.currentBet = 200; state.currentBet = 200;
@@ -31,7 +31,6 @@ class TaskbarControllerInputValidationTest {
} }
static class DummyController { static class DummyController {
void update(GameState state, PlayerId id) { void update(GameState state, PlayerId id) {}
}
} }
} }