## Adventure of a Lifetime

### Aditya and Gokul

# Path-finding Game in a Grid with a Twist

## Rules

- Two-player game with 2 Stages. In the 1st Stage -
  - Player 1 starts from the top right corner.
  - Player 2 starts from the bottom left corner.
- Objective: The player with the highest number of coins after 2 stages wins the game.
- Different Kinds of Cells: Coin, Wall, Teleport and Thief cells.
- After the first stage, the start positions of the players are swapped to ensure fairness in the game.
- Each stage ends when a player starting from one corner of the grid reaches the diagonally opposite corner. The second stage will have the same placement of cells as the first stage.

## Scoring

Players can gain coins in two ways:

1. Collecting a coin: Moving into a Coin cell.
2. Stealing a coin: Moving into the Thief cell located at the center of the grid allows the player to steal 1 coin from the other player. Note that there is just a single Thief cell per stage on the grid.

If the scores of both players are equal after a stage, the first player to reach their opposite corner gets 1 extra coin.

## Movement

- Players can move across grid cells in four directions:
  - Up, Down, Left, Right
  - In order to move, either press the direction arrow keys on your keyboard or click the direction buttons on the screen.
- Restrictions:
  - Players cannot pass through Wall cells.
  - Teleport cells allow players to move to another Teleport cell via mouse click.

NOTE - Please open the game in Popup Window for larger grid sizes.