Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (5 sloc) 550 Bytes

Iterated Prisoner's Dilemma in CoffeeScript

Iterated Prisoner's Dilemma is a piece of Game theory related to cooperation and trust.

This program aims to simulate a tournament of a number of players. Each playeer will play all the other players once and the winner will be the player who has accumulated the most wins.

This is written in CoffeeScript purely as an exercise to help me learn it. It relies on CoffeeScript, Node.js and Mocha (for testing)