Skip to content

Genetic Algorithm to find optimal solutions to the Iterated Prisoner's Dilemma game

Notifications You must be signed in to change notification settings

ftmoose/IPD_GeneticAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genetic Algorithms and The Iterated Prisoner's Dilemma

The focus of this project was to demonstrate how using a tailored genetic algorithm we can generate optimal strategies for the iterated prisoner's dilemma.

For more information regarding the project and it's results you can refer to the project paper where I go indepth on how both genetic algorithms and the iterated prisoner's dilemma works, as well as how they are tied together to form the final results.

💻 You can find a project demo hosted at ipd.mrammo.ca

Note: you can open up the developer's console before initiating a job to check it's progress

Contents

Dependencies

We take advantange of high level web frameworks to make the app easy to use:

  • React - Javascript library for building user interfaces
  • reactstrap - CSS bootstrap library built for react
  • Many more dependencies can be found in the project's package.json file

Setup

Begin by cloning the project into a local directory on your machine

$ mkdir IPD_G && cd ./IPD_G
$ git clone https://github.com/rammom/IPD_GeneticAlgorithm.git .

Start up the React server

$ npm install && npm start

Starting up the react server should directly open up a tab to the application, if not you can get to it at http://localhost:3000

Results

See the project paper for detailed results found during development.

About

Genetic Algorithm to find optimal solutions to the Iterated Prisoner's Dilemma game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages