Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evolutionary Game Theory Simulation

Python 3.9+ License: MIT

Features

  • Spatial Prisoner's Dilemma simulations
  • Multiple strategy implementations (TFT, Pavlov, etc.)
  • Genetic algorithm-based evolution
  • Real-time visualization

Quick Start

git clone https://github.com/zahramh99/evolutionary-game-theory.git
cd evolutionary-game-theory
pip install -r requirements.txt
python src/main.py

## **5. Key Extensions for Research**  

1. **RL Strategy Optimization**  
   ```python
   class RLAgent(EvolutionaryAgent):
       def __init__(self):
           super().__init__()
           self.q_table = defaultdict(lambda: np.random.uniform(0,1,2))  # Q-learning

About

Python implementation of evolutionary game theory simulations, featuring Prisoner's Dilemma dynamics with genetic algorithms and reinforcement learning. Includes visualization tools for studying emergent cooperation in multi-agent systems.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages