Xiangiqgame
AI engine for Xiangqi
|
Proposes moves sequentially from a list of algebraic notation moves. More...
Public Member Functions | |
def | __init__ (self, PieceColor color, List[str] move_list) |
Move | propose_move (self, GameBoard game_board, List[Move] cur_moves) |
def | illegal_move_notice_response (self, Tuple[str] illegal_move, GameBoard game_board, List[Move] cur_moves) |
![]() | |
None | __init__ (self, bindings.PieceColor color, PlayerType player_type, EvaluatorType evaluator_type=EvaluatorType.NULL) |
bindings.Move | propose_move (self, bindings.GameBoard game_board, List[bindings.Move] cur_moves) |
def | illegal_move_notice_response (self, bindings.Move illegal_move, bindings.GameBoard game_board, List[bindings.Move] cur_moves) |
PlayerType | player_type (self) |
EvaluatorType | move_evaluator_type (self) |
int|None | max_search_depth (self) |
int|None | zkeys_seed (self) |
int|None | zobrist_key_size (self) |
cdm.SearchSummaries|None | search_summaries (self) |
PlayerSummary | summary (self) |
Protected Attributes | |
_move_list | |
_move_index | |
![]() | |
_color | |
_player_type | |
_evaluator_type | |
Proposes moves sequentially from a list of algebraic notation moves.
Definition at line 63 of file players.py.
def xiangqipy.players.ScriptedPlayer.__init__ | ( | self, | |
PieceColor | color, | ||
List[str] | move_list | ||
) |
Reimplemented from xiangqipy.game_interfaces.Player.
Definition at line 68 of file players.py.
def xiangqipy.players.ScriptedPlayer.illegal_move_notice_response | ( | self, | |
Tuple[str] | illegal_move, | ||
GameBoard | game_board, | ||
List[Move] | cur_moves | ||
) |
Reimplemented from xiangqipy.game_interfaces.Player.
Definition at line 84 of file players.py.
Move xiangqipy.players.ScriptedPlayer.propose_move | ( | self, | |
GameBoard | game_board, | ||
List[Move] | cur_moves | ||
) |
Reimplemented from xiangqipy.game_interfaces.Player.
Definition at line 73 of file players.py.
|
protected |
Definition at line 71 of file players.py.
|
protected |
Definition at line 70 of file players.py.