Prisoner’s Dilemma Strategy Simulator ← 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.


  • »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

A screenshot of Treasure Dash gameplay

Treasure Dash

Treasure Dash was a game idea which I'd previously made with a friend as a group project in university. The initial version was written in Java but it was very basic and unfinished. I decided to rebuild the project for the web and bring our initial vision to life. Continue reading »

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 »