AIMA.Core.Environment.TicTacToe.TicTacToe.terminalTest C# (CSharp) Метод

terminalTest() публичный Метод

public terminalTest ( GameState state ) : bool
state AIMA.Core.Search.Adversarial.GameState
Результат bool
	public override bool terminalTest(GameState state) {
		TicTacToeBoard board = (TicTacToeBoard) state.get("board");
		bool line = board.lineThroughBoard();
		bool filled = board.getNumberOfMarkedPositions() == 9;
		return (line || filled);
	}