depth for card piles

This commit is contained in:
2025-09-02 22:38:04 -04:00
parent 9919b97931
commit 67fdf66cd4
8 changed files with 69 additions and 13 deletions

View File

@@ -116,7 +116,7 @@ export default (config: SimpleConfiguration) =>
resolveQuit: () => null,
getResult: (state) =>
Object.entries(state.playerHands).find(
([_, hand]) => hand.length === 2
([_, hand]) => hand.length === 52
)?.[0],
} satisfies Game<
SimpleGameState,