Codebase for our project at ISC to play a game of "Loups-Garous" with LLMs.
git clone https://github.com/renaud/werewolves.git werewolves
cd werewolvesThen create an empty private repository on GitHub called werewolves and push your clone to it:
git remote set-url origin https://github.com/YOUR_USERNAME/werewolves.git
git push -u origin mainInstall dependencies:
pip install -r requirements.txtImplement your WerewolfPlayer in werewolf.py
Start the players with:
python3 local_players.pyIf you have configured remote players in players_config.yaml, wake them up first by running:
python3 ping.pyStart the game leader with:
python3 game_leader.pyRender.com is a platform that allows you to deploy your web service for free.
https://dashboard.render.com/login, sign with github verify email, skip survey
- click on Web service
- select your repository:
werewolves - keep default settings, except for
- "Start Command", replace with:
gunicorn --workers 1 --threads 4 --timeout 120 app:app - "Instance Type", select "Free"
- "Start Command", replace with:
- click "Deploy Web Service", then wait
- at some point, a message box will appear with a URL to your web service
- share the URL with the game leader (so other teams can add it to their
players_config.yamland play against your player)