solitaire working (w/o reward)

This commit is contained in:
milo
2025-07-22 20:06:55 +02:00
parent b0b319039c
commit 606f6e4a73

View File

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