public TicTacToe(TicTacToe original) { board = new Marble[10]; count = original.count; for (int i = 1; i < board.Length; i++) { board[i] = original.board[i]; } }
public Move Minimax(TicTacToe.Marble player, int depth) { foreach (var move in game.GetPossibleMoves(player)) { TicTacToe cpyOfBoard = new TicTacToe(game); } throw new NotImplementedException(); }
public void InitGame() { ttt = new TicTacToe(); turn = TicTacToe.Marble.CROSS; label1.Text = "Turn:"; label2.Text = "Place new marble"; this.BackColor = Color.White; Invalidate(true); }
public ComputerPlayer(TicTacToe game) { this.game = game; }