public void InitializeGame()
 {
     gameBoard = new GameBoard();
       gameBoard.Initialize();
       BoardLocationColors = new ObservableCollection<string>
     (Enumerable.Repeat<string>("AliceBlue", GameBoard.MaxRow * GameBoard.MaxColumn));
       RedPlayersTurn = "Visible";
       BlackPlayersTurn = "Hidden";
       RedPlayerWins = "Hidden";
       BlackPlayerWins = "Hidden";
       CurrentPlayerDisc = Disc.Red;
       IsBoardEnabled = "True";
 }
예제 #2
0
 public void Setup()
 {
     board = new GameBoard();
       board.Initialize();
 }