Peter and Bob play a game on a $n\times n$ chessboard. At the beginning, all squares are white apart from one black corner square containing a rook. Players take turns to move the rook to a white square and recolour the square black. The player who can not move loses. Peter goes first. Who has a winning strategy?
Problem
Source: All Russian 2014 Grade 11 Day 1 P2
Tags: combinatorics proposed, combinatorics
30.04.2014 14:52
Where are the rooks? Do Peter and Bob control one rook each or one rook together or some other number of rooks?
30.04.2014 15:48
"the board is white(all cells), only for the CORNER cells- black and they have ROOKS.", I think Peter and Bob are allowed to move one of the rooks in each turn, and there is no rooks on the white cells, but we need to confirm this to the author.
30.04.2014 18:16
we have $1$-corner cell and $1$ rooks on the corner cell.
03.05.2014 17:02
chaotic_iak wrote: Where are the rooks? Do Peter and Bob control one rook each or one rook together or some other number of rooks? You are right! Sorry I have mistake! Edited. On the board there is one rook on corner cell.
22.06.2014 06:41
Someone please check this solution: Peter can always win by always moving the maximum amount that he can vertically. Firstly we can show that every time Bob moves he does so horizontally and the black squares that he draws all either share an edge with the edge of the board or with black squares he previously drew. To prove this, note that it is true for the first move since Peter goes to the end of the board. Now consider some point in the game after Peter has made a move. If Peter reached the end of the board, Bob must move along the end. Otherwise Peter must have reached a black square along a row drawn by Bob. The drawing of this row had a vertical column drawn by Peter before and after it, so all of Bob's squares will be adjacent to the horizontal row (since he is bounded by the vertical columns). As a result of this, Bob's moves will always stack along the top and bottom of the board, so in other words, no square drawn by Bob can be untouched by the board or another square drawn by him both above it and below it. So this means that when Peter moves, he will always completely fill his column. The only other thing we have to show is that Peter always will have a column to fill. This is true because if Peter reaches a column he hasn't touched yet, at most n - 1 moves must have passed (since otherwise he moved through every column) but that means Bob has only drawn n-1 rows, so there's no way that this new column could be filled after Bob's move. Peter always has a move so Bob must be the loser. Solution 2 : I also just realized that Peter always cuts off a new uncolored section with more rows and columns, which will eventually lead to his win since Bob can only win after Peter's move if Peter cuts off a 1xn rectangle. So I think this works too
25.07.2014 07:03
sabbasi wrote: Someone please check this solution: Peter can always win by always moving the maximum amount that he can vertically. I think your solution is incorrect. Bob can also be a loser considering n=1. My solution: n is odd -> Bob wins, n is even -> Peter wins case 1: n is even Peter can always win by moving rook from (i, j) to (n+1-i, j) every time. case 2: n is odd WLOG we can assume that at the beginning, rook is on (n,1), and Peter moved it to (n,2). Bob can win by using the following method. Assume that Peter placed the rook on (i, j). If i<n, Bob can place rook on (n-i, j). If i=n, Bob can place rook on nth column, because on Bob's turn, number of white cells in nth column is odd.
25.07.2014 16:31
n=1 is an exception but in every other case that I tried Peter wins using this strategy. Also you should provide some proof for your strategies since it's not obvious why/if they work. Here I'll prove that Peter can win in a 3x3 label the cells from (1,1) to (3,3). Peter starts by going from (1,1) to (1,3). Case 1: Bob goes to (2,3) Then Peter moves to (2,1), Bob is forced to move to (3,1) then Peter moves to (3,3) and wins Case 2: Bob goes to (3,3) Then peter moves to (3,1) Bob is forced to go to (2,1) then Peter moves to (2,3) and wins.
25.07.2014 16:36
Do you consider the case that Bob goes to (1,2)?
25.07.2014 17:10
@BSJL I do not understand your concern. I suspect there is confusion in understanding the problem. Both players move the rook, and every square the rook moves over turns black, and black squares can't be moved on at all times. At least that is what the version here would suggest: http://www.artofproblemsolving.com/Forum/viewtopic.php?f=125&t=587460 but that version was the only way I could think of playing anyways. Since if paths are not drawn, it is only dependent on parity, and if paths are self intersecting the game doesn't need to end. So clearly (2,3) and (3,3) are the only possible moves by Bob.
26.07.2014 06:51
sabbasi wrote: At least that is what the version here would suggest: http://www.artofproblemsolving.com/Forum/viewtopic.php?f=125&t=587460 but that version was the only way I could think of playing anyways. Thanks for the link. I had some kind of confusion understanding this problem. I didn't realized that the path of the rook was colored.(the problem wasn't clear in the version of this post, actually) But I cannot understand why it depends on parity, if the path is not drawn. I think that this game can come to the end before every cell is colored...
26.07.2014 08:51
Sorry that was a comment I made because I thought I had a strategy. But yeah this problem statement isn't clear.
01.03.2015 19:29
I'm agree with Johnkwon. I had another strategy: If n is odd: Bob wins. it's enough to divide our chessboard into $1\times 2$ rectangles. And then when Peter moves Bob can move to the second square. If n is even: Peter wins . Like first situation just in the first move Peter goes to the (1,n) and then we should divide remain squares into $1\times 2$ rectangles. So Peter wins
01.03.2015 19:54
In fact, they shouldn't divide the board into dominoes because that makes their strategies obvious to the other player. The players can just pair the squares randomly .
30.03.2021 07:14
I claim that Peter wins if $n$ is even and Bob wins when $n$ is odd. For simplicity, let the squares be denoted $(i,j)$, where a square is located in the $i$th column from the left and $j$th row from the bottom. WLOG, let the rook start at $(n,n)$ and let Peter's first move be along the top row. First we will prove that Peter wins when $n$ is even. Consider the vertical line $m$ between the $n/2$ and $n/2+1$ column. For whatever Bob's first move is, Peter will just move the rook to the square that is the reflection of Bob's last move across $m$. Peter's move is always legal, since each square has exactly one reflection and each square is in the same row as its reflection across $m$. Since Peter can always play the mirrored square of Bob, Peter will win. Now consider when $n$ is odd. After Peter's first move, let Bob move to another square in the top row. Consider the horizontal line $\ell$ that is between the $(n-1)/2$ and $(n+1)/2$ row. If Peter moves to a square in a top row, Bob will move to a square in the top row. If Peter moves to a square not in the top row, Bob will move to the reflection of Peter's square over line $\ell$. Note that there are an even number of squares in the top row if the starting square $(n,n)$ is not considered, so if Peter moves to a square in the top row Bob will always be able to move to a square in the top row. Moreover, for the squares not in the top row, each square corresponds to exactly one another square that is its reflection over $\ell$, and these two squares are always in the same column. Hence, if Peter moves to a square not in the top row, Bob will always be able to move to its reflection across $\ell$. Since Bob always has a response to whatever square Peter moves to, Bob wins for odd $n$.
24.08.2023 18:04
El clásico Peter wins iff $n$ is even. If $n$ is even, his strategy is to divide the board into $1 \times 2$ rectangles; whenever a rook enters a rectangle (including on the first move) he moves it to the other cell. If $n$ is odd, Bob's strategy is to divide the board except for the starting cell into $1 \times 2$ rectangles and employ the same strategy. $\blacksquare$
14.10.2023 20:24
I saw this problem 3 times last week USSR 78, Bmo 1 2023 and now this Peter has a winning strategy if $n$ is even and Bob has one if $n$ is odd. We break the whole board into $2 \cdot 1 $ dominoes and note that if $n$ is even then $\text{Peter}$ has always a move if $\text{Bob}$ has a move because the square where $\text{Bob}$ moves is part of some domino and by his move $\text{Bob}$ bridges two dominoes always. So, B will be exhausted of his moves. Similarly, for $n$ odd $\text{Bob}$ has a similar winning strategy .