private void reset() { human = new Player(); computer = new Player(); playerGrid = new PlayerGrid(PlayerGrid); computerGrid = new ComputerGrid(CompGrid); playerGrid.InitializeGrid(); computerGrid.InitializeGrid(); }
public MainWindow() { InitializeComponent(); //Make game objects human = new Player(); computer = new Player(); playerGrid = new PlayerGrid(PlayerGrid); computerGrid = new ComputerGrid(CompGrid); //Initialize game elements playerGrid.InitializeGrid(); computerGrid.InitializeGrid(); }