コード例 #1
0
 /// <summary>
 /// The default constructer needs the game that the computer plays on and the token that it plays
 /// </summary>
 /// <param name="ticTacToeGame"></param>
 /// <param name="ticTacToeToken"></param>
 public ComputerPlayer(TicTacToeGame ticTacToeGame, TicTacToeGame.TicTacToeToken ticTacToeToken, MainWindow mainWindow)
 {
     ComputerTicTacToeGame = ticTacToeGame;
     ComputerToken         = ticTacToeToken;
     ComputerMainWindow    = mainWindow;
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: mwGHburger/Tic-Tac-Toe
 static void Main(string[] args)
 {
     // Run game
     TicTacToeGame.Run();
 }