In this project, you’ll be building 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.
- Interactive terminal game
- Field with holes
- Player movement
- Objective: Find the hat without falling down holes or stepping outside the field
- Clone the repository:
git clone https://github.com/rafaelfalleiros/find-your-hat-game-nodejs.git
- Navigate to the project directory:
cd find-your-hat-game-nodejs
- Install the dependencies:
npm install
- Run the game:
node main.js
- Follow the instructions on the terminal to play the game.
- Move the player writing 'U' for up, 'D' for down, 'L' for left, and 'R' for right.
- Try to find the hat without falling down holes or stepping outside the field.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please feel free to submit a pull request or open an issue if you find any bugs or have any suggestions.
- Rafael Falleiros ([email protected]).
- Codecademy's Full-Stack Engineer Career Path.