A Brief Introduction To Game Theory
A Brief Introduction To Game Theory
CHECKMATE!
A Brief Introduction to Game Theory
Dan Garcia UC Berkeley
The World
Kasparov
Welcome!
Introduction Topic motivation, goals Talk overview
Combinatorial game theory basics w/examples Computational game theory Analysis of some simple games Research highlights
A Brief Introduction to Game Theory 2/39
Combinatorial
Sprague and Grundys 1939 Mathematics and Games Board (table) games Nim, Domineering Complete info, alternating moves Goal: Last move
3/39
Artificial Intelligence testing grounds People want to understand the things that people like to do, and people like to play games Berlekamp & Wolfe
4/39
Theory
C. L. Boutons analysis of Nim [1902] Sprague [1936] and Grundy [1939] Impartial games and Nim
5/39
The game is finite it must eventually end There are no draws or ties Normal Play: Last to move wins!
A Brief Introduction to Game Theory 6/39
In
Nim, Domineering, Dots-and-Boxes, Go, etc.
8/39
Classification of Games
Impartial
Same moves available to each player Example: Nim
Partisan
The two players have different options Example: Domineering
9/39
Goal
Take the last bean
2 3 5 7
Feedback, theories?
11/39
1 2 3 5 7
Winning move?
Find MSB in Nim Sum Find heap w/1 in that place Invert all heaps bits from sum to make sum zero
Goal
Left (bLue) Right (Red) Place the last domino
17/39
Domineering
Game Tree
19/39
20/39
Right starts
and L has winning strategy ZERO G=0 2nd wins POSITIVE G>0 L wins and R has winning strategy NEGATIVE G<0 R wins FUZZY G || 0 1st wins
22/39
G = { GR | GL} Similar to switching places with your opponent Impartial games are their own neg., so G = G Examples from games weve seen:
Nim 1 2 G G
Rotate 90 Flip
Domineering
Game Tree
G
23/39
24/39
G + ( G) = 0
= 0 means is a zero game, 2nd player can win Examples: 1 + (1) = 0 and * + * = 0
Nim 1 * 1 * Domineering 1 * 1 1 * 0
25/39 A Brief Introduction to Game Theory
Game Tree 1
-2
-1.5
-1
-.5
.5
1.5
2
29/39
Simplicity, Mex rule Dominating options Reversible moves Number avoidance Temperatures
30/39
Small-to-medium games
Can have computer solve and teach us strategy GAMESMAN does exactly this
A Brief Introduction to Game Theory 31/39
Goal
Take the last piece
Query
Column = Nim heap? Zero shapes
A Brief Introduction to Game Theory 33/39
Goal
Get 3-in-a-row first in any row/column/diag.
Misre is tricky
34/39
36/39
Endgames, tablebases
Stiller, Nalimov Combinatorial GT applied
Values found [Elkies, 1996]
Rd7xNe7
37/39
Summary
Combinatorial game theory, learned games Computational game theory, GAMESMAN Reviewed research highlights
39/39