Qm

Why the first player wins at Hex

Hex is played on a rhombus-shaped board of hexagonal cells. One player, Red, owns two opposite sides and tries to connect them with an unbroken chain of red stones; Blue owns the other two sides and tries to connect those with blue stones. Players alternate placing one stone of their colour on any empty cell.

Take two facts as given: (1) when the board is full, exactly one player has a connecting chain, so the game can never be drawn; (2) having an extra stone of your own colour on the board can never make your position worse.

Prove that the first player has a winning strategy. Does the proof tell you what that strategy is?

Show a hint

Suppose the second player had a winning strategy. Could the first player "borrow" it by placing a first stone anywhere and then pretending to be the second player?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Strike a number and all its divisorsThe poisoned brownie in the cornerTwenty coins in a circlePlacing coins on a round tableShould you draw first or second?
All questions →