A utility program to keep track of a monopoly game. Note that this is NOT a computer version of Monopoly, this only keeps track of some elements of a physical game.
- Download the latest stable release from the releases page and extract it to a folder of your choice.
- Run
pip install -r requirements.txtin the folder where you extracted the files (you might need to do so as root/admin). - Run
MonopolyTracker.pyw
Config file is located at data/config.ini in the installation directory.
- Money: Amount of money players start with.
- Go Money: Amount of money players get when passing Go.
- Name Prefix: Default prefix for player names.
- Monopoly Set: Which monopoly set to use (end of filename,
card_set_us.jsonwould beUSin the config option) - Dice Num: Number of dice to roll in the dice roll option.
- Minimum Prop Similarity: Minimum amount of similarity for typo detection in property names.
- Selected Player: Current selected player for actions.
Add a certain amount of money to the current selected player.
Opposite of Add Money.
Transfer money from the current selected player to a player of your choice.
Adds the preset amount of money for passing go (set in config options).
Disables showing bankrupt notice for current selected player.
Opposite of Ignore Bankrupt.
Calculates the net-worth of the selected player (total of money, properties, and houses).
Shows a graph with of the selected player's money history.
Add a property to the current selected player and automatically withdraw the default price.
Add Property except you get to specify the price.
Transfers a property to a player of your choice. [Selected player doesn't matter in this case]
Mortgage a property and adds the mortgage price to the player. [Selected player doesn't matter in this case]
Opposite of Mortgage Property, will automatically withdraw the unmortgage price from the owner. [Selected player doesn't matter in this case]
Transfer all properties from selected player to a player of your choice.
Add a house to a property of your choice, owner will automatically pay for it. [Selected player doesn't matter in this case]
Opposite of Add House(s), will refund the owner half the price of the house (as monopoly rules state). [Selected player doesn't matter in this case]
Have the selected player step on a property and automatically pay the owner of the property the rent.
Show a list of properties the selected player owns and how many houses those properties have.
Show the number of times a property has been stepped on and how much money it's made (on average and in total). [Selected player doesn't matter in this case]
Send the current selected player to jail.
Opposite of Jail.
Change the name of the current selected player.
Calculate the current winner based on total money (based on net worth). [Selected player doesn't matter in this case]
Shows info about a property. [Selected player doesn't matter in this case]
Rolls (a) die/dice, number of dice is determined in the config options. Note that unlike actual dice, this doesn't favor specific numbers (a pair of actual dice would favor 6), it just decides on a random number from 1 - ( number of dice * 6). [Selected player doesn't matter in this case]
Yes, there's a public list here
Kind of, the program saves all data in RAM so unfortunately the program state is not recoverable. However, there is a
file located at data/last_data.txt which saves some information of the game state. At some point I'm going to make a
feature that can semi-recover the state from the saved data and load it (you can see progress
here). Note that when that feature is
implemented, some data will still be lost however most of the important data is saved. Some of what's saved is:
- Player List
- Player Money
- Player Jail State
- Property List
- Property Name
- Number of Houses on Property
- Property Mortgage State
Here's what the file is formatted as:
---- (Player Name):
Money: <amount of money here>
--
In Jail: <True/False>
--
Properties:
<Property Name> - <Number of Houses (only if it's a normal property)> - <Mortgage: True/False>
For example:
---- (Player 1):
Money: 1100
--
In Jail: False
--
Properties:
Boardwalk - 0 - False
