Skip to content

bvsatyaram/werewolf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

werewolf

A simulation of the were wolf game

Usage

Show one game play

Game.new(<num_of_wolfs>, <num_of_villagers>).play

Simulate the game several time and show the probability of villagers winning

GameSimulator.new(<num_of_wolfs>, <num_of_villagers>).simulate(<num_of_simulations>)

Suggest the best villagers and wolves for a given number of total players

RoleSuggestor.new(<total_num_of_players>).suggest(<num_of_simulations_for_each_combination>)

About

A simulation of the were wolf game

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages