PD-Home   ·   Introduction   ·   PDS-Instructions    ·   PDS-Examples    ·   PDS-Exercises    ·   Tournament-Entries

Prisoner's Dilemma Tournament

V 0.9

Peter Brooks
Stuyvesant High School
Dept. of Mathematics  & Computer Science

Contents

Introduction Quick intro to the terms of this PD Tournament and the payoff matrix.
PDS Instruction set This defines the PDS programming language.
Sample PD Strategies (examples) Several common Prisoner's Dilemma strategies encoded in PDS.
Exercises Try writing particular PDS program strategies
Run and store a strategy (entry) - Enter a PDS program
- check for correctness
- run it against another student's program
- store it for the tournament.

This PD site is designed as a gateway to a CS class-wide Prisoner's Dilemma strategy tournament.

We have created a small programming language (called PDS) that a student can define a PD strategy in.  A student can:
- write strategy programs in PDS
- do exercises using PDS to develop a feel for the language
- develop his/her strategy program and check it for errors
- store the program under the student's name

Then the set of strategy programs belonging to the students of a single class can be pitted against each other in a class tournament.