Skip to content

ryan-dd/prisoners-dilemma-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prisoner's Dilemma Simulator

Prisoner's Dilemma Simulator is Python software that simulates repeated-play Prisoner's Dilemma games. It was created for a BYU CS 670 Multi-Agent Systems lab. An introduction to the problem domain and analysis of results is included in the LaTeX writeup, viewable as a pdf.

Getting Started

Run the simulation by running:

python -m scripts.play_prisoners_dilemma

The script will save a csv with the game results from each strategy matchup and each game type.

Requirements

Python 3.x

Numpy

Matplotlib

Pandas

Authors

Ryan Day

License

MIT © Ryan Day

About

A simulator for two player repeated play Prisoners Dilemma - created for CS 670 Multi-Agent Systems at BYU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published