+ All Categories
Home > Documents > Hex: a Game of Connecting Faces

Hex: a Game of Connecting Faces

Date post: 02-Jan-2016
Category:
Upload: bernard-williams
View: 45 times
Download: 0 times
Share this document with a friend
Description:
Hex: a Game of Connecting Faces. The Object of Hex. Players take turns placing blue chips (player 1) and red chips (player 2). Player 1 plays first. Player 1 attempts to connect the top and bottom of the board with blue chips. - PowerPoint PPT Presentation
Popular Tags:
31
Hex: a Game of Connecting Faces
Transcript
Page 1: Hex: a Game of Connecting Faces

Hex: a Game of Connecting Faces

Page 2: Hex: a Game of Connecting Faces

Player 1

Player 2

•Players take turns placing blue chips (player 1) and red chips (player 2).•Player 1 plays first.•Player 1 attempts to connect the top and bottom of the board with blue chips.•Player 2 attempts to connect the left and right of the board with red chips.

The Object of Hex

Page 3: Hex: a Game of Connecting Faces

Blue wins!

Hex on a Sample 3x3 Board

Page 4: Hex: a Game of Connecting Faces

4x4 Board and Dual Graph Superimposed

Page 5: Hex: a Game of Connecting Faces

shift

Shift of Slanted Dual to Square Dual

Page 6: Hex: a Game of Connecting Faces

face

adjacent faces

vertex

adjacent vertices

vertex

adjacent vertices

face

adjacent faces

edge bounding two faces

two adjacent faces

edge joining two vertices

two adjacent vertices

Dual Graph Correspondences

Page 7: Hex: a Game of Connecting Faces

Hex Sample Game Simultaneously on 3x3 Board and Dual Board

Page 8: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: Setting up the Game Board

1. Start with a completed Hex game. Either there is a winner, or it is a draw. In the case of a draw, assume that play continues until all hexes are colored. Below illustrates the situation of the “draw”.

(there are no draws, but that is what we are trying to prove)

2. Add boundary rows. On the top and bottom, add blue rows. On the left and right, add red rows.

Page 9: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: Walking around the Game Board

3. Label the corners NW, NE, SW, and SE.

NWNE

SESW

4. Walk around the board starting from the NW corner, keeping blue on the left side.

A partial path is shown here. It is easy to see that the path will exit at the SW corner.

Page 10: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: Keeping Blue on the Left

Is it possible to keep blue on the left?

Page 11: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: Keeping Blue on the Left

Is it possible to keep blue on the left?

Yes, by induction.

At the start, at the NW corner, blue is on the left and red is on the right.

NW

Page 12: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: Keeping Blue on the Left

Is it possible to keep blue on the left?

Yes, by induction.

At the start, at the NW corner, blue is on the left and red is on the right.

NW

Suppose at the nth step, blue is still on the left, and red on the right.

Page 13: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: Keeping Blue on the Left

Is it possible to keep blue on the left?

Yes, by induction.

At the start, at the NW corner, blue is on the left and red is on the right.

NW

Suppose at the nth step, blue is still on the left, and red on the right.

Case 1: next hex is blue

Path turns to the right. Blue is still on the left side, and red is still on the right side.

Page 14: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: Keeping Blue on the Left

Is it possible to keep blue on the left?

Yes, by induction.

At the start, at the NW corner, blue is on the left and red is on the right.

NW

Suppose at the nth step, blue is still on the left, and red on the right.

Case 1: next hex is blue

Path turns to the right. Blue is still on the left side, and red is still on the right side.

Case 2: next hex is red

Path turns to the left. Blue is still on the left side, and red is still on the right side.

Page 15: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: Keeping Blue on the Left

Is it possible to keep blue on the left?

Yes, by induction.

At the start, at the NW corner, blue is on the left and red is on the right.

NW

Suppose at the nth step, blue is still on the left, and red on the right.

Case 1: next hex is blue

Path turns to the right. Blue is still on the left side, and red is still on the right side.

Case 2: next hex is red

Path turns to the left. Blue is still on the left side, and red is still on the right side.

By induction, we can walk around always keeping blue on the left and red on the right.

Page 16: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: The Path Does not Intersect Itself

Now that we know the path keeps blue on the left and red on the right, we know that if it is going to exit the board, it must do so either at the NE corner or the SW corner. The SE corner is out, because there blue is on the right and red is on the left.

NWNE

SESW

Enter Exit 1

Exit 2

Page 17: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: The Path Does not Intersect Itself

Now that we know the path keeps blue on the left and red on the right, we know that if it is going to exit the board, it must do so either at the NE corner or the SW corner. The SE corner is out, because there blue is on the right and red is on the left.

NWNE

SESW

Enter Exit 1

Exit 2

But how do we know that we can make the path exit the board? It might start going in circles.

Page 18: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: The Path Does not Intersect Itself

Now that we know the path keeps blue on the left and red on the right, we know that if it is going to exit the board, it must do so either at the NE corner or the SW corner. The SE corner is out, because there blue is on the right and red is on the left.

NWNE

SESW

Enter Exit 1

Exit 2

But how do we know that we can make the path exit the board? It might start going in circles.

We prove by induction that the path cannot intersect itself, and therefore cannot go in circles and must eventually exit.

Page 19: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: The Path Does not Intersect Itself, II

The path doesn’t intersect itself. Proof by induction.

At the start, the path doesn’t intersect itself.

NW

Page 20: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: The Path Does not Intersect Itself, II

The path doesn’t intersect itself. Proof by induction.

At the start, the path doesn’t intersect itself.

NW

Suppose after n steps, the path doesn’t intersect itself.

Page 21: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: The Path Does not Intersect Itself, II

The path doesn’t intersect itself. Proof by induction.

At the start, the path doesn’t intersect itself.

NW

Suppose after n steps, the path doesn’t intersect itself.

At the n+1 step, assume the path turns left (by symmetry).

Page 22: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: The Path Does not Intersect Itself, II

The path doesn’t intersect itself. Proof by induction.

At the start, the path doesn’t intersect itself.

NW

Suppose after n steps, the path doesn’t intersect itself.

At the n+1 step, assume the path turns left (by symmetry).

Assume to the contrary that the path intersects itself at this added step. There are two cases.

Case 1. Red is on the left side of the arrow that causes the intersection. Contradiction!

Page 23: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw: The Path Does not Intersect Itself, II

The path doesn’t intersect itself. Proof by induction.

At the start, the path doesn’t intersect itself.

NW

Suppose after n steps, the path doesn’t intersect itself.

At the n+1 step, assume the path turns left (by symmetry).

Case 2. Blue is on the right side of the arrow that causes the intersection. Contradiction!

Assume to the contrary that the path intersects itself at this added step. There are two cases.

Case 1. Red is on the left side of the arrow that causes the intersection. Contradiction!

Thus the path doesn’t intersect itself.

Page 24: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw (Summary)

NWNE

SESW

Enter Exit 1

Exit 2

We know now that the path must enter at NW and leave at either NE or SW. What is the interpretation?

Page 25: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw (Summary)

NWNE

SESW

Enter Exit 1

Exit 2

We know now that the path must enter at NW and leave at either NE or SW. What is the interpretation?

Case 1. If the path leaves at the NE, then red wins – to the right side of the path are red hexes.

Page 26: Hex: a Game of Connecting Faces

Hex Never Ends in a Draw (Summary)

NWNE

SESW

Enter Exit 1

Exit 2

We know now that the path must enter at NW and leave at either NE or SW. What is the interpretation?

Case 1. If the path leaves at the NE, then red wins – to the right side of the path are red hexes.

Case 2. If the path leaves at the SW, then blue wins – to the left side of the path are blue hexes.

Page 27: Hex: a Game of Connecting Faces

Bridge: A Variant of Hex

Page 28: Hex: a Game of Connecting Faces

Bridge: A Variant of Hex

•Players take turns placing blue squares (player 1) and red squares (player 2).•Player 1 plays first.•Player 1 attempts to connect the left and right of the board with a blue line.•Player 2 attempts to connect the top and bottom of the board with a red line.

Page 29: Hex: a Game of Connecting Faces

Bridge: Sample Play

Page 30: Hex: a Game of Connecting Faces

Bridge: Sample Play II

Blue wins!

Page 31: Hex: a Game of Connecting Faces

Bridge: Trial Conversion to Hex Form


Recommended