package domain; import java.util.ArrayList; public class Game { private ArrayList currentPlayers; private int turnPlayer; private Dice dice; public Game(){ currentPlayers = new ArrayList(); turnPlayer = 0; dice = new Dice(6); } public int rollDice(){ return dice.roll(); } public void addPlayer(Player playerToAdd){ currentPlayers.add(playerToAdd); } public ArrayList getPlayers(){ return currentPlayers; } }