From f37eb5131c8207df25b9847713a42802bc1b35e2 Mon Sep 17 00:00:00 2001 From: Shivansh Bhatnagar Date: Thu, 30 May 2024 14:19:16 +0530 Subject: [PATCH] Fixed Formatting --- backend/uno-game-engine/engine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/uno-game-engine/engine.js b/backend/uno-game-engine/engine.js index f2941ff..e2ae317 100644 --- a/backend/uno-game-engine/engine.js +++ b/backend/uno-game-engine/engine.js @@ -18,7 +18,7 @@ export class GameEngine { throw new Error('Not enough cards to distribute'); } - this.players = this.players.map(player => { + this.players = this.players.map((player) => { player.cards = this.cardDeck.splice(0, NUM_CARDS_PER_PLAYER); return player; });