a handicap hex strategy - university of albertahayward/talks/hex.handicap.pdf · handicap strategy...

19
Hex and Handicap Hex Inferior Cell Analysis Handicap Strategy Summary A Handicap Hex Strategy Philip Henderson Department of Computing Science University of Alberta Edmonton, Alberta, Canada Joint work with Broderick Arneson and Prof. Ryan Hayward Philip Henderson A Handicap Hex Strategy

Upload: others

Post on 21-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

A Handicap Hex Strategy

Philip Henderson

Department of Computing ScienceUniversity of Alberta

Edmonton, Alberta, Canada

Joint work with Broderick Arneson and Prof. Ryan Hayward

Philip Henderson A Handicap Hex Strategy

Page 2: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Hex Rules and PropertiesHandicap Hex

Hex Basics

Rules

Two players alternate turns playing on any empty cell

Stones are permanent (no moving or capturing)

Goal is to connect your two sides of the board

Philip Henderson A Handicap Hex Strategy

Page 3: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Hex Rules and PropertiesHandicap Hex

Hex Basics

Theoretical Properties

An extra stone of your color is never a disadvantage

Hex cannot end in a draw

First-player win: strategy-stealing argument

PSPACE-complete to determine winner in arbitrary position

Philip Henderson A Handicap Hex Strategy

Page 4: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Hex Rules and PropertiesHandicap Hex

Motivation

Know only that there exists a winning first-player strategyHow many stones do we need to place initially toguarantee a win, and where should these handicap stonesbe placed?Claude Berge would give three stone handicaps on the11 × 11 board

Philip Henderson A Handicap Hex Strategy

Page 5: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Hex Rules and PropertiesHandicap Hex

Irregular Hex

aa

bb

cc

dd

ee

ff

gg

hh

iij

j

On irregular Hex boards, player traversing shorter distancecan win even as second-player using a simple pairingstrategy

Idea: use handicap stones to essentially reduce a regularHex board to an irregular one

Philip Henderson A Handicap Hex Strategy

Page 6: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Fill-inPermanently Inferior Cells

Fill-in

Using graph-theoretic properties, can determine stonesthat can be added to Hex positions without changing itsvalue

Two types of fill-in: dead cells and captured cells

Philip Henderson A Handicap Hex Strategy

Page 7: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Fill-inPermanently Inferior Cells

Dead Cells

A cell is dead if it is not on any minimal winning path (foreither player)

Dead cells can be filled-in with stones of either colour

Philip Henderson A Handicap Hex Strategy

Page 8: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Fill-inPermanently Inferior Cells

Captured Cells

A set of cells S is P-captured if player P has asecond-player strategy to make all P-claimed S-cells dead

P-captured sets of cells can be filled-in with P-colouredstones

Philip Henderson A Handicap Hex Strategy

Page 9: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Fill-inPermanently Inferior Cells

Permanently Inferior Cells

Have identified a new type of inferior cell: permanentlyinferior cells

Adds a single stone for one particular player P

Unlike fill-in, the strategy set is larger than the filled-in set

Philip Henderson A Handicap Hex Strategy

Page 10: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Fill-inPermanently Inferior Cells

Permanently Inferior Strategy (1)

If P moves first in pattern, claim P must play at shaded cell

Any other move allows P to capture all four cells

Philip Henderson A Handicap Hex Strategy

Page 11: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Fill-inPermanently Inferior Cells

Permanently Inferior Strategy (2)

If P plays at shaded cell, dotted cell is dead

If P plays first, captures all four cells

In all cases, P can claim the dotted cell

Can assign P the dotted cell without changing position’svalue

Philip Henderson A Handicap Hex Strategy

Page 12: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Fill-inPermanently Inferior Cells

Permanently Inferior Cell Patterns

All three permanently inferior patterns

Philip Henderson A Handicap Hex Strategy

Page 13: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Handicap ReductionHandicap Strategy

Handicap Stone Placement

Placement of stones begins on second row, main diagonalStones placed every 6 spaces until last stone is at mostdistance four from the edgeOn an n × n Hex board, this requires dn+1

6 e stones

Philip Henderson A Handicap Hex Strategy

Page 14: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Handicap ReductionHandicap Strategy

Handicap Reduction (1)

Capture cells below handicap stones

Philip Henderson A Handicap Hex Strategy

Page 15: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Handicap ReductionHandicap Strategy

Handicap Reduction (2)

Apply permanently inferior cell patterns next

Philip Henderson A Handicap Hex Strategy

Page 16: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Handicap ReductionHandicap Strategy

Handicap Reduction (3)

Fill-in remaining gaps via dead and/or captured

Philip Henderson A Handicap Hex Strategy

Page 17: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Handicap ReductionHandicap Strategy

Handicap Strategy

Essentially reduced to n − 1 × n board, so provenexistence of winning strategyCan easily make strategy explicit by enforcing inferior cellstrategies

Philip Henderson A Handicap Hex Strategy

Page 18: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Summary

Identified new form of inferior cell: permanently inferiorcells

Developed efficient and explicit handicap strategy for n × nHex

Open Questions:

Are there more permanently inferior cell patterns?

Can the number of handicap stones be further reducedwhile maintaining an explicit strategy?

Can the number of handicap stones be reduced if we onlydesire an existence proof (while still specifying initial stoneplacement)?

Philip Henderson A Handicap Hex Strategy

Page 19: A Handicap Hex Strategy - University of Albertahayward/talks/hex.handicap.pdf · Handicap Strategy Summary Hex Rules and Properties Handicap Hex Irregular Hex a a b b c c d d e e

Hex and Handicap HexInferior Cell Analysis

Handicap StrategySummary

Any Questions?

Thanks to:

NSERC and iCORE for funding support

Michael Johanson and Morgan Kan for helpfulconversations

Philip Henderson A Handicap Hex Strategy