game-theory-introduction

← ~/visualizations

game-theory-introduction #

Shows a 2×2 payoff matrix u_i(s) for two rational players. Animated scans highlight each player’s best responses (holding the other’s strategy fixed). Cells where both best-response markers overlap pulse to indicate a Nash equilibrium - no player can unilaterally deviate to improve payoff.

canvasclick to interact

⏮◀◀▶▶STEP0.25x1xZOOM

t=0s

practical uses #

technical notes #

Pure Canvas2D, green-on-black blocky UI with snapped geometry. Best responses are computed from the payoff table each frame; animation cycles through column/row best-response scans then pulses equilibrium. Responsive scaling via scale = min(w,h)/baseSize; minimal shapes/text for 60fps.

← positional-encodingcovariance-and-correlation →