示例#1
0
        public Game(Player playerOne, Player playerTwo)
        {
            gamePlayers = new Player[2];
            gamePlayers[0] = playerOne;
            gamePlayers[1] = playerTwo;

            scoreBoard = new Board();

            gameScores = new Scores(0, 0);
        }
示例#2
0
 public Player( String name)
 {
     playerName = name;
     playerBoard = new Board();
 }