haive.games.example =================== .. py:module:: haive.games.example .. autoapi-nested-parse:: From typing import Any, Dict Haive Games Examples. This file demonstrates comprehensive usage of the Haive Games framework, including quick starts, tournaments, custom games, and advanced patterns. Functions --------- .. autoapisummary:: haive.games.example.example_advanced_chess haive.games.example.example_custom_game haive.games.example.example_game_evaluation haive.games.example.example_game_visualization haive.games.example.example_game_with_observers haive.games.example.example_parallel_games haive.games.example.example_poker_tournament haive.games.example.example_quick_game haive.games.example.example_save_and_load haive.games.example.example_wordle_with_strategy haive.games.example.main Module Contents --------------- .. py:function:: example_advanced_chess() Example 2: Advanced game with custom engines - Chess. .. py:function:: example_custom_game() Example 4: Creating a custom game - Number Guessing. .. py:function:: example_game_evaluation() Example 5: Evaluating and comparing agents. .. py:function:: example_game_visualization() Example 6: Visualizing game states. .. py:function:: example_game_with_observers() Example 8: Games with observer pattern. .. py:function:: example_parallel_games() Example 9: Running games in parallel. .. py:function:: example_poker_tournament() :async: Example 3: Multi-player tournament - Poker. .. py:function:: example_quick_game() Example 1: Quick game setup - Tic Tac Toe. .. py:function:: example_save_and_load() Example 10: Saving and loading game states. .. py:function:: example_wordle_with_strategy() Example 7: Single player game with strategy - Wordle. .. py:function:: main() Run all examples.