Skip to content

jiajunye/OOJS_Frogger-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOJS Arcade Game: "Frogger"

Description

Developed a performant, organized and easily maintainable version of the classic arcade game, Frogger. Added some additional functions to the basic functionality.
Broken the application down into simpler entities that manage their own properties and functionality.
Coded app.js to build reusable and maintainable libraries for player, enemy, star and other game entities with JavaScript's object-oriented pseudo-classical pattern.
Coded engine.js to provide the game loop and resources.js to load and cache all images the game needed.

Game Aim

Gain scores as many as you can by collecting stars on the screen. Once player collides with a bug(enemy) or fell into the water, reset the player to the original position and reset the score to zero. Record the best score so far.

How to play

  • Download game files, open index.html in your browser to open the game window.
  • Press enter to start game.
  • Press "up", "down", "left" and "right" to move player.
  • Must avoid to collide with any enemy or fall into water.
  • Collect stars to score.
  • Reset player's position and score after a collision or falling into water.

About

Using JavaScript, HTML5 and CSS to make this arcade game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published