Prisoner’s Dilemma Strategy Simulator

https://github.com/dlh89/prisoners-dilemma ← Back

What is it?

A NodeJS app which simulates many iterations of the prisoner's dilemma, pitting an array of different strategies against each other.

Technologies

  • »JavaScript
  • »NodeJS

The Prisoner’s Dilemma is a hugely influential game in the field of Game Theory. In Richard Dawkins’ seminal 1976 book, The Selfish Gene, he describes a competition¬†organised by political scientist Robert Axelrod in which competitors could submit code for strategies for playing the game which were then pitted against each other. In this NodeJS app, I implement my own version of the Prisoner’s Dilemma game, along with an array of popular strategies. I discussed this project in a presentation I gave for BrightMinded about Game Theory which can be seen below.

Recent Projects

David Hide's web portfolio site

My Web Portfolio

I made this website as a way to showcase my projects and provide some background about who I am and the skills I can offer. Continue reading »

Screenshot of Podsend homepage

Podsend

A React single-page application (SPA) which processes the data from podcast RSS feeds and provides key facts such as how long the podcast has existed, what the longest ever episode is and the average time between releases. Continue reading »