Skip to content

Add Prisoner's Dilemma tutorial with Colab integration#121

Merged
alexanderthclark merged 4 commits into
mainfrom
tutorial/prisoners-dilemma-colab
May 26, 2025
Merged

Add Prisoner's Dilemma tutorial with Colab integration#121
alexanderthclark merged 4 commits into
mainfrom
tutorial/prisoners-dilemma-colab

Conversation

@alexanderthclark

Copy link
Copy Markdown
Owner
  • Create interactive Jupyter notebook for Google Colab
  • Add RST tutorial page with Colab launch button
  • Demonstrate economics-focused tutorial approach
  • Include game theory analysis with Nash equilibrium
  • Show minimal working example of notebook integration

- Create interactive Jupyter notebook for Google Colab
- Add RST tutorial page with Colab launch button
- Demonstrate economics-focused tutorial approach
- Include game theory analysis with Nash equilibrium
- Show minimal working example of notebook integration
Clarify that payoffs are utilities (higher is better) rather than
prison sentences. Use proper game theory terminology:
- Mutual cooperation reward
- Mutual punishment
- Sucker's payoff
- Temptation payoff
- Update code to convert equilibrium indices to action names
- Show proper expected output format
- Use existing Game.prisoners_dilemma() class method
- Match simplified code example from notebook
- Update expected output to show nash() result as indices
- Explain that [(1, 1)] corresponds to (Defect, Defect)
- Maintain economic analysis and educational content
- Ready for Colab integration with working example
@alexanderthclark alexanderthclark merged commit af44bc2 into main May 26, 2025
3 of 6 checks passed
@alexanderthclark alexanderthclark deleted the tutorial/prisoners-dilemma-colab branch May 26, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant