This game has a Player and Enemies (Bugs). The goal of the player is to reach the water, without colliding into any one of the enemies. The player can move left, right, up and down. The enemies move in varying speeds on the paved block portion of the scene. Once the player collides with an enemy, the game is reset and the player moves back to the start square. Once the player reaches the water the game is won.
Download the repository and click on index.html which loads the entire game in your browser. Then user will be asked to select the character he wants to play with. Select the character and click on Start Playing
button to start the game.
Use your keyboard arrow keys to move the player left, right, up and down. Try to avoid any collision with the enemy bugs. Once the player reaches the water the game is won and player can click on Play Again
button to play the game again.
While playing the game, if user wants to reset the game at any point he can simply click on Restart Game
button.
This game uses the following libraries
- jQuery
- Bootstrap 4
- popper.min.js