Esempio n. 1
0
 private void CalculatePlayersScore(List <List <Cell> > cells)
 {
     ScoresCalculated?.Invoke(Game.CalculatePlayersScore(_firstPlayerColor, cells), Game.CalculatePlayersScore(_secondPlayerColor, cells));
 }
Esempio n. 2
0
 public void CalculatePlayersScore()
 {
     ScoresCalculated?.Invoke(field.CountCells(firstPlayerColor), field.CountCells(secondPlayerColor));
 }
Esempio n. 3
0
 public void CalculatePlayersScore(List <List <Point> > points)
 {
     ScoresCalculated?.Invoke(BoardHandler.CountPoints(firstPlayerColor, points), BoardHandler.CountPoints(secondPlayerColor, points));
 }