haive.games =========== .. py:module:: haive.games .. autoapi-nested-parse:: Haive Games - Comprehensive game environment collection. This package provides a rich ecosystem of game implementations designed for AI agent training, research, and entertainment. Games range from classic board games to card games to strategy games. Game Categories: - Board Games: Chess, Checkers, Go, Reversi, Connect4, Tic-Tac-Toe - Card Games: Poker, Hold'em, Blackjack, UNO - Strategy Games: Risk, Monopoly, Debate, Mafia - Puzzle Games: Mancala, Mastermind, Nim, Sudoku, Wordle - Social Games: Among Us, Debate, Clue Each game includes: - AI agent implementations with configurable difficulty - State management and game rules enforcement - Rich UI components for visualization - Tournament and benchmarking capabilities - Extensible configuration systems .. rubric:: Examples Quick tic-tac-toe game:: from haive.games.tic_tac_toe import TicTacToeAgent, TicTacToeState agent = TicTacToeAgent() game_state = TicTacToeState() result = agent.play(game_state) Chess with custom agents:: from haive.games.chess import ChessAgent, ChessState white_agent = ChessAgent(name="white", difficulty="expert") black_agent = ChessAgent(name="black", difficulty="intermediate") Multi-player poker:: from haive.games.poker import PokerAgent, PokerState agents = [PokerAgent(f"player_{i}") for i in range(4)] game = PokerState(players=agents) All games support both human and AI players, with extensive configuration options for gameplay variants, AI behavior, and visualization preferences. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/haive/games/among_us/index /autoapi/haive/games/api/index /autoapi/haive/games/base/index /autoapi/haive/games/base_v2/index /autoapi/haive/games/battleship/index /autoapi/haive/games/benchmark/index /autoapi/haive/games/board/index /autoapi/haive/games/cards/index /autoapi/haive/games/checkers/index /autoapi/haive/games/chess/index /autoapi/haive/games/clue/index /autoapi/haive/games/common/index /autoapi/haive/games/connect4/index /autoapi/haive/games/core/index /autoapi/haive/games/debate/index /autoapi/haive/games/debate_v2/index /autoapi/haive/games/dominoes/index /autoapi/haive/games/example/index /autoapi/haive/games/fox_and_geese/index /autoapi/haive/games/framework/index /autoapi/haive/games/go/index /autoapi/haive/games/hold_em/index /autoapi/haive/games/llm_config_factory/index /autoapi/haive/games/mafia/index /autoapi/haive/games/mancala/index /autoapi/haive/games/mastermind/index /autoapi/haive/games/monopoly/index /autoapi/haive/games/multi_player/index /autoapi/haive/games/nim/index /autoapi/haive/games/poker/index /autoapi/haive/games/reversi/index /autoapi/haive/games/risk/index /autoapi/haive/games/single_player/index /autoapi/haive/games/tic_tac_toe/index /autoapi/haive/games/utils/index