Xiangiqgame
AI engine for Xiangqi
|
Contains classes for collecting command line input, and converting to a form that will be convenient for instantiating all of the objects needed to play a Game. More...
Classes | |
class | OutputFileInfo |
class | PlayerCommandInterpreter |
Converts command line input related to a player into PlayerInput object. More... | |
class | PlayerInput |
Container for info collected from command line for specific player. More... | |
class | RawPlayerInput |
class | RunKwargsInterpreter |
Converts dictionary output by XiangqiGameCommandLine into a XiangqiGameCommand. More... | |
class | XiangqiGameCommand |
Data container with all the info needed to instantiate a Game. More... | |
class | XiangqiGameCommandLine |
Collects info from command line args out outputs as a dictionary. More... | |
Functions | |
xb.PlayerSpec | build_player_spec (dict[str, Any] run_kwargs, xb.PieceColor color_enum, str color_prefix) |
xb.GameRunner | build_game_runner (dict[str, Any] run_kwargs) |
OutputFileInfo | get_output_file_info (dict[str, Any] run_kwargs) |
dict[str, Any] | main () |
Variables | |
dict[str, Any] | result = main() |
Contains classes for collecting command line input, and converting to a form that will be convenient for instantiating all of the objects needed to play a Game.
xb.GameRunner xiangqipy.command_input.build_game_runner | ( | dict[str, Any] | run_kwargs | ) |
Definition at line 101 of file command_input.py.
xb.PlayerSpec xiangqipy.command_input.build_player_spec | ( | dict[str, Any] | run_kwargs, |
xb.PieceColor | color_enum, | ||
str | color_prefix | ||
) |
Definition at line 90 of file command_input.py.
OutputFileInfo xiangqipy.command_input.get_output_file_info | ( | dict[str, Any] | run_kwargs | ) |
Definition at line 126 of file command_input.py.
dict[str, Any] xiangqipy.command_input.main | ( | ) |
Definition at line 422 of file command_input.py.
dict[str, Any] xiangqipy.command_input.result = main() |
Definition at line 429 of file command_input.py.