axelrod-prisoner-dilemma

Recreation of the prisoner's dilemma model from Axelrod's "Evolution of Cooperation" in Python

https://github.com/chrisgrieser/axelrod-prisoner-dilemma

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.8%) to scientific vocabulary

Keywords

axelrod-model prisoner-dilemma-simulation sociology
Last synced: 10 months ago · JSON representation ·

Repository

Recreation of the prisoner's dilemma model from Axelrod's "Evolution of Cooperation" in Python

Basic Info
  • Host: GitHub
  • Owner: chrisgrieser
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 112 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
axelrod-model prisoner-dilemma-simulation sociology
Created almost 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

Axelrod Prisoner's Dilemma

Simple Recreation of the prisoner's dilemma model from Axelrod's "Evolution of Cooperation."

Usage via command line:

```bash

install dependencies

make init ```

```bash

activate virtual environment

source ./.venv/bin/activate

show API docs

make docs

Main Usage (Output to terminal):

python3 prisonerdilemma/main.py "actor1strategy" "actor2_strategy"

Battle Royale — every strategy against every strategy (Output to html):

python3 prisoner_dilemma/main.py --all

Help

python3 prisoner_dilemma/main.py --help ```

Output

for --all (Battle Royal):

Pasted image 2023-08-28 at 18 26 01@2x

Recommended Citation

Please cite this software project as (APA):

conf Grieser, C. (2023). Simulation of Axelrod prisoner’s dilemma [Computer software]. https://github.com/chrisgrieser/axelrod-prisoner-dilemma

For other citation styles, use the following metadata: - Citation File Format - BibTeX

Owner

  • Name: Chris Grieser
  • Login: chrisgrieser
  • Kind: user
  • Location: Berlin, Germany
  • Company: Technical University of Berlin

Researcher in sociology & software developer

Citation (CITATION.bib)

@software{Grieser2023,
	title = {{Simulation of Axelrod Prisoner's Dilemma}},
	author = {Christopher Grieser},
	year = 2023,
	keywords = {axelrod, game theory, prisoners dilemma, python, simulation, cooperation},
	url = {https://github.com/chrisgrieser/axelrod-prisoner-dilemma}
}

GitHub Events

Total
  • Watch event: 2
  • Push event: 4
  • Fork event: 1
Last Year
  • Watch event: 2
  • Push event: 4
  • Fork event: 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 minutes
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • kometenstaub (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • pandas *
  • pdoc *