Skip to content

Need to cross the road without colliding with a moving vehicle.

License

Notifications You must be signed in to change notification settings

noobiept/cross_roads

Repository files navigation

Description

  • You have to cross the road to the other side.
  • There are cars moving in the road, at different speeds.
  • You can't collide with them.
  • If a collision occurs, the player is moved back to the starting point, and a life is taken away.
  • Once there's no more lives, the game ends.
  • If the player crosses the road, that level is successfully completed.
  • Try to finish all the levels in the shortest time.

Controls

Use the arrow keys (or wasd keys) to control the player movement.

Images

  • cars (license: public domain)
  • player (license: public domain)
  • explosion (license: public domain)

Music

  • happy tune (license: creative commons attribution)

Commands

  • npm run dev: Build the game and start a local server (at localhost:8000/).
  • npm run build: Build the release version of the game.

About

Need to cross the road without colliding with a moving vehicle.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published