ssaleem / Frogger-Clone

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

Home Page:https://sarasaleem.com/Frogger-Clone/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://sarasaleem.com/Frogger-Clone/


Languages

Language:JavaScript 76.7%Language:CSS 12.8%Language:HTML 10.4%