C# 클래스 OfficeTicTacToe.Server.Models.TicTacToeEngine

파일 보기 프로젝트 열기: DXFrance/OfficeTicTacToe 1 사용 예제들

공개 메소드들

메소드 설명
GetResultState ( string pGame ) : TicTacToeResult
Initialise ( Game game ) : void
IsGameFullCompleted ( string pGame ) : bool
MakeBestMove ( bool isMachineTurn ) : bool
MakeMove ( int viOperator, bool isMachineTurn ) : bool
TicTacToeEngine ( ) : System

비공개 메소드들

메소드 설명
ApplyMove ( int pOperator, string pGame, bool isMachineTurn ) : string
MinimaxValueForState ( string pGame, bool pMaxTurn, ArrayList pOperators ) : TicTacToeResult
MinimaxValueSuccesors ( ArrayList &pOperator, string pGame, bool pMaxTurn, ArrayList pOperators ) : TicTacToeResult

메소드 상세

GetResultState() 공개 메소드

public GetResultState ( string pGame ) : TicTacToeResult
pGame string
리턴 TicTacToeResult

Initialise() 공개 메소드

public Initialise ( Game game ) : void
game Game
리턴 void

IsGameFullCompleted() 공개 메소드

public IsGameFullCompleted ( string pGame ) : bool
pGame string
리턴 bool

MakeBestMove() 공개 메소드

public MakeBestMove ( bool isMachineTurn ) : bool
isMachineTurn bool
리턴 bool

MakeMove() 공개 메소드

public MakeMove ( int viOperator, bool isMachineTurn ) : bool
viOperator int
isMachineTurn bool
리턴 bool

TicTacToeEngine() 공개 메소드

public TicTacToeEngine ( ) : System
리턴 System