chipiron.scripts.one_match package

Submodules

chipiron.scripts.one_match.one_match module

the one match script

class chipiron.scripts.one_match.one_match.MatchScriptArgs(base_script_args: ~chipiron.scripts.script_args.BaseScriptArgs = <factory>, match_args: ~chipiron.games.match.match_args.MatchArgs = <factory>, implementation_args: ~chipiron.scripts.chipiron_args.ImplementationArgs = <factory>, gui: bool = True)[source]

Bases: object

The input arguments needed by the one match script to run

base_script_args: BaseScriptArgs
gui: bool = True
implementation_args: ImplementationArgs
match_args: MatchArgs
class chipiron.scripts.one_match.one_match.OneMatchScript(base_script: Script[MatchScriptArgs])[source]

Bases: object

Script that plays a match between two players

args_dataclass_name

alias of MatchScriptArgs

base_experiment_output_folder = 'chipiron/scripts/one_match/outputs/'
base_script: Script[MatchScriptArgs]
chess_gui: QApplication
run() None[source]

Runs the match either with a GUI or not Returns:

terminate() None[source]

Terminates the script and cleans up any resources.

Module contents