Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Game Theory Playground

In plain terms

An interactive lab for exploring 2×2 game theory — the math of strategic decisions like the Prisoner's Dilemma. Build your own payoff matrix, and the tool finds the Nash equilibria (both pure and mixed strategies), explains the best-response logic, and includes a Rock-Paper-Scissors reference for zero-sum mixed strategies. A fast, portable way to build intuition for how rational players make decisions.

Features

  • Custom 2×2 payoff matrix builder with presets
  • Pure and mixed Nash equilibrium solver
  • Best-response logic explained step by step
  • Zero-sum / mixed-strategy reference (Rock-Paper-Scissors)

Run it

Open index.html in any browser. Pure HTML + CSS + JavaScript — no frameworks, no backend.

About

This project is a simple website that lets you explore game theory. You can change the numbers in a 2×2 payoff table, and the website automatically shows you the best choices for each player and whether a Nash equilibrium exists. It also includes classic games like the Prisoner’s Dilemma and a tool to experiment with strategies.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages