Monopoly
Simulating Monopoly (UK edition) with Python
Install / Use
/learn @Sank6/MonopolyREADME
main.py
- Run the game with 200 turns and 4 players
- Options can be modified in this file
test_probabilities.py
- Runs a game with one player and a million dice rolls
- Prints the probabilities of ending a turn on each spot
- Graphical representation (chart.js):

Decisions
- Buys a property that has been landed on when one of these two requirements is met:
- Player has over £600
- Player has over double the cost of the property
- Building houses and hotels (check every turn):
- Needs to be in a complete set (All cards in the set are owned by this player)
- If the property has 0 houses,
- Build 3 houses or fewer if there are less left in the bank and the player will have at least £200 left after building
- If the property has houses,
- Build a hotel if there's one in the bank and the player will have at least £200 left after building
- If the player is in jail, they will always use any existing get out of jail free cards first
- If the player doesn't have any, but the player has over $150, the player will pay $50 to get out of jail
- Otherwise, the player will wait out the three turns
TBD
- Add chance cards:
street repairs,general repairs,birthday - Trading?
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
92.1kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
343.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
