C# Class ReversiEight.ViewModel.ComputerOpponent

Show file Open project: ColinEberhardt/ReversiEight Class Usage Examples

Public Methods

Method Description
ComputerOpponent ( GameBoardViewModel viewModel, BoardSquareState computerColor, int maxDepth ) : System

Private Methods

Method Description
GameBoardViewModel_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
MakeMoveIfCorrectTurn ( ) : void
MakeNextMove ( ) : void
ScoreForBoard ( GameBoardViewModel board, int depth ) : int
ValidMovesForBoard ( GameBoardViewModel viewModel ) : List

Method Details

ComputerOpponent() public method

public ComputerOpponent ( GameBoardViewModel viewModel, BoardSquareState computerColor, int maxDepth ) : System
viewModel GameBoardViewModel
computerColor BoardSquareState
maxDepth int
return System