Build an interactive terminal game. The scenario is that the player has lost their hat in a field full of holes, and they must navigate back to it without falling down one of the holes or stepping outside of the field. Codecademy exercise.
- Users can specify the size of a square game field (4 - 24), field size: input x input
- Generate a field with a random amount of holes
- Users can navigate around the field using the WASD keys
- Game events:
- Falling of the field
- Falling in a hole
- Finding the hat – and winning the game!
- Users can ifinitely restart the game with a new field