Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Iterated Prisoner's Dilemma
Game class for 2-player Iterated Prisoner's Dilemma. One can modify the number of rounds and the miscommunication chance.
Nice player always cooperates.
Mean player always cheats.
Grudge player starts by cooperating, but if you cheat, it will cheat back forever.
Copycat player starts by cooperating and then repeats whatever the other player did last.
Forgiving copycat player starts by cooperating and then cheats back only if cheated twice in a row.
Simple copycat player starts by cooperating. If you cheat, it does the opposite of what it did last. If you cooperate, it repeats whatever it did last.