Qm

Racing a rook to the corner

A single rook sits on the top-right square of an ordinary 8 by 8 chessboard. Two players alternate moving it. A move slides the rook any number of squares to the left or any number of squares down (never right, never up). The player who moves the rook onto the bottom-left corner square wins.

Who wins with best play, and what is the strategy? What if the board were 8 squares wide but only 6 squares tall?

Show a hint

Describe the rook's position by how many columns and how many rows it is from the target corner. Look for positions from which every move hands the opponent a good reply.

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

Placing knights so that none attackTwenty coins in a circleA row of ten countersShould you draw first or second?Four tumblers on a rotating table
All questions →