depth for card piles
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user