It would be a good idea to start adding unit tests to this project to ensure the code stays reliable as it grows.
One idea I have is to use pytest to check that everything is implemented correctly.
Proposal
- Set up
pytest as testing framework
- Add mock inputs to simulate the user playing games
- Write tests for key functions (e.g. playing a game, payouts, etc.)