diff --git a/src/main/java/com/adaptionsoft/games/Category.java b/src/main/java/com/adaptionsoft/games/Category.java new file mode 100644 index 0000000..f0f8d31 --- /dev/null +++ b/src/main/java/com/adaptionsoft/games/Category.java @@ -0,0 +1,33 @@ +package com.adaptionsoft.games; + +/** + * Created with IntelliJ IDEA. + * User: lai.yi + * Date: 2020/2/2 + * Description: + **/ +public enum Category { + POP("Pop"), + SCIENCE("Science"), + SPORTS("Sports"), + ROCK("Rock"), + BLUES("Blues"), + HISTORY("History"); + + private String value; + + Category(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + public static Category getCurrentCategory(int place) { + int index = place % Category.values().length; + Category category = Category.values()[index]; + System.out.println("The category is " + category.getValue()); + return category; + } +} diff --git a/src/main/java/com/adaptionsoft/games/Game.java b/src/main/java/com/adaptionsoft/games/Game.java index 4795ee7..2dbad58 100644 --- a/src/main/java/com/adaptionsoft/games/Game.java +++ b/src/main/java/com/adaptionsoft/games/Game.java @@ -1,166 +1,68 @@ package com.adaptionsoft.games; -import java.util.ArrayList; -import java.util.LinkedList; +import java.util.Random; public class Game { - ArrayList players = new ArrayList(); - int[] places = new int[6]; - int[] purses = new int[6]; - boolean[] inPenaltyBox = new boolean[6]; - - LinkedList popQuestions = new LinkedList(); - LinkedList scienceQuestions = new LinkedList(); - LinkedList sportsQuestions = new LinkedList(); - LinkedList rockQuestions = new LinkedList(); - - int currentPlayer = 0; - boolean isGettingOutOfPenaltyBox; - - public Game(){ - for (int i = 0; i < 50; i++) { - popQuestions.addLast("Pop Question " + i); - scienceQuestions.addLast(("Science Question " + i)); - sportsQuestions.addLast(("Sports Question " + i)); - rockQuestions.addLast(createRockQuestion(i)); - } + PlayerContainer players = new PlayerContainer(); + QuestionContainer questions = new QuestionContainer(); + + public void run(Random rand) { + while (players.nobodyWin()) { + roll(rand.nextInt(5) + 1); + if (rand.nextInt(9) == 7) { + wrongAnswer(); + } else { + correctAnswer(); + } + players.nextPlayer(); + } } - public String createRockQuestion(int index){ - return "Rock Question " + index; - } - - public boolean isPlayable() { - return (howManyPlayers() >= 2); - } - - public boolean add(String playerName) { - - - players.add(playerName); - places[howManyPlayers()] = 0; - purses[howManyPlayers()] = 0; - inPenaltyBox[howManyPlayers()] = false; - - System.out.println(playerName + " was added"); - System.out.println("They are player number " + players.size()); - return true; - } - - public int howManyPlayers() { - return players.size(); - } - - public void roll(int roll) { - System.out.println(players.get(currentPlayer) + " is the current player"); - System.out.println("They have rolled a " + roll); - - if (inPenaltyBox[currentPlayer]) { - if (roll % 2 != 0) { - isGettingOutOfPenaltyBox = true; - - System.out.println(players.get(currentPlayer) + " is getting out of the penalty box"); - movePlayerAndAskQuestion(roll); - } else { - System.out.println(players.get(currentPlayer) + " is not getting out of the penalty box"); - isGettingOutOfPenaltyBox = false; - } - - } else { - - movePlayerAndAskQuestion(roll); - } - - } - - private void movePlayerAndAskQuestion(int roll) { - places[currentPlayer] = places[currentPlayer] + roll; - if (places[currentPlayer] > 11) places[currentPlayer] = places[currentPlayer] - 12; - - System.out.println(players.get(currentPlayer) - + "'s new location is " - + places[currentPlayer]); - System.out.println("The category is " + currentCategory()); - askQuestion(); - } - - private void askQuestion() { - if (currentCategory() == "Pop") - System.out.println(popQuestions.removeFirst()); - if (currentCategory() == "Science") - System.out.println(scienceQuestions.removeFirst()); - if (currentCategory() == "Sports") - System.out.println(sportsQuestions.removeFirst()); - if (currentCategory() == "Rock") - System.out.println(rockQuestions.removeFirst()); - } - - - private String currentCategory() { - if (places[currentPlayer] == 0) return "Pop"; - if (places[currentPlayer] == 4) return "Pop"; - if (places[currentPlayer] == 8) return "Pop"; - if (places[currentPlayer] == 1) return "Science"; - if (places[currentPlayer] == 5) return "Science"; - if (places[currentPlayer] == 9) return "Science"; - if (places[currentPlayer] == 2) return "Sports"; - if (places[currentPlayer] == 6) return "Sports"; - if (places[currentPlayer] == 10) return "Sports"; - return "Rock"; - } - - public boolean wasCorrectlyAnswered() { - if (inPenaltyBox[currentPlayer]){ - if (isGettingOutOfPenaltyBox) { - System.out.println("Answer was correct!!!!"); - currentPlayer++; - if (currentPlayer == players.size()) currentPlayer = 0; - purses[currentPlayer]++; - System.out.println(players.get(currentPlayer) - + " now has " - + purses[currentPlayer] - + " Gold Coins."); - - boolean winner = didPlayerWin(); - - return winner; - } else { - currentPlayer++; - if (currentPlayer == players.size()) currentPlayer = 0; - return true; - } - - - - } else { - - System.out.println("Answer was corrent!!!!"); - purses[currentPlayer]++; - System.out.println(players.get(currentPlayer) - + " now has " - + purses[currentPlayer] - + " Gold Coins."); - - boolean winner = didPlayerWin(); - currentPlayer++; - if (currentPlayer == players.size()) currentPlayer = 0; + public void addPlayer(String playerName) { + players.addPlayer(playerName); + } - return winner; - } - } + public void roll(int roll) { + System.out.println(players.getCurrentPlayer().getName() + " is the current player"); + System.out.println("They have rolled a " + roll); + + if (!isCurrentPlayerInPenaltyBox()) { + players.getCurrentPlayer().moveTo(roll); + askQuestion(); + return; + } + + if (roll % 2 != 0) { + players.getCurrentPlayer().getOutOfPenaltyBox(); + players.getCurrentPlayer().moveTo(roll); + askQuestion(); + } else { + players.getCurrentPlayer().stayInPenaltyBox(); + } + } - public boolean wrongAnswer(){ - System.out.println("Question was incorrectly answered"); - System.out.println(players.get(currentPlayer)+ " was sent to the penalty box"); - inPenaltyBox[currentPlayer] = true; + private void askQuestion() { + int currentPlace = players.getCurrentPlayer().getPlace(); + Category currentCategory = Category.getCurrentCategory(currentPlace); + String question = questions.getNextQuestion(currentCategory); + System.out.println(question); + } - currentPlayer++; - if (currentPlayer == players.size()) currentPlayer = 0; - return true; - } + public void correctAnswer() { + if (!isCurrentPlayerInPenaltyBox()) { + System.out.println("Answer was correct!!!!"); + players.getCurrentPlayer().gainGoldCoin(); + } + } + public void wrongAnswer() { + if (!isCurrentPlayerInPenaltyBox()) { + System.out.println("Question was incorrectly answered"); + players.getCurrentPlayer().sendToPenaltyBox(); + } + } - private boolean didPlayerWin() { - return !(purses[currentPlayer] == 6); - } + private boolean isCurrentPlayerInPenaltyBox() { + return players.getCurrentPlayer().isInPenaltyBox(); + } } diff --git a/src/main/java/com/adaptionsoft/games/GameRunner.java b/src/main/java/com/adaptionsoft/games/GameRunner.java deleted file mode 100644 index 53bbc5c..0000000 --- a/src/main/java/com/adaptionsoft/games/GameRunner.java +++ /dev/null @@ -1,39 +0,0 @@ - -package com.adaptionsoft.games; - -import java.util.Random; - - -public class GameRunner { - - private static boolean notAWinner; - - public static void main(String[] args) { - Random rand = new Random(); - playGame(rand); - - } - - public static void playGame(Random rand) { - Game aGame = new Game(); - - aGame.add("Chet"); - aGame.add("Pat"); - aGame.add("Sue"); - - - do { - - aGame.roll(rand.nextInt(5) + 1); - - if (rand.nextInt(9) == 7) { - notAWinner = aGame.wrongAnswer(); - } else { - notAWinner = aGame.wasCorrectlyAnswered(); - } - - - - } while (notAWinner); - } -} diff --git a/src/main/java/com/adaptionsoft/games/Player.java b/src/main/java/com/adaptionsoft/games/Player.java new file mode 100644 index 0000000..313e1e6 --- /dev/null +++ b/src/main/java/com/adaptionsoft/games/Player.java @@ -0,0 +1,62 @@ +package com.adaptionsoft.games; + +/** + * Created with IntelliJ IDEA. + * User: lai.yi + * Date: 2020/2/2 + * Description: + **/ +public class Player { + private String name; + private int place = 0; + private int goldCoin = 0; + private boolean isInPenaltyBox = false; + + public Player(String name) { + System.out.println(name + " was added"); + this.name = name; + } + + public String getName() { + return name; + } + + public void moveTo(int roll) { + place += roll; + if (place > 11) { + place -= 12; + } + System.out.println(name + "'s new location is " + place); + } + + public void gainGoldCoin() { + goldCoin++; + System.out.println(name + " now has " + goldCoin + " Gold Coins."); + } + + public void sendToPenaltyBox() { + isInPenaltyBox = true; + System.out.println(name + " was sent to the penalty box"); + } + + public void getOutOfPenaltyBox() { + isInPenaltyBox = false; + System.out.println(name + " is getting out of the penalty box"); + } + + public boolean isWin() { + return goldCoin >= 6; + } + + public int getPlace() { + return place; + } + + public boolean isInPenaltyBox() { + return isInPenaltyBox; + } + + public void stayInPenaltyBox() { + System.out.println(name + " is not getting out of the penalty box"); + } +} diff --git a/src/main/java/com/adaptionsoft/games/PlayerContainer.java b/src/main/java/com/adaptionsoft/games/PlayerContainer.java new file mode 100644 index 0000000..34175fc --- /dev/null +++ b/src/main/java/com/adaptionsoft/games/PlayerContainer.java @@ -0,0 +1,32 @@ +package com.adaptionsoft.games; + +import java.util.ArrayList; + +/** + * Created with IntelliJ IDEA. + * User: lai.yi + * Date: 2020/2/2 + * Description: + **/ +public class PlayerContainer { + private ArrayList players = new ArrayList<>(); + private int currentPlayer = 0; + + public void addPlayer(String playerName) { + players.add(new Player(playerName)); + System.out.println("They are player number " + players.size()); + } + + public void nextPlayer() { + currentPlayer++; + if (currentPlayer == players.size()) currentPlayer = 0; + } + + public Player getCurrentPlayer() { + return players.get(currentPlayer); + } + + public boolean nobodyWin(){ + return players.stream().noneMatch(Player::isWin); + } +} diff --git a/src/main/java/com/adaptionsoft/games/QuestionContainer.java b/src/main/java/com/adaptionsoft/games/QuestionContainer.java new file mode 100644 index 0000000..d51b8cd --- /dev/null +++ b/src/main/java/com/adaptionsoft/games/QuestionContainer.java @@ -0,0 +1,29 @@ +package com.adaptionsoft.games; + +import java.util.HashMap; +import java.util.LinkedList; + +/** + * Created with IntelliJ IDEA. + * User: lai.yi + * Date: 2020/2/2 + * Description: + **/ +public class QuestionContainer { + private HashMap> questionMap = new HashMap<>(); + + public QuestionContainer() { + for (Category category : Category.values()) { + LinkedList list = new LinkedList<>(); + for (int i = 0; i < 50; i++) { + String question = category.getValue() + " Question " + i; + list.addLast(question); + } + questionMap.put(category, list); + } + } + + public String getNextQuestion(Category category) { + return questionMap.get(category).removeFirst(); + } +} diff --git a/src/test/java/com/adaptionsoft/games/GameTest.itsLockedDown.approved.txt b/src/test/java/com/adaptionsoft/games/GameTest.itsLockedDown.approved.txt index 88f5a3d..b453c23 100644 --- a/src/test/java/com/adaptionsoft/games/GameTest.itsLockedDown.approved.txt +++ b/src/test/java/com/adaptionsoft/games/GameTest.itsLockedDown.approved.txt @@ -7,107 +7,114 @@ They are player number 3 Chet is the current player They have rolled a 4 Chet's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! +The category is Blues +Blues Question 0 +Answer was correct!!!! Chet now has 1 Gold Coins. Pat is the current player They have rolled a 2 Pat's new location is 2 The category is Sports Sports Question 0 -Answer was corrent!!!! +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player They have rolled a 4 Sue's new location is 4 -The category is Pop -Pop Question 1 -Answer was corrent!!!! +The category is Blues +Blues Question 1 +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player They have rolled a 3 Chet's new location is 7 -The category is Rock -Rock Question 0 -Answer was corrent!!!! +The category is Science +Science Question 0 +Answer was correct!!!! Chet now has 2 Gold Coins. Pat is the current player They have rolled a 4 Pat's new location is 6 -The category is Sports -Sports Question 1 -Answer was corrent!!!! +The category is Pop +Pop Question 0 +Answer was correct!!!! Pat now has 2 Gold Coins. Sue is the current player They have rolled a 3 Sue's new location is 7 -The category is Rock -Rock Question 1 -Answer was corrent!!!! +The category is Science +Science Question 1 +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player They have rolled a 2 Chet's new location is 9 -The category is Science -Science Question 0 -Answer was corrent!!!! +The category is Rock +Rock Question 0 +Answer was correct!!!! Chet now has 3 Gold Coins. Pat is the current player They have rolled a 5 Pat's new location is 11 -The category is Rock -Rock Question 2 -Answer was corrent!!!! +The category is History +History Question 0 +Answer was correct!!!! Pat now has 3 Gold Coins. Sue is the current player They have rolled a 5 Sue's new location is 0 The category is Pop -Pop Question 2 -Answer was corrent!!!! +Pop Question 1 +Answer was correct!!!! Sue now has 3 Gold Coins. Chet is the current player They have rolled a 4 Chet's new location is 1 The category is Science -Science Question 1 -Answer was corrent!!!! +Science Question 2 +Answer was correct!!!! Chet now has 4 Gold Coins. Pat is the current player They have rolled a 2 Pat's new location is 1 The category is Science -Science Question 2 -Answer was corrent!!!! +Science Question 3 +Answer was correct!!!! Pat now has 4 Gold Coins. Sue is the current player They have rolled a 3 Sue's new location is 3 The category is Rock -Rock Question 3 +Rock Question 1 Question was incorrectly answered Sue was sent to the penalty box Chet is the current player They have rolled a 5 Chet's new location is 6 -The category is Sports -Sports Question 2 -Answer was corrent!!!! +The category is Pop +Pop Question 2 +Answer was correct!!!! Chet now has 5 Gold Coins. Pat is the current player They have rolled a 1 Pat's new location is 2 The category is Sports -Sports Question 3 -Answer was corrent!!!! +Sports Question 1 +Answer was correct!!!! Pat now has 5 Gold Coins. Sue is the current player They have rolled a 5 Sue is getting out of the penalty box Sue's new location is 8 -The category is Pop -Pop Question 3 +The category is Sports +Sports Question 2 +Answer was correct!!!! +Sue now has 4 Gold Coins. +Chet is the current player +They have rolled a 2 +Chet's new location is 8 +The category is Sports +Sports Question 3 Answer was correct!!!! Chet now has 6 Gold Coins. Chet was added @@ -117,104 +124,119 @@ They are player number 2 Sue was added They are player number 3 Chet is the current player -They have rolled a 2 -Chet's new location is 2 -The category is Sports -Sports Question 0 -Answer was corrent!!!! +They have rolled a 1 +Chet's new location is 1 +The category is Science +Science Question 0 +Answer was correct!!!! Chet now has 1 Gold Coins. Pat is the current player They have rolled a 1 Pat's new location is 1 The category is Science -Science Question 0 -Answer was corrent!!!! +Science Question 1 +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player -They have rolled a 1 -Sue's new location is 1 -The category is Science -Science Question 1 -Answer was corrent!!!! +They have rolled a 3 +Sue's new location is 3 +The category is Rock +Rock Question 0 +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player -They have rolled a 3 -Chet's new location is 5 -The category is Science -Science Question 2 -Answer was corrent!!!! -Chet now has 2 Gold Coins. -Pat is the current player They have rolled a 2 -Pat's new location is 3 +Chet's new location is 3 The category is Rock -Rock Question 0 +Rock Question 1 Question was incorrectly answered -Pat was sent to the penalty box -Sue is the current player +Chet was sent to the penalty box +Pat is the current player They have rolled a 3 -Sue's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! +Pat's new location is 4 +The category is Blues +Blues Question 0 +Answer was correct!!!! +Pat now has 2 Gold Coins. +Sue is the current player +They have rolled a 5 +Sue's new location is 8 +The category is Sports +Sports Question 0 +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player They have rolled a 5 -Chet's new location is 10 +Chet is getting out of the penalty box +Chet's new location is 8 The category is Sports Sports Question 1 -Answer was corrent!!!! -Chet now has 3 Gold Coins. -Pat is the current player -They have rolled a 5 -Pat is getting out of the penalty box -Pat's new location is 8 -The category is Pop -Pop Question 1 -Question was incorrectly answered -Pat was sent to the penalty box -Sue is the current player -They have rolled a 4 -Sue's new location is 8 -The category is Pop -Pop Question 2 -Answer was corrent!!!! -Sue now has 3 Gold Coins. -Chet is the current player -They have rolled a 2 -Chet's new location is 0 -The category is Pop -Pop Question 3 Question was incorrectly answered Chet was sent to the penalty box Pat is the current player They have rolled a 4 -Pat is not getting out of the penalty box +Pat's new location is 8 +The category is Sports +Sports Question 2 +Answer was correct!!!! +Pat now has 3 Gold Coins. Sue is the current player -They have rolled a 1 -Sue's new location is 9 -The category is Science -Science Question 3 -Answer was corrent!!!! -Sue now has 4 Gold Coins. +They have rolled a 2 +Sue's new location is 10 +The category is Blues +Blues Question 1 +Question was incorrectly answered +Sue was sent to the penalty box Chet is the current player They have rolled a 4 Chet is not getting out of the penalty box Pat is the current player -They have rolled a 3 -Pat is getting out of the penalty box -Pat's new location is 11 +They have rolled a 1 +Pat's new location is 9 The category is Rock -Rock Question 1 +Rock Question 2 Answer was correct!!!! -Sue now has 5 Gold Coins. +Pat now has 4 Gold Coins. Sue is the current player +They have rolled a 4 +Sue is not getting out of the penalty box +Chet is the current player +They have rolled a 3 +Chet is getting out of the penalty box +Chet's new location is 11 +The category is History +History Question 0 +Answer was correct!!!! +Chet now has 2 Gold Coins. +Pat is the current player They have rolled a 5 -Sue's new location is 2 +Pat's new location is 2 The category is Sports -Sports Question 2 -Answer was corrent!!!! -Sue now has 6 Gold Coins. +Sports Question 3 +Answer was correct!!!! +Pat now has 5 Gold Coins. +Sue is the current player +They have rolled a 1 +Sue is getting out of the penalty box +Sue's new location is 11 +The category is History +History Question 1 +Answer was correct!!!! +Sue now has 3 Gold Coins. +Chet is the current player +They have rolled a 5 +Chet's new location is 4 +The category is Blues +Blues Question 2 +Answer was correct!!!! +Chet now has 3 Gold Coins. +Pat is the current player +They have rolled a 1 +Pat's new location is 3 +The category is Rock +Rock Question 3 +Answer was correct!!!! +Pat now has 6 Gold Coins. Chet was added They are player number 1 Pat was added @@ -222,122 +244,132 @@ They are player number 2 Sue was added They are player number 3 Chet is the current player -They have rolled a 1 -Chet's new location is 1 -The category is Science -Science Question 0 -Answer was corrent!!!! -Chet now has 1 Gold Coins. -Pat is the current player -They have rolled a 5 -Pat's new location is 5 -The category is Science -Science Question 1 -Answer was corrent!!!! -Pat now has 1 Gold Coins. -Sue is the current player -They have rolled a 1 -Sue's new location is 1 -The category is Science -Science Question 2 -Answer was corrent!!!! -Sue now has 1 Gold Coins. -Chet is the current player They have rolled a 4 -Chet's new location is 5 -The category is Science -Science Question 3 -Answer was corrent!!!! -Chet now has 2 Gold Coins. +Chet's new location is 4 +The category is Blues +Blues Question 0 +Answer was correct!!!! +Chet now has 1 Gold Coins. Pat is the current player They have rolled a 3 -Pat's new location is 8 -The category is Pop -Pop Question 0 +Pat's new location is 3 +The category is Rock +Rock Question 0 Question was incorrectly answered Pat was sent to the penalty box Sue is the current player They have rolled a 2 -Sue's new location is 3 -The category is Rock -Rock Question 0 -Answer was corrent!!!! -Sue now has 2 Gold Coins. +Sue's new location is 2 +The category is Sports +Sports Question 0 +Answer was correct!!!! +Sue now has 1 Gold Coins. Chet is the current player They have rolled a 4 -Chet's new location is 9 -The category is Science -Science Question 4 -Answer was corrent!!!! -Chet now has 3 Gold Coins. +Chet's new location is 8 +The category is Sports +Sports Question 1 +Answer was correct!!!! +Chet now has 2 Gold Coins. Pat is the current player They have rolled a 5 Pat is getting out of the penalty box -Pat's new location is 1 -The category is Science -Science Question 5 +Pat's new location is 8 +The category is Sports +Sports Question 2 Answer was correct!!!! -Sue now has 3 Gold Coins. +Pat now has 1 Gold Coins. Sue is the current player They have rolled a 4 -Sue's new location is 7 -The category is Rock -Rock Question 1 +Sue's new location is 6 +The category is Pop +Pop Question 0 Question was incorrectly answered Sue was sent to the penalty box Chet is the current player They have rolled a 3 -Chet's new location is 0 -The category is Pop -Pop Question 1 +Chet's new location is 11 +The category is History +History Question 0 Question was incorrectly answered Chet was sent to the penalty box Pat is the current player They have rolled a 3 -Pat is getting out of the penalty box -Pat's new location is 4 -The category is Pop -Pop Question 2 +Pat's new location is 11 +The category is History +History Question 1 Answer was correct!!!! -Sue now has 4 Gold Coins. +Pat now has 2 Gold Coins. Sue is the current player They have rolled a 5 Sue is getting out of the penalty box -Sue's new location is 0 -The category is Pop -Pop Question 3 +Sue's new location is 11 +The category is History +History Question 2 Answer was correct!!!! -Chet now has 4 Gold Coins. +Sue now has 2 Gold Coins. Chet is the current player They have rolled a 2 Chet is not getting out of the penalty box Pat is the current player They have rolled a 5 -Pat is getting out of the penalty box -Pat's new location is 9 -The category is Science -Science Question 6 +Pat's new location is 4 +The category is Blues +Blues Question 1 Answer was correct!!!! -Sue now has 5 Gold Coins. +Pat now has 3 Gold Coins. Sue is the current player They have rolled a 5 -Sue is getting out of the penalty box -Sue's new location is 5 +Sue's new location is 4 +The category is Blues +Blues Question 2 +Answer was correct!!!! +Sue now has 3 Gold Coins. +Chet is the current player +They have rolled a 4 +Chet is not getting out of the penalty box +Pat is the current player +They have rolled a 3 +Pat's new location is 7 The category is Science -Science Question 7 +Science Question 0 Answer was correct!!!! -Chet now has 5 Gold Coins. +Pat now has 4 Gold Coins. +Sue is the current player +They have rolled a 1 +Sue's new location is 5 +The category is History +History Question 3 +Question was incorrectly answered +Sue was sent to the penalty box Chet is the current player They have rolled a 4 Chet is not getting out of the penalty box Pat is the current player +They have rolled a 2 +Pat's new location is 9 +The category is Rock +Rock Question 1 +Answer was correct!!!! +Pat now has 5 Gold Coins. +Sue is the current player +They have rolled a 2 +Sue is not getting out of the penalty box +Chet is the current player They have rolled a 3 -Pat is getting out of the penalty box -Pat's new location is 0 -The category is Pop -Pop Question 4 +Chet is getting out of the penalty box +Chet's new location is 2 +The category is Sports +Sports Question 3 Answer was correct!!!! -Sue now has 6 Gold Coins. +Chet now has 3 Gold Coins. +Pat is the current player +They have rolled a 4 +Pat's new location is 1 +The category is Science +Science Question 1 +Answer was correct!!!! +Pat now has 6 Gold Coins. Chet was added They are player number 1 Pat was added @@ -345,168 +377,129 @@ They are player number 2 Sue was added They are player number 3 Chet is the current player -They have rolled a 1 -Chet's new location is 1 -The category is Science -Science Question 0 -Question was incorrectly answered -Chet was sent to the penalty box +They have rolled a 2 +Chet's new location is 2 +The category is Sports +Sports Question 0 +Answer was correct!!!! +Chet now has 1 Gold Coins. Pat is the current player They have rolled a 4 Pat's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! +The category is Blues +Blues Question 0 +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player -They have rolled a 2 -Sue's new location is 2 -The category is Sports -Sports Question 0 -Answer was corrent!!!! -Sue now has 1 Gold Coins. -Chet is the current player -They have rolled a 2 -Chet is not getting out of the penalty box -Pat is the current player They have rolled a 3 -Pat's new location is 7 +Sue's new location is 3 The category is Rock Rock Question 0 -Answer was corrent!!!! +Answer was correct!!!! +Sue now has 1 Gold Coins. +Chet is the current player +They have rolled a 3 +Chet's new location is 5 +The category is History +History Question 0 +Answer was correct!!!! +Chet now has 2 Gold Coins. +Pat is the current player +They have rolled a 1 +Pat's new location is 5 +The category is History +History Question 1 +Answer was correct!!!! Pat now has 2 Gold Coins. Sue is the current player -They have rolled a 4 -Sue's new location is 6 +They have rolled a 5 +Sue's new location is 8 The category is Sports Sports Question 1 -Answer was corrent!!!! +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player -They have rolled a 2 -Chet is not getting out of the penalty box +They have rolled a 5 +Chet's new location is 10 +The category is Blues +Blues Question 1 +Answer was correct!!!! +Chet now has 3 Gold Coins. Pat is the current player They have rolled a 4 -Pat's new location is 11 +Pat's new location is 9 The category is Rock Rock Question 1 -Answer was corrent!!!! -Pat now has 3 Gold Coins. +Question was incorrectly answered +Pat was sent to the penalty box Sue is the current player They have rolled a 3 -Sue's new location is 9 -The category is Science -Science Question 1 -Answer was corrent!!!! -Sue now has 3 Gold Coins. -Chet is the current player -They have rolled a 3 -Chet is getting out of the penalty box -Chet's new location is 4 -The category is Pop -Pop Question 1 +Sue's new location is 11 +The category is History +History Question 2 Answer was correct!!!! -Pat now has 4 Gold Coins. -Pat is the current player -They have rolled a 1 -Pat's new location is 0 -The category is Pop -Pop Question 2 -Answer was corrent!!!! -Pat now has 5 Gold Coins. -Sue is the current player -They have rolled a 5 -Sue's new location is 2 -The category is Sports -Sports Question 2 -Answer was corrent!!!! -Sue now has 4 Gold Coins. +Sue now has 3 Gold Coins. Chet is the current player They have rolled a 5 -Chet is getting out of the penalty box -Chet's new location is 9 -The category is Science -Science Question 2 -Answer was correct!!!! -Pat now has 6 Gold Coins. -Chet was added -They are player number 1 -Pat was added -They are player number 2 -Sue was added -They are player number 3 -Chet is the current player -They have rolled a 4 -Chet's new location is 4 -The category is Pop -Pop Question 0 +Chet's new location is 3 +The category is Rock +Rock Question 2 Question was incorrectly answered Chet was sent to the penalty box Pat is the current player -They have rolled a 3 -Pat's new location is 3 -The category is Rock -Rock Question 0 -Answer was corrent!!!! -Pat now has 1 Gold Coins. -Sue is the current player -They have rolled a 5 -Sue's new location is 5 -The category is Science -Science Question 0 -Question was incorrectly answered -Sue was sent to the penalty box -Chet is the current player They have rolled a 1 -Chet is getting out of the penalty box -Chet's new location is 5 -The category is Science -Science Question 1 +Pat is getting out of the penalty box +Pat's new location is 10 +The category is Blues +Blues Question 2 Answer was correct!!!! -Pat now has 2 Gold Coins. -Pat is the current player -They have rolled a 2 -Pat's new location is 5 -The category is Science -Science Question 2 -Answer was corrent!!!! Pat now has 3 Gold Coins. Sue is the current player They have rolled a 2 -Sue is not getting out of the penalty box +Sue's new location is 1 +The category is Science +Science Question 0 +Answer was correct!!!! +Sue now has 4 Gold Coins. Chet is the current player -They have rolled a 4 +They have rolled a 2 Chet is not getting out of the penalty box Pat is the current player -They have rolled a 3 -Pat's new location is 8 -The category is Pop -Pop Question 1 -Answer was corrent!!!! +They have rolled a 4 +Pat's new location is 2 +The category is Sports +Sports Question 2 +Answer was correct!!!! Pat now has 4 Gold Coins. Sue is the current player -They have rolled a 5 -Sue is getting out of the penalty box -Sue's new location is 10 -The category is Sports -Sports Question 0 +They have rolled a 3 +Sue's new location is 4 +The category is Blues +Blues Question 3 Answer was correct!!!! -Chet now has 1 Gold Coins. +Sue now has 5 Gold Coins. Chet is the current player -They have rolled a 3 +They have rolled a 5 Chet is getting out of the penalty box Chet's new location is 8 -The category is Pop -Pop Question 2 +The category is Sports +Sports Question 3 Answer was correct!!!! -Pat now has 5 Gold Coins. +Chet now has 4 Gold Coins. Pat is the current player +They have rolled a 3 +Pat's new location is 5 +The category is History +History Question 3 +Answer was correct!!!! +Pat now has 5 Gold Coins. +Sue is the current player They have rolled a 1 -Pat's new location is 9 -The category is Science -Science Question 3 -Answer was corrent!!!! -Pat now has 6 Gold Coins. +Sue's new location is 5 +The category is History +History Question 4 +Answer was correct!!!! +Sue now has 6 Gold Coins. Chet was added They are player number 1 Pat was added @@ -516,93 +509,93 @@ They are player number 3 Chet is the current player They have rolled a 4 Chet's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! +The category is Blues +Blues Question 0 +Answer was correct!!!! Chet now has 1 Gold Coins. Pat is the current player They have rolled a 5 Pat's new location is 5 -The category is Science -Science Question 0 -Answer was corrent!!!! +The category is History +History Question 0 +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player They have rolled a 4 Sue's new location is 4 -The category is Pop -Pop Question 1 -Answer was corrent!!!! +The category is Blues +Blues Question 1 +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player They have rolled a 1 Chet's new location is 5 -The category is Science -Science Question 1 -Answer was corrent!!!! +The category is History +History Question 1 +Answer was correct!!!! Chet now has 2 Gold Coins. Pat is the current player They have rolled a 4 Pat's new location is 9 -The category is Science -Science Question 2 -Answer was corrent!!!! +The category is Rock +Rock Question 0 +Answer was correct!!!! Pat now has 2 Gold Coins. Sue is the current player They have rolled a 3 Sue's new location is 7 -The category is Rock -Rock Question 0 -Answer was corrent!!!! +The category is Science +Science Question 0 +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player They have rolled a 3 Chet's new location is 8 -The category is Pop -Pop Question 2 -Answer was corrent!!!! +The category is Sports +Sports Question 0 +Answer was correct!!!! Chet now has 3 Gold Coins. Pat is the current player They have rolled a 5 Pat's new location is 2 The category is Sports -Sports Question 0 -Answer was corrent!!!! +Sports Question 1 +Answer was correct!!!! Pat now has 3 Gold Coins. Sue is the current player They have rolled a 2 Sue's new location is 9 -The category is Science -Science Question 3 -Answer was corrent!!!! +The category is Rock +Rock Question 1 +Answer was correct!!!! Sue now has 3 Gold Coins. Chet is the current player They have rolled a 2 Chet's new location is 10 -The category is Sports -Sports Question 1 -Answer was corrent!!!! +The category is Blues +Blues Question 2 +Answer was correct!!!! Chet now has 4 Gold Coins. Pat is the current player They have rolled a 4 Pat's new location is 6 -The category is Sports -Sports Question 2 +The category is Pop +Pop Question 0 Question was incorrectly answered Pat was sent to the penalty box Sue is the current player They have rolled a 5 Sue's new location is 2 The category is Sports -Sports Question 3 -Answer was corrent!!!! +Sports Question 2 +Answer was correct!!!! Sue now has 4 Gold Coins. Chet is the current player They have rolled a 1 Chet's new location is 11 -The category is Rock -Rock Question 1 -Answer was corrent!!!! +The category is History +History Question 2 +Answer was correct!!!! Chet now has 5 Gold Coins. Pat is the current player They have rolled a 2 @@ -617,9 +610,9 @@ Sue was sent to the penalty box Chet is the current player They have rolled a 5 Chet's new location is 4 -The category is Pop -Pop Question 3 -Answer was corrent!!!! +The category is Blues +Blues Question 3 +Answer was correct!!!! Chet now has 6 Gold Coins. Chet was added They are player number 1 @@ -630,81 +623,81 @@ They are player number 3 Chet is the current player They have rolled a 4 Chet's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! +The category is Blues +Blues Question 0 +Answer was correct!!!! Chet now has 1 Gold Coins. Pat is the current player They have rolled a 1 Pat's new location is 1 The category is Science Science Question 0 -Answer was corrent!!!! +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player They have rolled a 1 Sue's new location is 1 The category is Science Science Question 1 -Answer was corrent!!!! +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player They have rolled a 3 Chet's new location is 7 -The category is Rock -Rock Question 0 -Answer was corrent!!!! +The category is Science +Science Question 2 +Answer was correct!!!! Chet now has 2 Gold Coins. Pat is the current player They have rolled a 4 Pat's new location is 5 -The category is Science -Science Question 2 -Answer was corrent!!!! +The category is History +History Question 0 +Answer was correct!!!! Pat now has 2 Gold Coins. Sue is the current player They have rolled a 4 Sue's new location is 5 -The category is Science -Science Question 3 -Answer was corrent!!!! +The category is History +History Question 1 +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player They have rolled a 2 Chet's new location is 9 -The category is Science -Science Question 4 -Answer was corrent!!!! +The category is Rock +Rock Question 0 +Answer was correct!!!! Chet now has 3 Gold Coins. Pat is the current player They have rolled a 3 Pat's new location is 8 -The category is Pop -Pop Question 1 +The category is Sports +Sports Question 0 Question was incorrectly answered Pat was sent to the penalty box Sue is the current player They have rolled a 5 Sue's new location is 10 -The category is Sports -Sports Question 0 +The category is Blues +Blues Question 1 Question was incorrectly answered Sue was sent to the penalty box Chet is the current player They have rolled a 3 Chet's new location is 0 The category is Pop -Pop Question 2 +Pop Question 0 Question was incorrectly answered Chet was sent to the penalty box Pat is the current player They have rolled a 1 Pat is getting out of the penalty box Pat's new location is 9 -The category is Science -Science Question 5 +The category is Rock +Rock Question 1 Answer was correct!!!! -Sue now has 3 Gold Coins. +Pat now has 3 Gold Coins. Sue is the current player They have rolled a 2 Sue is not getting out of the penalty box @@ -713,34 +706,31 @@ They have rolled a 1 Chet is getting out of the penalty box Chet's new location is 1 The category is Science -Science Question 6 +Science Question 3 Answer was correct!!!! -Pat now has 3 Gold Coins. +Chet now has 4 Gold Coins. Pat is the current player They have rolled a 3 -Pat is getting out of the penalty box Pat's new location is 0 The category is Pop -Pop Question 3 +Pop Question 1 Answer was correct!!!! -Sue now has 4 Gold Coins. +Pat now has 4 Gold Coins. Sue is the current player They have rolled a 2 Sue is not getting out of the penalty box Chet is the current player They have rolled a 5 -Chet is getting out of the penalty box Chet's new location is 6 -The category is Sports -Sports Question 1 +The category is Pop +Pop Question 2 Answer was correct!!!! -Pat now has 4 Gold Coins. +Chet now has 5 Gold Coins. Pat is the current player They have rolled a 1 -Pat is getting out of the penalty box Pat's new location is 1 The category is Science -Science Question 7 +Science Question 4 Question was incorrectly answered Pat was sent to the penalty box Sue is the current player @@ -748,41 +738,16 @@ They have rolled a 3 Sue is getting out of the penalty box Sue's new location is 1 The category is Science -Science Question 8 +Science Question 5 Answer was correct!!!! -Chet now has 4 Gold Coins. +Sue now has 3 Gold Coins. Chet is the current player They have rolled a 1 -Chet is getting out of the penalty box Chet's new location is 7 -The category is Rock -Rock Question 1 -Answer was correct!!!! -Pat now has 5 Gold Coins. -Pat is the current player -They have rolled a 5 -Pat is getting out of the penalty box -Pat's new location is 6 -The category is Sports -Sports Question 2 -Answer was correct!!!! -Sue now has 5 Gold Coins. -Sue is the current player -They have rolled a 5 -Sue is getting out of the penalty box -Sue's new location is 6 -The category is Sports -Sports Question 3 -Answer was correct!!!! -Chet now has 5 Gold Coins. -Chet is the current player -They have rolled a 3 -Chet is getting out of the penalty box -Chet's new location is 10 -The category is Sports -Sports Question 4 +The category is Science +Science Question 6 Answer was correct!!!! -Pat now has 6 Gold Coins. +Chet now has 6 Gold Coins. Chet was added They are player number 1 Pat was added @@ -790,98 +755,117 @@ They are player number 2 Sue was added They are player number 3 Chet is the current player -They have rolled a 4 -Chet's new location is 4 -The category is Pop -Pop Question 0 -Question was incorrectly answered -Chet was sent to the penalty box +They have rolled a 5 +Chet's new location is 5 +The category is History +History Question 0 +Answer was correct!!!! +Chet now has 1 Gold Coins. Pat is the current player They have rolled a 5 Pat's new location is 5 -The category is Science -Science Question 0 -Answer was corrent!!!! +The category is History +History Question 1 +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player -They have rolled a 1 -Sue's new location is 1 -The category is Science -Science Question 1 -Answer was corrent!!!! +They have rolled a 3 +Sue's new location is 3 +The category is Rock +Rock Question 0 +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player They have rolled a 4 -Chet is not getting out of the penalty box +Chet's new location is 9 +The category is Rock +Rock Question 1 Question was incorrectly answered Chet was sent to the penalty box Pat is the current player -They have rolled a 3 -Pat's new location is 8 -The category is Pop -Pop Question 1 -Answer was corrent!!!! +They have rolled a 5 +Pat's new location is 10 +The category is Blues +Blues Question 0 +Answer was correct!!!! Pat now has 2 Gold Coins. Sue is the current player -They have rolled a 2 -Sue's new location is 3 -The category is Rock -Rock Question 0 -Answer was corrent!!!! +They have rolled a 1 +Sue's new location is 4 +The category is Blues +Blues Question 1 +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player They have rolled a 4 Chet is not getting out of the penalty box Pat is the current player -They have rolled a 4 -Pat's new location is 0 -The category is Pop -Pop Question 2 -Answer was corrent!!!! +They have rolled a 3 +Pat's new location is 1 +The category is Science +Science Question 0 +Answer was correct!!!! Pat now has 3 Gold Coins. Sue is the current player -They have rolled a 1 -Sue's new location is 4 +They have rolled a 2 +Sue's new location is 6 The category is Pop -Pop Question 3 -Answer was corrent!!!! +Pop Question 0 +Answer was correct!!!! Sue now has 3 Gold Coins. Chet is the current player +They have rolled a 4 +Chet is not getting out of the penalty box +Pat is the current player +They have rolled a 4 +Pat's new location is 5 +The category is History +History Question 2 +Answer was correct!!!! +Pat now has 4 Gold Coins. +Sue is the current player +They have rolled a 1 +Sue's new location is 7 +The category is Science +Science Question 1 +Answer was correct!!!! +Sue now has 4 Gold Coins. +Chet is the current player They have rolled a 3 Chet is getting out of the penalty box -Chet's new location is 7 -The category is Rock -Rock Question 1 +Chet's new location is 0 +The category is Pop +Pop Question 1 Question was incorrectly answered Chet was sent to the penalty box Pat is the current player They have rolled a 3 -Pat's new location is 3 -The category is Rock -Rock Question 2 -Answer was corrent!!!! -Pat now has 4 Gold Coins. +Pat's new location is 8 +The category is Sports +Sports Question 0 +Answer was correct!!!! +Pat now has 5 Gold Coins. Sue is the current player They have rolled a 4 -Sue's new location is 8 -The category is Pop -Pop Question 4 -Answer was corrent!!!! -Sue now has 4 Gold Coins. +Sue's new location is 11 +The category is History +History Question 3 +Answer was correct!!!! +Sue now has 5 Gold Coins. Chet is the current player They have rolled a 3 Chet is getting out of the penalty box -Chet's new location is 10 -The category is Sports -Sports Question 0 +Chet's new location is 3 +The category is Rock +Rock Question 2 Answer was correct!!!! -Pat now has 5 Gold Coins. +Chet now has 2 Gold Coins. Pat is the current player They have rolled a 2 -Pat's new location is 5 -The category is Science -Science Question 2 -Answer was corrent!!!! +Pat's new location is 10 +The category is Blues +Blues Question 2 +Answer was correct!!!! Pat now has 6 Gold Coins. Chet was added They are player number 1 @@ -892,100 +876,100 @@ They are player number 3 Chet is the current player They have rolled a 4 Chet's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! +The category is Blues +Blues Question 0 +Answer was correct!!!! Chet now has 1 Gold Coins. Pat is the current player They have rolled a 5 Pat's new location is 5 -The category is Science -Science Question 0 -Answer was corrent!!!! +The category is History +History Question 0 +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player They have rolled a 3 Sue's new location is 3 The category is Rock Rock Question 0 -Answer was corrent!!!! +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player They have rolled a 3 Chet's new location is 7 -The category is Rock -Rock Question 1 -Answer was corrent!!!! +The category is Science +Science Question 0 +Answer was correct!!!! Chet now has 2 Gold Coins. Pat is the current player They have rolled a 1 Pat's new location is 6 -The category is Sports -Sports Question 0 -Answer was corrent!!!! +The category is Pop +Pop Question 0 +Answer was correct!!!! Pat now has 2 Gold Coins. Sue is the current player They have rolled a 5 Sue's new location is 8 -The category is Pop -Pop Question 1 -Answer was corrent!!!! +The category is Sports +Sports Question 0 +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player They have rolled a 4 Chet's new location is 11 -The category is Rock -Rock Question 2 -Answer was corrent!!!! +The category is History +History Question 1 +Answer was correct!!!! Chet now has 3 Gold Coins. Pat is the current player They have rolled a 3 Pat's new location is 9 -The category is Science -Science Question 1 -Answer was corrent!!!! +The category is Rock +Rock Question 1 +Answer was correct!!!! Pat now has 3 Gold Coins. Sue is the current player They have rolled a 5 Sue's new location is 1 The category is Science -Science Question 2 -Answer was corrent!!!! +Science Question 1 +Answer was correct!!!! Sue now has 3 Gold Coins. Chet is the current player They have rolled a 5 Chet's new location is 4 -The category is Pop -Pop Question 2 -Answer was corrent!!!! +The category is Blues +Blues Question 1 +Answer was correct!!!! Chet now has 4 Gold Coins. Pat is the current player They have rolled a 1 Pat's new location is 10 -The category is Sports -Sports Question 1 -Answer was corrent!!!! +The category is Blues +Blues Question 2 +Answer was correct!!!! Pat now has 4 Gold Coins. Sue is the current player They have rolled a 1 Sue's new location is 2 The category is Sports -Sports Question 2 -Answer was corrent!!!! +Sports Question 1 +Answer was correct!!!! Sue now has 4 Gold Coins. Chet is the current player They have rolled a 5 Chet's new location is 9 -The category is Science -Science Question 3 -Answer was corrent!!!! +The category is Rock +Rock Question 2 +Answer was correct!!!! Chet now has 5 Gold Coins. Pat is the current player They have rolled a 3 Pat's new location is 1 The category is Science -Science Question 4 -Answer was corrent!!!! +Science Question 2 +Answer was correct!!!! Pat now has 5 Gold Coins. Sue is the current player They have rolled a 1 @@ -998,8 +982,8 @@ Chet is the current player They have rolled a 4 Chet's new location is 1 The category is Science -Science Question 5 -Answer was corrent!!!! +Science Question 3 +Answer was correct!!!! Chet now has 6 Gold Coins. Chet was added They are player number 1 @@ -1010,82 +994,81 @@ They are player number 3 Chet is the current player They have rolled a 5 Chet's new location is 5 -The category is Science -Science Question 0 -Answer was corrent!!!! +The category is History +History Question 0 +Answer was correct!!!! Chet now has 1 Gold Coins. Pat is the current player They have rolled a 1 Pat's new location is 1 The category is Science -Science Question 1 -Answer was corrent!!!! +Science Question 0 +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player They have rolled a 1 Sue's new location is 1 The category is Science -Science Question 2 -Answer was corrent!!!! +Science Question 1 +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player They have rolled a 1 Chet's new location is 6 -The category is Sports -Sports Question 0 +The category is Pop +Pop Question 0 Question was incorrectly answered Chet was sent to the penalty box Pat is the current player They have rolled a 3 Pat's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! +The category is Blues +Blues Question 0 +Answer was correct!!!! Pat now has 2 Gold Coins. Sue is the current player They have rolled a 2 Sue's new location is 3 The category is Rock Rock Question 0 -Answer was corrent!!!! +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player They have rolled a 3 Chet is getting out of the penalty box Chet's new location is 9 -The category is Science -Science Question 3 +The category is Rock +Rock Question 1 Answer was correct!!!! -Pat now has 3 Gold Coins. +Chet now has 2 Gold Coins. Pat is the current player They have rolled a 2 Pat's new location is 6 -The category is Sports -Sports Question 1 -Answer was corrent!!!! -Pat now has 4 Gold Coins. +The category is Pop +Pop Question 1 +Answer was correct!!!! +Pat now has 3 Gold Coins. Sue is the current player They have rolled a 4 Sue's new location is 7 -The category is Rock -Rock Question 1 +The category is Science +Science Question 2 Question was incorrectly answered Sue was sent to the penalty box Chet is the current player They have rolled a 5 -Chet is getting out of the penalty box Chet's new location is 2 The category is Sports -Sports Question 2 +Sports Question 0 Question was incorrectly answered Chet was sent to the penalty box Pat is the current player They have rolled a 2 Pat's new location is 8 -The category is Pop -Pop Question 1 -Answer was corrent!!!! -Pat now has 5 Gold Coins. +The category is Sports +Sports Question 1 +Answer was correct!!!! +Pat now has 4 Gold Coins. Sue is the current player They have rolled a 5 Sue is getting out of the penalty box @@ -1093,130 +1076,67 @@ Sue's new location is 0 The category is Pop Pop Question 2 Answer was correct!!!! -Chet now has 2 Gold Coins. +Sue now has 3 Gold Coins. Chet is the current player They have rolled a 5 Chet is getting out of the penalty box Chet's new location is 7 -The category is Rock -Rock Question 2 -Answer was correct!!!! -Pat now has 6 Gold Coins. -Chet was added -They are player number 1 -Pat was added -They are player number 2 -Sue was added -They are player number 3 -Chet is the current player -They have rolled a 5 -Chet's new location is 5 The category is Science -Science Question 0 -Answer was corrent!!!! -Chet now has 1 Gold Coins. +Science Question 3 +Answer was correct!!!! +Chet now has 3 Gold Coins. Pat is the current player They have rolled a 5 -Pat's new location is 5 +Pat's new location is 1 The category is Science -Science Question 1 -Answer was corrent!!!! -Pat now has 1 Gold Coins. +Science Question 4 +Answer was correct!!!! +Pat now has 5 Gold Coins. Sue is the current player -They have rolled a 4 -Sue's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! -Sue now has 1 Gold Coins. +They have rolled a 5 +Sue's new location is 5 +The category is History +History Question 1 +Answer was correct!!!! +Sue now has 4 Gold Coins. Chet is the current player They have rolled a 4 -Chet's new location is 9 -The category is Science -Science Question 2 -Question was incorrectly answered -Chet was sent to the penalty box +Chet's new location is 11 +The category is History +History Question 2 +Answer was correct!!!! +Chet now has 4 Gold Coins. Pat is the current player They have rolled a 4 -Pat's new location is 9 -The category is Science -Science Question 3 -Answer was corrent!!!! -Pat now has 2 Gold Coins. -Sue is the current player -They have rolled a 2 -Sue's new location is 6 -The category is Sports -Sports Question 0 -Answer was corrent!!!! -Sue now has 2 Gold Coins. -Chet is the current player -They have rolled a 2 -Chet is not getting out of the penalty box -Pat is the current player -They have rolled a 5 -Pat's new location is 2 -The category is Sports -Sports Question 1 -Answer was corrent!!!! -Pat now has 3 Gold Coins. -Sue is the current player -They have rolled a 2 -Sue's new location is 8 -The category is Pop -Pop Question 1 +Pat's new location is 5 +The category is History +History Question 3 Question was incorrectly answered -Sue was sent to the penalty box -Chet is the current player +Pat was sent to the penalty box +Sue is the current player They have rolled a 4 -Chet is not getting out of the penalty box -Pat is the current player -They have rolled a 5 -Pat's new location is 7 +Sue's new location is 9 The category is Rock -Rock Question 0 -Answer was corrent!!!! -Pat now has 4 Gold Coins. -Sue is the current player -They have rolled a 5 -Sue is getting out of the penalty box -Sue's new location is 1 -The category is Science -Science Question 4 +Rock Question 2 Answer was correct!!!! -Chet now has 2 Gold Coins. +Sue now has 5 Gold Coins. Chet is the current player They have rolled a 2 -Chet is not getting out of the penalty box -Question was incorrectly answered -Chet was sent to the penalty box -Pat is the current player -They have rolled a 2 -Pat's new location is 9 +Chet's new location is 1 The category is Science Science Question 5 -Answer was corrent!!!! -Pat now has 5 Gold Coins. -Sue is the current player -They have rolled a 3 -Sue is getting out of the penalty box -Sue's new location is 4 -The category is Pop -Pop Question 2 Answer was correct!!!! -Chet now has 3 Gold Coins. -Chet is the current player -They have rolled a 2 -Chet is not getting out of the penalty box -Question was incorrectly answered -Chet was sent to the penalty box +Chet now has 5 Gold Coins. Pat is the current player -They have rolled a 3 -Pat's new location is 0 -The category is Pop -Pop Question 3 -Answer was corrent!!!! -Pat now has 6 Gold Coins. +They have rolled a 2 +Pat is not getting out of the penalty box +Sue is the current player +They have rolled a 5 +Sue's new location is 2 +The category is Sports +Sports Question 2 +Answer was correct!!!! +Sue now has 6 Gold Coins. Chet was added They are player number 1 Pat was added @@ -1224,104 +1144,395 @@ They are player number 2 Sue was added They are player number 3 Chet is the current player -They have rolled a 3 -Chet's new location is 3 -The category is Rock -Rock Question 0 -Answer was corrent!!!! -Chet now has 1 Gold Coins. -Pat is the current player They have rolled a 2 -Pat's new location is 2 +Chet's new location is 2 The category is Sports Sports Question 0 -Answer was corrent!!!! +Question was incorrectly answered +Chet was sent to the penalty box +Pat is the current player +They have rolled a 4 +Pat's new location is 4 +The category is Blues +Blues Question 0 +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player -They have rolled a 4 -Sue's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! +They have rolled a 5 +Sue's new location is 5 +The category is History +History Question 0 +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player -They have rolled a 3 -Chet's new location is 6 -The category is Sports -Sports Question 1 -Answer was corrent!!!! -Chet now has 2 Gold Coins. +They have rolled a 5 +Chet is getting out of the penalty box +Chet's new location is 7 +The category is Science +Science Question 0 +Answer was correct!!!! +Chet now has 1 Gold Coins. Pat is the current player -They have rolled a 1 -Pat's new location is 3 -The category is Rock -Rock Question 1 +They have rolled a 2 +Pat's new location is 6 +The category is Pop +Pop Question 0 Question was incorrectly answered Pat was sent to the penalty box Sue is the current player -They have rolled a 1 -Sue's new location is 5 +They have rolled a 2 +Sue's new location is 7 The category is Science -Science Question 0 -Answer was corrent!!!! +Science Question 1 +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player -They have rolled a 2 -Chet's new location is 8 -The category is Pop -Pop Question 1 -Answer was corrent!!!! -Chet now has 3 Gold Coins. +They have rolled a 3 +Chet's new location is 10 +The category is Blues +Blues Question 1 +Answer was correct!!!! +Chet now has 2 Gold Coins. Pat is the current player They have rolled a 2 Pat is not getting out of the penalty box Sue is the current player -They have rolled a 2 -Sue's new location is 7 -The category is Rock -Rock Question 2 -Answer was corrent!!!! +They have rolled a 3 +Sue's new location is 10 +The category is Blues +Blues Question 2 +Answer was correct!!!! Sue now has 3 Gold Coins. Chet is the current player -They have rolled a 5 +They have rolled a 3 Chet's new location is 1 The category is Science -Science Question 1 -Answer was corrent!!!! -Chet now has 4 Gold Coins. -Pat is the current player +Science Question 2 +Answer was correct!!!! +Chet now has 3 Gold Coins. +Pat is the current player They have rolled a 2 Pat is not getting out of the penalty box Sue is the current player +They have rolled a 4 +Sue's new location is 2 +The category is Sports +Sports Question 1 +Answer was correct!!!! +Sue now has 4 Gold Coins. +Chet is the current player +They have rolled a 3 +Chet's new location is 4 +The category is Blues +Blues Question 3 +Answer was correct!!!! +Chet now has 4 Gold Coins. +Pat is the current player They have rolled a 1 -Sue's new location is 8 +Pat is getting out of the penalty box +Pat's new location is 7 +The category is Science +Science Question 3 +Question was incorrectly answered +Pat was sent to the penalty box +Sue is the current player +They have rolled a 1 +Sue's new location is 3 +The category is Rock +Rock Question 0 +Answer was correct!!!! +Sue now has 5 Gold Coins. +Chet is the current player +They have rolled a 2 +Chet's new location is 6 +The category is Pop +Pop Question 1 +Answer was correct!!!! +Chet now has 5 Gold Coins. +Pat is the current player +They have rolled a 2 +Pat is not getting out of the penalty box +Sue is the current player +They have rolled a 2 +Sue's new location is 5 +The category is History +History Question 1 +Answer was correct!!!! +Sue now has 6 Gold Coins. +Chet was added +They are player number 1 +Pat was added +They are player number 2 +Sue was added +They are player number 3 +Chet is the current player +They have rolled a 5 +Chet's new location is 5 +The category is History +History Question 0 +Answer was correct!!!! +Chet now has 1 Gold Coins. +Pat is the current player +They have rolled a 2 +Pat's new location is 2 +The category is Sports +Sports Question 0 +Answer was correct!!!! +Pat now has 1 Gold Coins. +Sue is the current player +They have rolled a 1 +Sue's new location is 1 +The category is Science +Science Question 0 +Answer was correct!!!! +Sue now has 1 Gold Coins. +Chet is the current player +They have rolled a 1 +Chet's new location is 6 +The category is Pop +Pop Question 0 +Answer was correct!!!! +Chet now has 2 Gold Coins. +Pat is the current player +They have rolled a 4 +Pat's new location is 6 +The category is Pop +Pop Question 1 +Answer was correct!!!! +Pat now has 2 Gold Coins. +Sue is the current player +They have rolled a 3 +Sue's new location is 4 +The category is Blues +Blues Question 0 +Answer was correct!!!! +Sue now has 2 Gold Coins. +Chet is the current player +They have rolled a 3 +Chet's new location is 9 +The category is Rock +Rock Question 0 +Answer was correct!!!! +Chet now has 3 Gold Coins. +Pat is the current player +They have rolled a 1 +Pat's new location is 7 +The category is Science +Science Question 1 +Question was incorrectly answered +Pat was sent to the penalty box +Sue is the current player +They have rolled a 5 +Sue's new location is 9 +The category is Rock +Rock Question 1 +Answer was correct!!!! +Sue now has 3 Gold Coins. +Chet is the current player +They have rolled a 3 +Chet's new location is 0 The category is Pop Pop Question 2 -Answer was corrent!!!! +Answer was correct!!!! +Chet now has 4 Gold Coins. +Pat is the current player +They have rolled a 5 +Pat is getting out of the penalty box +Pat's new location is 0 +The category is Pop +Pop Question 3 +Answer was correct!!!! +Pat now has 3 Gold Coins. +Sue is the current player +They have rolled a 2 +Sue's new location is 11 +The category is History +History Question 1 +Answer was correct!!!! Sue now has 4 Gold Coins. Chet is the current player +They have rolled a 5 +Chet's new location is 5 +The category is History +History Question 2 +Answer was correct!!!! +Chet now has 5 Gold Coins. +Pat is the current player +They have rolled a 3 +Pat's new location is 3 +The category is Rock +Rock Question 2 +Answer was correct!!!! +Pat now has 4 Gold Coins. +Sue is the current player +They have rolled a 4 +Sue's new location is 3 +The category is Rock +Rock Question 3 +Answer was correct!!!! +Sue now has 5 Gold Coins. +Chet is the current player +They have rolled a 3 +Chet's new location is 8 +The category is Sports +Sports Question 1 +Question was incorrectly answered +Chet was sent to the penalty box +Pat is the current player +They have rolled a 5 +Pat's new location is 8 +The category is Sports +Sports Question 2 +Answer was correct!!!! +Pat now has 5 Gold Coins. +Sue is the current player They have rolled a 1 +Sue's new location is 4 +The category is Blues +Blues Question 1 +Answer was correct!!!! +Sue now has 6 Gold Coins. +Chet was added +They are player number 1 +Pat was added +They are player number 2 +Sue was added +They are player number 3 +Chet is the current player +They have rolled a 4 +Chet's new location is 4 +The category is Blues +Blues Question 0 +Answer was correct!!!! +Chet now has 1 Gold Coins. +Pat is the current player +They have rolled a 4 +Pat's new location is 4 +The category is Blues +Blues Question 1 +Answer was correct!!!! +Pat now has 1 Gold Coins. +Sue is the current player +They have rolled a 4 +Sue's new location is 4 +The category is Blues +Blues Question 2 +Answer was correct!!!! +Sue now has 1 Gold Coins. +Chet is the current player +They have rolled a 5 +Chet's new location is 9 +The category is Rock +Rock Question 0 +Question was incorrectly answered +Chet was sent to the penalty box +Pat is the current player +They have rolled a 2 +Pat's new location is 6 +The category is Pop +Pop Question 0 +Answer was correct!!!! +Pat now has 2 Gold Coins. +Sue is the current player +They have rolled a 2 +Sue's new location is 6 +The category is Pop +Pop Question 1 +Answer was correct!!!! +Sue now has 2 Gold Coins. +Chet is the current player +They have rolled a 5 +Chet is getting out of the penalty box Chet's new location is 2 The category is Sports -Sports Question 2 -Answer was corrent!!!! +Sports Question 0 +Answer was correct!!!! +Chet now has 2 Gold Coins. +Pat is the current player +They have rolled a 1 +Pat's new location is 7 +The category is Science +Science Question 0 +Question was incorrectly answered +Pat was sent to the penalty box +Sue is the current player +They have rolled a 1 +Sue's new location is 7 +The category is Science +Science Question 1 +Question was incorrectly answered +Sue was sent to the penalty box +Chet is the current player +They have rolled a 3 +Chet's new location is 5 +The category is History +History Question 0 +Answer was correct!!!! +Chet now has 3 Gold Coins. +Pat is the current player +They have rolled a 5 +Pat is getting out of the penalty box +Pat's new location is 0 +The category is Pop +Pop Question 2 +Answer was correct!!!! +Pat now has 3 Gold Coins. +Sue is the current player +They have rolled a 5 +Sue is getting out of the penalty box +Sue's new location is 0 +The category is Pop +Pop Question 3 +Answer was correct!!!! +Sue now has 3 Gold Coins. +Chet is the current player +They have rolled a 2 +Chet's new location is 7 +The category is Science +Science Question 2 +Answer was correct!!!! +Chet now has 4 Gold Coins. +Pat is the current player +They have rolled a 5 +Pat's new location is 5 +The category is History +History Question 1 +Answer was correct!!!! +Pat now has 4 Gold Coins. +Sue is the current player +They have rolled a 2 +Sue's new location is 2 +The category is Sports +Sports Question 1 +Answer was correct!!!! +Sue now has 4 Gold Coins. +Chet is the current player +They have rolled a 2 +Chet's new location is 9 +The category is Rock +Rock Question 1 +Answer was correct!!!! Chet now has 5 Gold Coins. Pat is the current player -They have rolled a 4 -Pat is not getting out of the penalty box +They have rolled a 1 +Pat's new location is 6 +The category is Pop +Pop Question 4 +Answer was correct!!!! +Pat now has 5 Gold Coins. Sue is the current player -They have rolled a 3 -Sue's new location is 11 +They have rolled a 1 +Sue's new location is 3 The category is Rock -Rock Question 3 -Answer was corrent!!!! +Rock Question 2 +Answer was correct!!!! Sue now has 5 Gold Coins. Chet is the current player They have rolled a 3 -Chet's new location is 5 -The category is Science -Science Question 2 -Answer was corrent!!!! +Chet's new location is 0 +The category is Pop +Pop Question 5 +Answer was correct!!!! Chet now has 6 Gold Coins. Chet was added They are player number 1 @@ -1330,78 +1541,107 @@ They are player number 2 Sue was added They are player number 3 Chet is the current player +They have rolled a 3 +Chet's new location is 3 +The category is Rock +Rock Question 0 +Answer was correct!!!! +Chet now has 1 Gold Coins. +Pat is the current player They have rolled a 1 -Chet's new location is 1 +Pat's new location is 1 The category is Science Science Question 0 -Question was incorrectly answered -Chet was sent to the penalty box -Pat is the current player -They have rolled a 5 -Pat's new location is 5 -The category is Science -Science Question 1 -Answer was corrent!!!! +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player -They have rolled a 3 -Sue's new location is 3 -The category is Rock -Rock Question 0 -Answer was corrent!!!! +They have rolled a 1 +Sue's new location is 1 +The category is Science +Science Question 1 +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player -They have rolled a 5 -Chet is getting out of the penalty box -Chet's new location is 6 -The category is Sports -Sports Question 0 +They have rolled a 1 +Chet's new location is 4 +The category is Blues +Blues Question 0 Answer was correct!!!! -Pat now has 2 Gold Coins. +Chet now has 2 Gold Coins. Pat is the current player They have rolled a 2 -Pat's new location is 7 +Pat's new location is 3 The category is Rock Rock Question 1 -Answer was corrent!!!! -Pat now has 3 Gold Coins. +Question was incorrectly answered +Pat was sent to the penalty box Sue is the current player They have rolled a 5 -Sue's new location is 8 +Sue's new location is 6 The category is Pop Pop Question 0 -Answer was corrent!!!! -Sue now has 2 Gold Coins. +Question was incorrectly answered +Sue was sent to the penalty box Chet is the current player They have rolled a 3 -Chet is getting out of the penalty box -Chet's new location is 9 +Chet's new location is 7 The category is Science Science Question 2 Answer was correct!!!! -Pat now has 4 Gold Coins. +Chet now has 3 Gold Coins. Pat is the current player -They have rolled a 4 -Pat's new location is 11 -The category is Rock -Rock Question 2 -Answer was corrent!!!! -Pat now has 5 Gold Coins. -Sue is the current player They have rolled a 3 -Sue's new location is 11 -The category is Rock -Rock Question 3 +Pat is getting out of the penalty box +Pat's new location is 6 +The category is Pop +Pop Question 1 Question was incorrectly answered -Sue was sent to the penalty box +Pat was sent to the penalty box +Sue is the current player +They have rolled a 4 +Sue is not getting out of the penalty box Chet is the current player They have rolled a 5 -Chet is getting out of the penalty box +Chet's new location is 0 +The category is Pop +Pop Question 2 +Answer was correct!!!! +Chet now has 4 Gold Coins. +Pat is the current player +They have rolled a 2 +Pat is not getting out of the penalty box +Sue is the current player +They have rolled a 5 +Sue is getting out of the penalty box +Sue's new location is 11 +The category is History +History Question 0 +Answer was correct!!!! +Sue now has 2 Gold Coins. +Chet is the current player +They have rolled a 2 Chet's new location is 2 The category is Sports -Sports Question 1 +Sports Question 0 Answer was correct!!!! -Pat now has 6 Gold Coins. +Chet now has 5 Gold Coins. +Pat is the current player +They have rolled a 4 +Pat is not getting out of the penalty box +Sue is the current player +They have rolled a 4 +Sue's new location is 3 +The category is Rock +Rock Question 2 +Answer was correct!!!! +Sue now has 3 Gold Coins. +Chet is the current player +They have rolled a 2 +Chet's new location is 4 +The category is Blues +Blues Question 1 +Answer was correct!!!! +Chet now has 6 Gold Coins. Chet was added They are player number 1 Pat was added @@ -1409,122 +1649,122 @@ They are player number 2 Sue was added They are player number 3 Chet is the current player -They have rolled a 1 -Chet's new location is 1 -The category is Science -Science Question 0 -Answer was corrent!!!! +They have rolled a 2 +Chet's new location is 2 +The category is Sports +Sports Question 0 +Answer was correct!!!! Chet now has 1 Gold Coins. Pat is the current player -They have rolled a 4 -Pat's new location is 4 -The category is Pop -Pop Question 0 -Answer was corrent!!!! +They have rolled a 5 +Pat's new location is 5 +The category is History +History Question 0 +Answer was correct!!!! Pat now has 1 Gold Coins. Sue is the current player -They have rolled a 4 -Sue's new location is 4 -The category is Pop -Pop Question 1 -Answer was corrent!!!! +They have rolled a 3 +Sue's new location is 3 +The category is Rock +Rock Question 0 +Answer was correct!!!! Sue now has 1 Gold Coins. Chet is the current player -They have rolled a 4 +They have rolled a 3 Chet's new location is 5 -The category is Science -Science Question 1 -Answer was corrent!!!! +The category is History +History Question 1 +Answer was correct!!!! Chet now has 2 Gold Coins. Pat is the current player -They have rolled a 5 -Pat's new location is 9 +They have rolled a 2 +Pat's new location is 7 The category is Science -Science Question 2 -Question was incorrectly answered -Pat was sent to the penalty box +Science Question 0 +Answer was correct!!!! +Pat now has 2 Gold Coins. Sue is the current player -They have rolled a 2 -Sue's new location is 6 -The category is Sports -Sports Question 0 -Answer was corrent!!!! +They have rolled a 4 +Sue's new location is 7 +The category is Science +Science Question 1 +Answer was correct!!!! Sue now has 2 Gold Coins. Chet is the current player -They have rolled a 2 -Chet's new location is 7 +They have rolled a 4 +Chet's new location is 9 The category is Rock -Rock Question 0 -Answer was corrent!!!! +Rock Question 1 +Answer was correct!!!! Chet now has 3 Gold Coins. Pat is the current player -They have rolled a 5 -Pat is getting out of the penalty box -Pat's new location is 2 +They have rolled a 1 +Pat's new location is 8 The category is Sports Sports Question 1 Answer was correct!!!! -Sue now has 3 Gold Coins. +Pat now has 3 Gold Coins. Sue is the current player They have rolled a 1 -Sue's new location is 7 -The category is Rock -Rock Question 1 -Question was incorrectly answered -Sue was sent to the penalty box +Sue's new location is 8 +The category is Sports +Sports Question 2 +Answer was correct!!!! +Sue now has 3 Gold Coins. Chet is the current player -They have rolled a 1 -Chet's new location is 8 -The category is Pop -Pop Question 2 +They have rolled a 5 +Chet's new location is 2 +The category is Sports +Sports Question 3 Question was incorrectly answered Chet was sent to the penalty box Pat is the current player They have rolled a 3 -Pat is getting out of the penalty box -Pat's new location is 5 -The category is Science -Science Question 3 +Pat's new location is 11 +The category is History +History Question 2 Answer was correct!!!! -Sue now has 4 Gold Coins. +Pat now has 4 Gold Coins. Sue is the current player -They have rolled a 5 -Sue is getting out of the penalty box -Sue's new location is 0 -The category is Pop -Pop Question 3 +They have rolled a 2 +Sue's new location is 10 +The category is Blues +Blues Question 0 Answer was correct!!!! -Chet now has 4 Gold Coins. +Sue now has 4 Gold Coins. Chet is the current player They have rolled a 5 Chet is getting out of the penalty box -Chet's new location is 1 +Chet's new location is 7 The category is Science -Science Question 4 +Science Question 2 Answer was correct!!!! -Pat now has 2 Gold Coins. +Chet now has 4 Gold Coins. Pat is the current player They have rolled a 2 -Pat is not getting out of the penalty box -Sue is the current player -They have rolled a 5 -Sue is getting out of the penalty box -Sue's new location is 5 +Pat's new location is 1 The category is Science -Science Question 5 +Science Question 3 Answer was correct!!!! -Chet now has 5 Gold Coins. +Pat now has 5 Gold Coins. +Sue is the current player +They have rolled a 4 +Sue's new location is 2 +The category is Sports +Sports Question 4 +Answer was correct!!!! +Sue now has 5 Gold Coins. Chet is the current player They have rolled a 2 -Chet is not getting out of the penalty box +Chet's new location is 9 +The category is Rock +Rock Question 2 +Answer was correct!!!! +Chet now has 5 Gold Coins. Pat is the current player -They have rolled a 2 -Pat is not getting out of the penalty box -Sue is the current player They have rolled a 1 -Sue is getting out of the penalty box -Sue's new location is 6 +Pat's new location is 2 The category is Sports -Sports Question 2 +Sports Question 5 Answer was correct!!!! -Chet now has 6 Gold Coins. +Pat now has 6 Gold Coins. diff --git a/src/test/java/com/adaptionsoft/games/GameTest.java b/src/test/java/com/adaptionsoft/games/GameTest.java index dae9a93..cf794b6 100644 --- a/src/test/java/com/adaptionsoft/games/GameTest.java +++ b/src/test/java/com/adaptionsoft/games/GameTest.java @@ -10,16 +10,21 @@ public class GameTest { - @Test - public void itsLockedDown() throws Exception { + @Test + public void itsLockedDown() throws Exception { Random randomizer = new Random(123455); ByteArrayOutputStream resultStream = new ByteArrayOutputStream(); System.setOut(new PrintStream(resultStream)); - IntStream.range(1,15).forEach(i -> GameRunner.playGame(randomizer)); - + IntStream.range(1, 15).forEach(i -> { + Game aGame = new Game(); + aGame.addPlayer("Chet"); + aGame.addPlayer("Pat"); + aGame.addPlayer("Sue"); + aGame.run(randomizer); + }); Approvals.verify(resultStream.toString()); - } + } }