To figure out the probability of a player landing on a specific property while playing Monopoly
I used homebrew to install python3 on my OSX. You can install it anyway you feel like.
brew install python3
Using pip to install other prerequisites
python3 -m pip install psd-tools numpy scipy pygame==2.0.0.dev6
PyGame UI version
python3 Monopoly.py <turns_per_game>
For UI generation, tool parses through .psd file and generate Game UI directly. Read PSDReader.py for more info.
Keep UI.psd next to the py script.
Layer named ScreenSize is required, PyGame uses this for Window initiation.
Text elements are taken by name from PSD.
PyGame CMD Line version
python3 GameCode.py
Mail me at [email protected]
- Sanchit Gulati
This project is licensed under the MIT License - see the LICENSE.md file for details