private void GetScore()
 {
     for (int i = 0; i < Constants.PlayersNum; i++)
     {
         data.PlayerScores[i] = ScoreCalculator.CalcScore(i, data.BoardHeight, data.BoardWidth, data.CellData);
     }
     viewModel.PlayerScores = data.PlayerScores;
 }
 private void GetScore()
 {
     for (int x = 0; x < Data.CellData.GetLength(0); ++x)
     {
         for (int y = 0; y < Data.CellData.GetLength(1); ++y)
         {
             Data.CellData[x, y].SurroundedState = TeamColor.Free;
         }
     }
     for (int i = 0; i < Constants.PlayersNum; i++)
     {
         Data.PlayerScores[i] = ScoreCalculator.CalcScore(i, Data.CellData);
     }
     viewModel.PlayerScores = Data.PlayerScores;
 }