Lecture note for Math576 Combinatorial Game Theory

84
Math576: Combinatorial Game Theory Lecture note I Linyuan Lu University of South Carolina Fall, 2020

Transcript of Lecture note for Math576 Combinatorial Game Theory

Page 1: Lecture note for Math576 Combinatorial Game Theory

Math576: Combinatorial

Game Theory

Lecture note I

Linyuan Lu

University of South Carolina

Fall, 2020

Page 2: Lecture note for Math576 Combinatorial Game Theory

Artificial Intelligence

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 2 / 47

■ In 1996 Deep Blue (IBM) played against Garry Kasparov:won one, drew two, and lost three.

Page 3: Lecture note for Math576 Combinatorial Game Theory

Artificial Intelligence

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 2 / 47

■ In 1996 Deep Blue (IBM) played against Garry Kasparov:won one, drew two, and lost three.

■ In 1997, after heavily upgraded, Deep Blue won six-gamerematch 3.5 : 2.5 against Kasparov.

Page 4: Lecture note for Math576 Combinatorial Game Theory

Artificial Intelligence

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 2 / 47

■ In 1996 Deep Blue (IBM) played against Garry Kasparov:won one, drew two, and lost three.

■ In 1997, after heavily upgraded, Deep Blue won six-gamerematch 3.5 : 2.5 against Kasparov.

■ in 2016, AlphaGo (Google) beat Lee Sedol in a five-gamematch.

Page 5: Lecture note for Math576 Combinatorial Game Theory

Artificial Intelligence

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 2 / 47

■ In 1996 Deep Blue (IBM) played against Garry Kasparov:won one, drew two, and lost three.

■ In 1997, after heavily upgraded, Deep Blue won six-gamerematch 3.5 : 2.5 against Kasparov.

■ in 2016, AlphaGo (Google) beat Lee Sedol in a five-gamematch.

Will AI outsmart human being? How soon? How to playgames smarter?

Page 6: Lecture note for Math576 Combinatorial Game Theory

About the course

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 3 / 47

Textbook:Course Material

■ Chapter 1-5, part ofChapter 7.

■ Conways’ Game of Life■ Puzzles

Assessment

■ Homework■ Two midterm exam■ Final project

Page 7: Lecture note for Math576 Combinatorial Game Theory

Disclaimer

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 4 / 47

The slides are solely for theconvenience of the studentswho are taking this course.The students should buy thetextbook. The copyright ofmany figures in the slidesbelong to the authors ofthe textbook: Elwyn R.

Berlekamp, John H. Con-

way, and Richard K. Guy.

Page 8: Lecture note for Math576 Combinatorial Game Theory

What Games?

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 5 / 47

■ Number of players?■ Type of Games?■ Rules?■ Ending positions?■ Winning Strategies?

Page 9: Lecture note for Math576 Combinatorial Game Theory

Blue-Red Hackenbush

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 6 / 47

■ Two players: “Left” and “Right”.

■ Game board: blue-red graphs connected to the ground.

■ Rules: Two players take turns. Right deletes one rededge and also remove any piece no longer connected tothe ground. Left does the similar move but deletes oneblue edge.

■ Ending positions: Whoever gets stuck is the loser.

Page 10: Lecture note for Math576 Combinatorial Game Theory

Copy strategy

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 7 / 47

Who wins?

Tweedledum Tweedeldee (I) Tweedledum Tweedeldee (II)

Page 11: Lecture note for Math576 Combinatorial Game Theory

Copy strategy

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 7 / 47

Who wins?

Tweedledum Tweedeldee (I) Tweedledum Tweedeldee (II)

The second player has a winning strategy: copy the move ofthe first player.

Page 12: Lecture note for Math576 Combinatorial Game Theory

Zero Game

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 8 / 47

A game have the value 0 if the second player has a winningstrategy.

Page 13: Lecture note for Math576 Combinatorial Game Theory

Zero Game

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 8 / 47

A game have the value 0 if the second player has a winningstrategy.

The sum of two games G and H, denoted by G+H, is agame that player can choose one of the game board to playat his/her turn.

Page 14: Lecture note for Math576 Combinatorial Game Theory

Zero Game

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 8 / 47

A game have the value 0 if the second player has a winningstrategy.

The sum of two games G and H, denoted by G+H, is agame that player can choose one of the game board to playat his/her turn.

For any game G, let −G be the mirror image of G. Then

G+ (−G) = 0.

Page 15: Lecture note for Math576 Combinatorial Game Theory

Zero Game

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 8 / 47

A game have the value 0 if the second player has a winningstrategy.

The sum of two games G and H, denoted by G+H, is agame that player can choose one of the game board to playat his/her turn.

For any game G, let −G be the mirror image of G. Then

G+ (−G) = 0.

Two games G and H have the same value if

G+ (−H) = 0.

Page 16: Lecture note for Math576 Combinatorial Game Theory

Game Values

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 9 / 47

−2 −1 0 1 2

Page 17: Lecture note for Math576 Combinatorial Game Theory

Game Values

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 9 / 47

−2 −1 0 1 2

What are the values of the following games?

Page 18: Lecture note for Math576 Combinatorial Game Theory

Answers

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 10 / 47

Observation: If each edge in a red-blue Hackenbush gameG is connected to the ground via its own color, then theother player cannot delete its opponent’s edges. Thereforethe value of G is the number of blue edges minus thenumber of red edges.

Page 19: Lecture note for Math576 Combinatorial Game Theory

Answers

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 10 / 47

Observation: If each edge in a red-blue Hackenbush gameG is connected to the ground via its own color, then theother player cannot delete its opponent’s edges. Thereforethe value of G is the number of blue edges minus thenumber of red edges.

14− 11 = 3 9− 7 = 2

Page 20: Lecture note for Math576 Combinatorial Game Theory

Half move

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 11 / 47

1

2

Page 21: Lecture note for Math576 Combinatorial Game Theory

Half move

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 11 / 47

1

2

Show that the following game is a zero-game.

Page 22: Lecture note for Math576 Combinatorial Game Theory

Brace notation

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 12 / 47

ւ ցLeft first Right first

0 1

Page 23: Lecture note for Math576 Combinatorial Game Theory

Brace notation

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 12 / 47

ւ ցLeft first Right first

0 1

{0 | 1} =1

2

Page 24: Lecture note for Math576 Combinatorial Game Theory

Brace notation

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 12 / 47

ւ ցLeft first Right first

0 1

{0 | 1} =1

2

More notation:

{ | } = 0

{0 | } = 1

{1 | } = 2

{ | 0} = −1

{ | −1} = −2

{n | } = n+ 1

{n | n+ 1} = n+1

2

Page 25: Lecture note for Math576 Combinatorial Game Theory

More game values

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 13 / 47

What are the values of the following games?

Page 26: Lecture note for Math576 Combinatorial Game Theory

More game values

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 13 / 47

What are the values of the following games?

1

4

3

411

2

1

41

Page 27: Lecture note for Math576 Combinatorial Game Theory

A game of Ski-Jumps

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 14 / 47

Page 28: Lecture note for Math576 Combinatorial Game Theory

A game of Ski-Jumps

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 15 / 47

■ Two players: “Left” and “Right”.

■ Game board: several skiers on a rectangular board

■ Rules: Two players take turns. Left may move any skiera square or more Eastwards, or Right any one of his,Westwards, provided there is no active skier in the way.Such a move may take a skier off the slope; in this casehe takes no further part in the game. Alternatively askier on the square immediately above one containing askier of the opposing team, may jump over him on thethe square immediately below, provided this is empty. Aman jumped over will never jump over anyone else.

■ Ending positions: Whoever gets stuck is the loser.

Page 29: Lecture note for Math576 Combinatorial Game Theory

Some examples of Ski-Jumps

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 16 / 47

Page 30: Lecture note for Math576 Combinatorial Game Theory

Some examples of Ski-Jumps

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 16 / 47

5− 3 = 2 {2 | 3} = 21

2

Page 31: Lecture note for Math576 Combinatorial Game Theory

Some examples of Ski-Jumps

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 16 / 47

5− 3 = 2 {2 | 3} = 21

2

Page 32: Lecture note for Math576 Combinatorial Game Theory

Some examples of Ski-Jumps

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 16 / 47

5− 3 = 2 {2 | 3} = 21

2

5+2-8=-1

Page 33: Lecture note for Math576 Combinatorial Game Theory

A 3× 5 board

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 17 / 47

Page 34: Lecture note for Math576 Combinatorial Game Theory

Don’t take the average!

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 18 / 47

{21

2| 4

1

2} = 3

Why?

Page 35: Lecture note for Math576 Combinatorial Game Theory

Simplicity Rule

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 19 / 47

If the options in

{a, b, c, . . . | d, e, f, . . .}

are all numbers, we say the number x fits if x is greater thaneach of a, b, c, . . . and less than each of d, e, f, . . ..

Page 36: Lecture note for Math576 Combinatorial Game Theory

Simplicity Rule

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 19 / 47

If the options in

{a, b, c, . . . | d, e, f, . . .}

are all numbers, we say the number x fits if x is greater thaneach of a, b, c, . . . and less than each of d, e, f, . . ..

Simplicity Rule: If there’s any number that fits, theanswer’s the simplest number that fits.

Page 37: Lecture note for Math576 Combinatorial Game Theory

Simplicity Rule

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 19 / 47

If the options in

{a, b, c, . . . | d, e, f, . . .}

are all numbers, we say the number x fits if x is greater thaneach of a, b, c, . . . and less than each of d, e, f, . . ..

Simplicity Rule: If there’s any number that fits, theanswer’s the simplest number that fits.

For example,

{0 | 1} =1

2,

{−11

2| 3} = 0,

{1

2| 1} =

3

4,

{21

2| 4

1

2} = 3.

Page 38: Lecture note for Math576 Combinatorial Game Theory

Simplest Forms for Numbers

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 20 / 47

Page 39: Lecture note for Math576 Combinatorial Game Theory

Toads-and-Frogs

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 21 / 47

■ Two players: “Left” and “Right”.

■ Game board: Some Toads and Frogs on a rectangularboard.

■ Rules: Two players take turns. Left moves one of ToadsEastwards. Right moves one of Frogs Westwards. Thecreature (Toad or Frog) may jump over an opposingcreature, onto an empty square.

■ Ending positions: Whoever gets stuck is the loser.

Page 40: Lecture note for Math576 Combinatorial Game Theory

An example

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 22 / 47

Page 41: Lecture note for Math576 Combinatorial Game Theory

Game Values

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 23 / 47

Page 42: Lecture note for Math576 Combinatorial Game Theory

Working out a horse

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 24 / 47

Page 43: Lecture note for Math576 Combinatorial Game Theory

Game of CutCake

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 25 / 47

■ Two players: “Left” and “Right”.

■ Game board: A rectangular cake.

■ Rules: Two players take turns. Left may cut anyrectangle into two smaller ones along the North-Southlines while Right cut it along the the East-West lines.

■ Ending positions: Whoever gets stuck is the loser.

Page 44: Lecture note for Math576 Combinatorial Game Theory

Game Values in Cutcake

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 26 / 47

Page 45: Lecture note for Math576 Combinatorial Game Theory

Maundy Cake

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 27 / 47

■ Two players: “Left” and “Right”.

■ Game board: A rectangular cake.

■ Rules: Two players take turns. Left may cut anyrectangle into any number of smaller equal ones alongthe North-South lines while Right cut it along the theEast-West lines.

■ Ending positions: Whoever gets stuck is the loser.

Page 46: Lecture note for Math576 Combinatorial Game Theory

Maundy Cake

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 27 / 47

■ Two players: “Left” and “Right”.

■ Game board: A rectangular cake.

■ Rules: Two players take turns. Left may cut anyrectangle into any number of smaller equal ones alongthe North-South lines while Right cut it along the theEast-West lines.

■ Ending positions: Whoever gets stuck is the loser.

For example, a 4× 9 cake may be cut into

■ nine 4× 1 or three 4× 3 by Left;■ four 1× 9 or two 2× 9 by Right.

Page 47: Lecture note for Math576 Combinatorial Game Theory

Maundy Cake Values

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 28 / 47

Page 48: Lecture note for Math576 Combinatorial Game Theory

Working out Maundy Cake

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 29 / 47

Let M(r, l) be the value of Maundy Cake of dimension r× l.

Page 49: Lecture note for Math576 Combinatorial Game Theory

Working out Maundy Cake

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 29 / 47

Let M(r, l) be the value of Maundy Cake of dimension r× l.

r = 999: 333 : 111 : 37 : 1l = 1000: 500 : 250 : 125 : 25 : 5 : 1

M(999, 1000) = 5 + 1.

Page 50: Lecture note for Math576 Combinatorial Game Theory

Working out Maundy Cake

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 29 / 47

Let M(r, l) be the value of Maundy Cake of dimension r× l.

r = 999: 333 : 111 : 37 : 1l = 1000: 500 : 250 : 125 : 25 : 5 : 1

M(999, 1000) = 5 + 1.

r = 1000: 500 : 250 : 125 : 25 : 5 : 1l = 1001: 143 : 13 : 1

M(1000, 1001) = (−25) + (−5) + (−1) = −31.

Page 51: Lecture note for Math576 Combinatorial Game Theory

Four possible game outputs

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 30 / 47

G > 0 or G is positive if player Left can always win.G < 0 or G is negative if player Right can always win.G = 0 or G is zero if second player can always win.G‖0 or G is fuzz if first player can always win.

Page 52: Lecture note for Math576 Combinatorial Game Theory

Combination of outputs

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 31 / 47

■ G ≥ 0 means that Left has a winning strategy providedRight plays first.

Page 53: Lecture note for Math576 Combinatorial Game Theory

Combination of outputs

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 31 / 47

■ G ≥ 0 means that Left has a winning strategy providedRight plays first.

■ G ≥ 0 means that Right has a winning strategy providedLeft plays first.

Page 54: Lecture note for Math576 Combinatorial Game Theory

Combination of outputs

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 31 / 47

■ G ≥ 0 means that Left has a winning strategy providedRight plays first.

■ G ≥ 0 means that Right has a winning strategy providedLeft plays first.

■ G |⊲ 0 means that Left has a winning strategy providedLeft plays first.

Page 55: Lecture note for Math576 Combinatorial Game Theory

Combination of outputs

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 31 / 47

■ G ≥ 0 means that Left has a winning strategy providedRight plays first.

■ G ≥ 0 means that Right has a winning strategy providedLeft plays first.

■ G |⊲ 0 means that Left has a winning strategy providedLeft plays first.

■ G ⊳ | 0 means that Right has a winning strategy providedRight plays first.

Page 56: Lecture note for Math576 Combinatorial Game Theory

Hackenbush Hotchpotch

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 32 / 47

■ Two players: “Left” and “Right”.

■ Game board: blue-red-green graphs connected to theground.

■ Rules: Two players take turns. Right deletes one rededge or one green edge and also remove any piece nolonger connected to the ground. Left does the similarmove but deletes one blue edge or one green edge.

■ Ending positions: Whoever gets stuck is the loser.

Page 57: Lecture note for Math576 Combinatorial Game Theory

Sum of arbitrary games

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 33 / 47

Let GL be the typical left options and GR be the typicalright options. Then

G = {GL | GR}.

Page 58: Lecture note for Math576 Combinatorial Game Theory

Sum of arbitrary games

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 33 / 47

Let GL be the typical left options and GR be the typicalright options. Then

G = {GL | GR}.

For two arbitrary games G = {GL | GR} andH = {HL | HR}, the sum of the games is defined as

G+H = {GL +H,G+HL | GR +H,G+HR}.

Page 59: Lecture note for Math576 Combinatorial Game Theory

Some properties

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 34 / 47

■ If G ≥ 0 and H ≥ 0 then G+H ≥ 0.

Page 60: Lecture note for Math576 Combinatorial Game Theory

Some properties

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 34 / 47

■ If G ≥ 0 and H ≥ 0 then G+H ≥ 0.

■ If G ≤ 0 and H ≤ 0 then G+H ≤ 0.

Page 61: Lecture note for Math576 Combinatorial Game Theory

Some properties

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 34 / 47

■ If G ≥ 0 and H ≥ 0 then G+H ≥ 0.

■ If G ≤ 0 and H ≤ 0 then G+H ≤ 0.

■ If G |⊲ 0 and H ≥ 0 then G+H |⊲ 0.

Page 62: Lecture note for Math576 Combinatorial Game Theory

Some properties

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 34 / 47

■ If G ≥ 0 and H ≥ 0 then G+H ≥ 0.

■ If G ≤ 0 and H ≤ 0 then G+H ≤ 0.

■ If G |⊲ 0 and H ≥ 0 then G+H |⊲ 0.

■ If G ⊳ | 0 and H ≤ 0 then G+H ⊳ | 0.

Page 63: Lecture note for Math576 Combinatorial Game Theory

Some properties

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 34 / 47

■ If G ≥ 0 and H ≥ 0 then G+H ≥ 0.

■ If G ≤ 0 and H ≤ 0 then G+H ≤ 0.

■ If G |⊲ 0 and H ≥ 0 then G+H |⊲ 0.

■ If G ⊳ | 0 and H ≤ 0 then G+H ⊳ | 0.

We only prove the first property here. Assume Right playsfirst. If Right plays on G, then Left responds in G since Lefthas a winning strategy in G. If Right plays on H, then Leftresponds in H since Left has a winning strategy in H. Inether case, Left can win. Thus, G+H ≥ 0.

Page 64: Lecture note for Math576 Combinatorial Game Theory

Outcome of sum of games

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 35 / 47

H = 0 H > 0 H < 0 H‖0G = 0 G+H = 0 G+H > 0 G+H < 0 G+H‖0G > 0 G+H > 0 G+H > 0 G+H?0 G+H |⊲ 0G < 0 G+H < 0 G+H?0 G+H < 0 G+H ⊳ | 0G‖0 G+H‖0 G+H |⊲ 0 G+H ⊳ | 0 G+H?0

Here G+H?0 are unrestricted.

Page 65: Lecture note for Math576 Combinatorial Game Theory

Comparing two games

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 36 / 47

Use the negative game −H = {−HR | −HL}. One candefine G = H, G > H, G < H, and G‖H. For example,define G > H if G+ (−H) > 0.

Page 66: Lecture note for Math576 Combinatorial Game Theory

Comparing two games

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 36 / 47

Use the negative game −H = {−HR | −HL}. One candefine G = H, G > H, G < H, and G‖H. For example,define G > H if G+ (−H) > 0.

We have

H = K H > K H < K H‖KG = H G = K G > K G < K G‖KG > H G > K G > K G?K G |⊲ K

G < H G < K G?K G < K G ⊳ |K

G‖H G‖K G |⊲ K G ⊳ |K G?K

Page 67: Lecture note for Math576 Combinatorial Game Theory

Small Hackenbush Positions

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 37 / 47

Flower is dwarfed by Very Small Hollyhocks of Either Sign.

−1

2n< flower <

1

2nfor any n.

Page 68: Lecture note for Math576 Combinatorial Game Theory

Small positive Hackenbush

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 38 / 47

This house has a positive value but is smaller than anypositive number.

0 < house <1

2nfor any n.

Page 69: Lecture note for Math576 Combinatorial Game Theory

The game value ∗

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 39 / 47

∗ = {0 | 0}.

Page 70: Lecture note for Math576 Combinatorial Game Theory

The game value ∗

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 39 / 47

∗ = {0 | 0}.

How big is the star ∗?

Page 71: Lecture note for Math576 Combinatorial Game Theory

The game value ∗

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 39 / 47

∗ = {0 | 0}.

How big is the star ∗?∗ is less than any positive number, greater than any negativenumber, and fuzz with 0.

Page 72: Lecture note for Math576 Combinatorial Game Theory

The game value ∗

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 39 / 47

∗ = {0 | 0}.

How big is the star ∗?∗ is less than any positive number, greater than any negativenumber, and fuzz with 0.

For any number x, let x∗ = x+ ∗. We have

{x | x} = x ∗ .

Page 73: Lecture note for Math576 Combinatorial Game Theory

Game of Col

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 40 / 47

■ Two players: “Left” and “Right”.

■ Game board: a partial colored planar map.

■ Rules: Two players take turns to paint regions of themap. Each player, when in his turn to move, paint oneregion of the map, Left using the color blue and Rightusing the color red. No two regions having a commonfrontier may be painted in the same color.

■ Ending positions: Whoever gets stuck is the loser.

Page 74: Lecture note for Math576 Combinatorial Game Theory

Example 1 of Col Game

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 41 / 47

The region belonging to Left only is blue-tinted while theone belonging to Right only is red-tinted.

Page 75: Lecture note for Math576 Combinatorial Game Theory

Example 2 of Col Game

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 42 / 47

Page 76: Lecture note for Math576 Combinatorial Game Theory

Example 2 of Col Game

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 42 / 47

{∗,−1, 1 | 1} = {1 | 1} = 1 ∗ .

Page 77: Lecture note for Math576 Combinatorial Game Theory

Alternative version of Col

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 43 / 47

We can also represent regions by nodes and adjacency byedges.: nodes available for both Left and Right.

: nodes available for Left only.

: nodes available for Right only.

Page 78: Lecture note for Math576 Combinatorial Game Theory

Some Col Values

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 44 / 47

Page 79: Lecture note for Math576 Combinatorial Game Theory

A theorem of Col

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 45 / 47

Theorem Every position of Col has the value z or z∗ forsome number z.

Page 80: Lecture note for Math576 Combinatorial Game Theory

A theorem of Col

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 45 / 47

Theorem Every position of Col has the value z or z∗ forsome number z.

Proof: It is sufficient to show

GL + ∗ ≤ G ≤ GR + ∗.

The statement follows from induction.

Page 81: Lecture note for Math576 Combinatorial Game Theory

Seating Couples

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 46 / 47

■ Two players: “Left” and “Right”.

■ Game board: some dinning tables of various sizes.

■ Rules: Two players take turns to seat couples for adinner. Left prefers to seat a lady to the left of herpartner, while Right thinks it proper only to seat her tothe right. No gentleman may be seated next to a ladyother than his own partner.

■ Ending positions: Whoever gets stuck is the loser.

Page 82: Lecture note for Math576 Combinatorial Game Theory

Values of seating couples

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 47 / 47

LnL, a row of n empty chairs between two of Left’s guests,RnR, a row of n empty chairs between two of Right’s, andLnR or RnL, a row of n empty chairs between one of Left’sguests and one of Right’s.

Page 83: Lecture note for Math576 Combinatorial Game Theory

Values of seating couples

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 47 / 47

LnL, a row of n empty chairs between two of Left’s guests,RnR, a row of n empty chairs between two of Right’s, andLnR or RnL, a row of n empty chairs between one of Left’sguests and one of Right’s.

Recursive formular:

LnL = {LaL+ LbL | LaR + RbL}

RnR = {RaL+ LbR | RaR +RbR} = −LnL

LnR = {LaL+ LbR | LaR +RbR} = RnL.

Page 84: Lecture note for Math576 Combinatorial Game Theory

Values of seating couples

Math576: Combinatorial Game Theory Linyuan Lu, University of South Carolina – 47 / 47

LnL, a row of n empty chairs between two of Left’s guests,RnR, a row of n empty chairs between two of Right’s, andLnR or RnL, a row of n empty chairs between one of Left’sguests and one of Right’s.

Recursive formular:

LnL = {LaL+ LbL | LaR + RbL}

RnR = {RaL+ LbR | RaR +RbR} = −LnL

LnR = {LaL+ LbR | LaR +RbR} = RnL.

n 0 1 2 3 4 5 6 7 8 9 10 11 . . .

LnL − 0 −1 −1 ∗ −1

2−1

20 −1

4−1

4∗ −1

8. . .

LnR 0 0 0 ∗ ∗ ∗ 0 0 0 ∗ ∗ ∗ . . .

RnR − 0 1 1 ∗ 1

2

1

20 1

4

1

4∗ 1

8. . .