https://github.com/jolares/javascript-object-oriented-programming
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).
https://github.com/jolares/javascript-object-oriented-programming
object-oriented-javascript
Last synced: 5 months ago
JSON representation
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).
- Host: GitHub
- URL: https://github.com/jolares/javascript-object-oriented-programming
- Owner: jolares
- Created: 2016-08-30T19:19:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-03-10T06:05:58.000Z (over 3 years ago)
- Last Synced: 2025-03-22T04:12:23.692Z (8 months ago)
- Topics: object-oriented-javascript
- Language: JavaScript
- Homepage:
- Size: 842 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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

# 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][1] used for self-checking this project's submission.
Instructions on how to get started on the project are also available through [this guide][2]
[1]: https://review.udacity.com/#!/projects/2696458597/rubric
[2]: https://docs.google.com/document/d/1v01aScPjSWCCWQLIpFqvg3-vXLH2e8_SZQKC8jNO0Dc/pub?embedded=true