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 });