Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmp33 committed Sep 3, 2021
1 parent 1218849 commit 4cf55c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/labrisca/english/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void run() {
// set the game mode
setGameMode();

// create and adds players into game
// create and add players into game
addPlayers();

// shuffle players list to choose who starts the game, set trump and deal 3 first cards to each player
Expand Down Expand Up @@ -136,7 +136,7 @@ private void setGameMode() {
gameMode = UserInput.askGameMode();
}

// create and adds players into game
// create and add players into game
private void addPlayers() {
players.add(new Human("@ericmp33", this));
if (UserInput.askAIBot()) players.add(new AI(this));
Expand Down

0 comments on commit 4cf55c8

Please sign in to comment.