/get-the-nuts

Get the nuts is an endless runner game built with phaser.

Primary LanguageJavaScript

Get The Nuts

  • This is a runner game built with Phaser. The game requires the player tom collect as much nuts as possible to get high scores.

Screenshot

  1. Main screenshot1

Built With

  • Phaser 3
  • HTML 5
  • Css
  • Javascript
  • Webpack

Live Demo

Live link

How to Run the game

  • You have to clone / download the repository to your computer so you can have it locally.

  • Click here to download it

  • Navigate to the project directory in your terminal and run npm install to install the dependencies.

  • Run npm start to start the development server and the game will automatically be opened in your browser.

  • To run tests run npm run test in your terminal.

How To Play

  • While starting the game you will be asked to enter your username if playing it for the first time. The username will then be saved in the localstorage and will than be retrieved automatically the next time when playing the game.
  • Press the start button to start the game. You'll then see the running player, and hence the name runner game.
  • You need to jump over the fires and also stay on the platforms to be alive. Use the left mouse click to jump up. You can jump up twice the jumping height by left clicking your mouse twice.
  • Get in contact with the nuts to earn points.
  • The game ends when you fall off a platform of come in contact with fire, saving your scores.

Authors

👤 Partrick Nyatindo

🤝 Contributing

Contributions, issues and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.