Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
command_input.py File Reference

Go to the source code of this file.

Classes

class  xiangqipy.command_input.RawPlayerInput
 
class  xiangqipy.command_input.OutputFileInfo
 
class  xiangqipy.command_input.PlayerInput
 Container for info collected from command line for specific player. More...
 
class  xiangqipy.command_input.PlayerCommandInterpreter
 Converts command line input related to a player into PlayerInput object. More...
 
class  xiangqipy.command_input.XiangqiGameCommand
 Data container with all the info needed to instantiate a Game. More...
 
class  xiangqipy.command_input.RunKwargsInterpreter
 Converts dictionary output by XiangqiGameCommandLine into a XiangqiGameCommand. More...
 
class  xiangqipy.command_input.XiangqiGameCommandLine
 Collects info from command line args out outputs as a dictionary. More...
 

Namespaces

namespace  xiangqipy
 Python package that wraps the C++ core.
 
namespace  xiangqipy.command_input
 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.
 

Functions

xb.PlayerSpec xiangqipy.command_input.build_player_spec (dict[str, Any] run_kwargs, xb.PieceColor color_enum, str color_prefix)
 
xb.GameRunner xiangqipy.command_input.build_game_runner (dict[str, Any] run_kwargs)
 
OutputFileInfo xiangqipy.command_input.get_output_file_info (dict[str, Any] run_kwargs)
 
dict[str, Any] xiangqipy.command_input.main ()
 

Variables

dict[str, Any] xiangqipy.command_input.result = main()