haive.games.graphs¶

LangGraph Platform graph entry points for haive-games.

This module exposes all game agent graphs as callable factories for LangGraph Platform (langgraph.json). Each function returns a compiled LangGraph StateGraph served via langgraph dev or LangGraph Cloud.

All 22 games listed here can be instantiated with default configuration.

Functions¶

among_us()

Among Us: Multi-agent social deduction game.

battleship()

Battleship: AI vs AI naval strategy.

blackjack()

Blackjack: Card game against the dealer.

checkers()

Checkers: AI vs AI draughts.

chess()

Chess: AI vs AI standard chess.

clue()

Clue/Cluedo: Multi-agent mystery deduction.

connect4()

Connect4: AI vs AI four-in-a-row.

debate()

Debate: Multi-agent structured debate.

dominoes()

Dominoes: AI vs AI tile-matching game.

flow_free()

Flow Free: Single-player path-connection puzzle.

fox_and_geese()

Fox and Geese: AI vs AI asymmetric hunt game.

go()

Go: AI vs AI on a Go board.

holdem()

Texas Hold'em: Multi-agent poker variant.

mafia()

Mafia: Multi-agent social deduction game.

mancala()

Mancala: AI vs AI seed-sowing board game.

mastermind()

Mastermind: AI code-breaking logic game.

monopoly()

Monopoly: Multi-agent economic board game.

nim()

Nim: AI vs AI mathematical strategy game.

poker()

Poker: Multi-agent card game.

reversi()

Reversi/Othello: AI vs AI disc-flipping strategy.

risk()

Risk: Multi-agent world domination strategy.

tic_tac_toe()

Tic-Tac-Toe: AI vs AI on a 3x3 grid.

wordle()

Word Connections: Single-player word puzzle.

Module Contents¶

haive.games.graphs.among_us()[source]¶

Among Us: Multi-agent social deduction game.

haive.games.graphs.battleship()[source]¶

Battleship: AI vs AI naval strategy.

haive.games.graphs.blackjack()[source]¶

Blackjack: Card game against the dealer.

haive.games.graphs.checkers()[source]¶

Checkers: AI vs AI draughts.

haive.games.graphs.chess()[source]¶

Chess: AI vs AI standard chess.

haive.games.graphs.clue()[source]¶

Clue/Cluedo: Multi-agent mystery deduction.

haive.games.graphs.connect4()[source]¶

Connect4: AI vs AI four-in-a-row.

haive.games.graphs.debate()[source]¶

Debate: Multi-agent structured debate.

haive.games.graphs.dominoes()[source]¶

Dominoes: AI vs AI tile-matching game.

haive.games.graphs.flow_free()[source]¶

Flow Free: Single-player path-connection puzzle.

haive.games.graphs.fox_and_geese()[source]¶

Fox and Geese: AI vs AI asymmetric hunt game.

haive.games.graphs.go()[source]¶

Go: AI vs AI on a Go board.

haive.games.graphs.holdem()[source]¶

Texas Hold’em: Multi-agent poker variant.

haive.games.graphs.mafia()[source]¶

Mafia: Multi-agent social deduction game.

haive.games.graphs.mancala()[source]¶

Mancala: AI vs AI seed-sowing board game.

haive.games.graphs.mastermind()[source]¶

Mastermind: AI code-breaking logic game.

haive.games.graphs.monopoly()[source]¶

Monopoly: Multi-agent economic board game.

haive.games.graphs.nim()[source]¶

Nim: AI vs AI mathematical strategy game.

haive.games.graphs.poker()[source]¶

Poker: Multi-agent card game.

Note: Poker requires engine configurations for each player.

haive.games.graphs.reversi()[source]¶

Reversi/Othello: AI vs AI disc-flipping strategy.

haive.games.graphs.risk()[source]¶

Risk: Multi-agent world domination strategy.

Note: Risk uses a standalone Pydantic model, not a LangGraph agent. Requires custom instantiation.

haive.games.graphs.tic_tac_toe()[source]¶

Tic-Tac-Toe: AI vs AI on a 3x3 grid.

haive.games.graphs.wordle()[source]¶

Word Connections: Single-player word puzzle.