Skip to content

rexmhall09/Axelrods-Simulation-Environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Axelrod's Simulation Environment

A simple and interactive simulation tool inspired by Axelrod's classic tournaments, allowing you to easily create, test, and analyze your own game-theoretic strategies.

Features

  • Customize Strategies: Write and test your own strategy against genaric strategies.
  • Quick Simulation: Instantly run tournaments to see how your strategy performs.
  • Easy-to-use: Designed for simplicity and accessibility.

Getting Started

Clone the repository:

git clone https://github.com/rexmhall09/Axelrods-Simulation-Environment.git
cd Axelrods-Simulation-Environment

Run a tournament simulation:

python main.py

Adding Your Strategy

Create your own strategy by adding a Python file to the strategies directory:

def strategy(history):
    # Your strategy logic here
    return "C"  # "C" for cooperate or "D" for defect

About

Axelrod's Simulation but with a custom way to make your own strategies and a custom scoring system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages