public Game(Player[] gamePlayers, int gameCellCount) { players = gamePlayers; for (int i = 0; i < players.Length; i++) { players[i].Position = 0; } cellCount = gameCellCount; }
private void initilizePlayers() { for (int i = 0; i < players.Length; i++) { players[i] = new Player(namePlayersDisTextBox[i].Text); } }