Skip to content

Commit

Permalink
Fixed Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
shivansh-bhatnagar18 committed May 30, 2024
1 parent f27c148 commit f37eb51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/uno-game-engine/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit f37eb51

Please sign in to comment.