something

This commit is contained in:
2025-08-04 00:16:33 -04:00
parent 0dc0a9ce62
commit 5527506cb9
12 changed files with 184 additions and 26 deletions

View File

@@ -60,3 +60,8 @@ export type GameState = {
deck: Pile;
hand: Hand;
};
export const newGame = () =>
({
deck: shuffle(newDeck()),
hand: [],
} as GameState);