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