This game was created as one my Udacity's challenge.
To run the game:
- Download project from the master branch.
- Unzipped downloaded file.
- In unzipped folder, you will index.html.
- Right click, and open with any browser of your choice, such as Chrome.
To start playing game:
- Use the arrow keys (▲, ▼, ◀, ▶ ) to move the player.
- The player shouldn't collide with the bugs. Every time the player collides with the bugs then the game is reset.
- You aim is to reach the water blocks at the top. Once you reach the top you win the game!
This game started off with Udacity's starter code at: https://github.com/udacity/frontend-nanodegree-arcade-game
Whilst accomplishing some of the tasks to complete the game I gained helped from the following sources:
-
For creating the overlay: w3schools https://www.w3schools.com/howto/howto_css_overlay.asp
-
For generating random numbers within a range: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random
This game was created with Html5, CSS and JavaScript.