Skip to content

A Python implementation of the iterated prisoner's dilemma, inspired by the 'Evolution of Trust' by Nicky Case

License

Notifications You must be signed in to change notification settings

svavil/evolution-of-trust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

evolution-of-trust

A Python implementation of the iterated prisoner's dilemma, inspired by the 'Evolution of Trust' by Nicky Case (game, github).

Run by evaluating print_statistics on a list of bots, such as

print_statistics([AlwaysBetray(), AlwaysCooperate(), Copycat(), Random()])

This should return a (non-deterministic) score table, higher is better, such as

378     AlwaysBetray
253     Random
203     Copycat
134     AlwaysCooperate

Pull requests that add more bots are welcome.

About

A Python implementation of the iterated prisoner's dilemma, inspired by the 'Evolution of Trust' by Nicky Case

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages