From 8ffffd8834d672af568330a3e1453bf2bb55906f Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Mon, 25 Jul 2022 21:38:42 -0600 Subject: [PATCH] Add a writable store the player's hand --- web-svelte/src/stores.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-svelte/src/stores.ts b/web-svelte/src/stores.ts index c41109e..bf5f47a 100644 --- a/web-svelte/src/stores.ts +++ b/web-svelte/src/stores.ts @@ -6,4 +6,5 @@ export const state = writable("main-menu"); export const myName = writable(""); export const isHost = writable(false); export const players = writable<{[index: string]: PlayerData}>({}); -export const board = writable(new Array(54).fill(null)); \ No newline at end of file +export const board = writable(new Array(54).fill(null)); +export const hand = writable([]); \ No newline at end of file