Skip to content

Frogger game built to implement good Object Oriented Javascript practices: adequate use of scopes, closures, prototype chains, the object decorator pattern, and classes (functional, prototypal, pseudoclassical, superclasses, and/or pseudoclassical subclasses).

Notifications You must be signed in to change notification settings

jolares/javascript-object-oriented-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Frogger

In this game, the goal for the player is to reach the water without colliding with an enemy (a bug). The enemies move at different speeds (randomly assigned) on the paved block part of the field. When the player collides with an enemy, the game is reset and 30 points will be deducted from the score.

An alternative goal is to increase the player's score by collecting gems that are randomly placed along the field. 3 gems are placed (randomly) in the field once at the beggining of the game, and every time that the player reaches the water and the game re-starts; the previous score is kept throigh the new game each time the player reaches the water.

Blue Gem = 30 points. Green Gem = 20 pints.

App Screenshot

Frogger game screenshot

How to Play

The player can move left, right, up and down using the keyboard's keys.

The player can only move within the field.

About the Game: Object Oriented Javascript

The goal of this game is to implement best Object Oriented Javascript practices, including the adequate use of scopes, closures, prototype chains, the object decorator pattern, and classes (functional, prototypal, pseudoclassical, superclasses, and/or pseudoclassical subclasses).

This project is part of Udacity's Front End Developer Nanodegree program course called Object Oriented Javascript.

This is the rubric used for self-checking this project's submission.

Instructions on how to get started on the project are also available through this guide

About

Frogger game built to implement good Object Oriented Javascript practices: adequate use of scopes, closures, prototype chains, the object decorator pattern, and classes (functional, prototypal, pseudoclassical, superclasses, and/or pseudoclassical subclasses).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published