haive.games.single_player.flow_free.example¶

Example script for running the Flow Free game agent.

This script demonstrates how to configure and run the Flow Free game agent in different modes and difficulty levels.

Functions¶

create_config(args)

Create a game configuration based on arguments.

main()

Run the Flow Free game.

parse_arguments()

Parse command-line arguments.

Module Contents¶

haive.games.single_player.flow_free.example.create_config(args)[source]¶

Create a game configuration based on arguments.

Parameters:

args – Parsed command-line arguments.

Returns:

Game configuration.

Return type:

FlowFreeConfig

haive.games.single_player.flow_free.example.main()[source]¶

Run the Flow Free game.

haive.games.single_player.flow_free.example.parse_arguments()[source]¶

Parse command-line arguments.

Returns:

Namespace with parsed arguments.