This is the repository that Beaverworks' SGAI 2022 will be using to understand serious games and reinforcement learning.
Please clone the repository and go to the directory:
git clone https://github.com/notrichardpeng/SGAI-Outbreak-Willy1.git
cd SGAI-Outbreak-Willy1
Install requirements if needed: pip install -r requirements.txt
Run the game: python main.py
Then, please follow these steps:
- Click the tutorial button and watch how to play (Optional)
- Check self-play option, but NOT the hospital option
- Play and finish the game
- Restart the game, but this time check the hospital option as well
- Finish this game
- Open
SelfPlayData_Hospital.txt
andSelfPlayData_NoHospital.txt
, copy and paste both into the willy1 game test Discord channel
MAKE NOTE THAT THE ENTIRE TEXT FILE GETS REWRITTEN EACH GAME.
To re-play the game, close the game tab and re-run python main.py
Thanks for playing and we hope you have fun! Any constructive feedback is welcome.