Let $n\geq 2$ be an integer. Players $A$ and $B$ play a game using $n\times 2021$ grid of square unit cells. Firstly, $A$ paints each cell either black of white. $B$ places a piece in one of the cells in the uppermost row, and designates one of the cells in the lowermost row as the [i]goal[/i]. Then, $A$ repeats the following operation $n-1$ times:
・When the cell with the piece is painted white, $A$ moves the piece to the cell one below.
・Otherwise, $A$ moves the piece to the next cell on the left or right, and then to the cell one below.
Find the minimum possible value of $n$ such that $A$ can always move a piece to the [i]goal[/i], regardless of $B$'s choice.
To solve this problem, we need to ensure that player \( A \) can always move the piece to the goal cell in the lowermost row, regardless of the initial position chosen by player \( B \). We will analyze the construction provided and verify its correctness.

1. **Initial Setup**:
   - The grid is \( n \times 2021 \).
   - Player \( A \) paints each cell either black or white.
   - Player \( B \) places a piece in one of the cells in the uppermost row and designates a goal cell in the lowermost row.

2. **Movement Rules**:
   - If the cell with the piece is white, move the piece to the cell directly below.
   - If the cell is black, move the piece to the next cell on the left or right, and then to the cell directly below.

3. **Construction for \( n = 2022 \)**:
   - Fill the first and second rows completely black.
   - For the third row, color cells \((4k+1, 3)\) and \((4k+2, 3)\) black for \( k = 0, 1, 2, \ldots \), and the remaining cells white.
   - Color all remaining rows (from the fourth row to the \( n \)-th row) completely black.

4. **Verification**:
   - For any even \( 2 \le a, b \le 2022 \), it is possible to move from \((a, 4)\) to \((b, 2022)\).
   - Similarly, for any odd \( 3 \le a, b \le 2022 \), it is possible to move from \((a, 4)\) to \((b, 2022)\).
   - The third row is constructed such that for each \( 2 \le i \le 2021 \), \((i, 2)\) can be moved to either an odd or an even column.
   - The first row allows \((1, 1)\) and \((2021, 1)\) to move to \((2, 2)\) and \((2020, 2)\), respectively.

5. **Detailed Movement Analysis**:
   - From the first row, any piece can move to the second row since all cells are black.
   - From the second row, any piece can move to the third row since all cells are black.
   - In the third row, the piece can move to either an odd or even column in the fourth row.
   - From the fourth row onwards, since all cells are black, the piece can move left or right and then down, ensuring it can reach any cell in the lowermost row.

Thus, the minimum possible value of \( n \) such that \( A \) can always move a piece to the goal, regardless of \( B \)'s choice, is \( n = 2022 \).

The final answer is \( \boxed{ n = 2022 } \).