Skip to content

How likely are the Villagers to defeat the Werewolves, in different configurations of players roles (more / fewer wolves, the Seer, the Healer etc.)

License

Notifications You must be signed in to change notification settings

This-Game/monte-carlo-werewolf-simulation

Repository files navigation

Monte Carlo Werewolf Simulation

Simulate the game of Werewolf with different roles and player ratios.

To run the simulation:

ruby simulate.rb

To start hacking on this, by look at simulate.rb and play with the simulations at the bottom of the file. To log the progression of an individual game, pass a second arg fromt he command line, e.g.

ruby simulate.rb debug

I recommend taking the runs down to 1 when checking individual game runs for correctness. Code layout borrowed from flazz's Uno sim.

About

How likely are the Villagers to defeat the Werewolves, in different configurations of players roles (more / fewer wolves, the Seer, the Healer etc.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages