Skip to content

An HTML5 Canvas powered variation of the classic Frogger arcade game, developed using the best practices in Object Oriented JavaScript.

Notifications You must be signed in to change notification settings

ssaleem/Frogger-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lighthouse Performance Badge

Frogger-Arcade Game Clone

This is a variation of the classic Frogger arcade game. In this project HTML <canvas> is used to render game screen and characters. To abstract out the functionaliy of player and enemies in the game, ES6 classes are used.

The project is based on starter code as well assets from this repository.

How to Play

Goal: The goal of the game is to get to the sea without being hit by any enemies(bugs).

Game Controls: Use up, down, left and right arrow keys to control the character's movement and avoid enemies.

Lives: The player has 3 lives to complete the game and with each collision with the bugs a life is lost and player position is reset.

Character: The player can also choose a character from five different sprite options.

frogger app gif

Built with

  • HTML Canvas - <canvas> element is used to draw graphics, on the fly, via JavaScript.
  • JavaScript Classes - Syntactical sugar over JavaScript's prototype-based inheritance.
  • CSS Flexbox - CSS layout module to design flexible responsive layout structure without using float or positioning.
  • Google Fonts - A library of 900 libre licensed fonts
  • gulp Plugins - browser-sync, gulp-prettier, gulp-autoprefixer

Live Version

Start playing here.

About

An HTML5 Canvas powered variation of the classic Frogger arcade game, developed using the best practices in Object Oriented JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published