haive.games.monopoly.simple_demo¶
Simple demo for testing the Monopoly game without LangGraph integration.
This script demonstrates the core functionality of the Monopoly game: - Board setup - Player movement - Property purchasing - Rent payments - Game events
- Usage:
python simple_demo.py
Functions¶
|
Handle a player landing on a property. |
Print a divider line. |
|
|
Print current status of all players. |
|
Print property details. |
|
Print recent game events. |
|
Run a simple Monopoly game demo. |
Module Contents¶
- haive.games.monopoly.simple_demo.handle_property_landing(state, position)[source]¶
Handle a player landing on a property.
- haive.games.monopoly.simple_demo.print_player_status(state)[source]¶
Print current status of all players.
- Parameters:
state (haive.games.monopoly.state.MonopolyState)
- haive.games.monopoly.simple_demo.print_property(property_obj)[source]¶
Print property details.
- Parameters:
property_obj (haive.games.monopoly.models.Property)