Skip to content

This is a game where selected player has to cross a busy road without colliding into any enemy bugs

Notifications You must be signed in to change notification settings

iharika/crossy-road

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crossy-road

How the game works?

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.

How to start the game?

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.

How to play 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.

Dependencies

This game uses the following libraries

  1. jQuery
  2. Bootstrap 4
  3. popper.min.js

About

This is a game where selected player has to cross a busy road without colliding into any enemy bugs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published