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
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
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
See the project paper for detailed results found during development.