From 606f6e4a7323c680dac1ec8b063e0be24a231aba Mon Sep 17 00:00:00 2001 From: milo Date: Tue, 22 Jul 2025 20:06:55 +0200 Subject: [PATCH] solitaire working (w/o reward) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7e6774c..6d12d54 100644 --- a/index.js +++ b/index.js @@ -4450,7 +4450,7 @@ async function updatePokerPlayersSolve(roomId) { app.post('/solitaire/start', async (req, res) => { const userId = req.body.userId; - const deck = createDeck(); + const deck = shuffle(createDeck()); const gameState = deal(deck); activeSolitaireGames[userId] = gameState res.json({ success: true, gameState });