## Knight Escape

### Team AgNation

### Instruction:

Overview:

Attention!
A city-wide alert has been raised as the notorious team of con artists, AgNation, has managed to do it yet again. They have in their possession the prized KITKAT which they've stolen from the beloved Dr Ecco. A high-tension chase has ensued as they make their way out of NYC. NYC has deployed teams of detectives to chase them down. AgNation has to escape them or they will face perilious consequences.

The choice is yours. Help AgNation escape and get a share of the KITKAT or help Dr Ecco capture the thieves.

Rules:
The player can pick the number of detectives. The detectives pick their positions on the board first after which the escapee team can strategically position itself.

- Escapee:
  Objective: Get from the start row to the end row within 32 moves without ever occupying the same location as a detective.
  1. At the beginning of the game, you get to choose your position on the start row.
  2. At every turn you can move to the horizontally and vertically adjacent nodes to your current position.
  3. Once every 3 moves, you get to move like a knight from chess, that is move in a L shape with respect to your current position.
- Detectives:
  Objective: Capture the escapee either by occupying the same location as them or not allowing them to reach the end row before 32 moves have elapsed.
  1. At the beginning, you get to place your detectives (2,3,4 or 5) on rows 5-8 from the bottom.
  2. At every turn, you can move one of your detectives to horizontally and vertically adjacent nodes of their current position.

Once a game finishes a new game automatically starts with the parameters that you selected initially.

We'd like to thank the students who came before us, Team WA, for the grid structure and game setup code that we adopted for our game.