Skip to content

lglaves/arcade-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDACITY FEND - Project P3: Classic Arcade Game Clone

Using the base project provided by Udacity, I added new functionality to create a 2d javascript/html game similar to the classic arcade game "Frogger".

This project resides at: https://github.com/lglaves/arcade-game

Latest Deployment Date

03/01/17 5:05pm EST

How to Run the Program

  • Download the zip file to your computer and unzip in any convenient location.
  • Open the Project Folder, and run index.html in your web browser of choice.
  • This game is only designed to be played on Desktop, Laptop, iPad Pro and iPad (no Mobile yet)

Game Play

  • Move the playing character by pressing the arrow keys on your keyboard Up, Down, Left or Right.
  • Pause the game by pressing the space key, but note that this will not pause the countdown timer.

To win Level 1: 400 points wins. You have 60 seconds to complete Level 1. Advance playing character to the water tiles to gain points.

  • You have 60 seconds to complete Level 1. 400 points will take you to a Level 2 Game.
  • Colliding with a bug causes you to lose 50 points, and be returned to start row.
  • Reaching the water gives you an extra 50 points, and returns your character to start row.

To win Level 2: 800 points wins. You have 3 minutes to complete Level 2.

  • In Level 2 you gain 50 points for catching a gem and 100 points for catching a heart.
  • In Level 2 you lose 50 points for bug collisions.

Attributes

Udacity provided the game loop engine and 2d assets.

Credit for Sounds: www.freesound.org

Javascript Particulars:

  • Window Reload from Server
  • Use local storage to persist scores
  • Implement a timer
  • Random number generator

Browsers Tested:

  • Chrome Canary
  • Chrome
  • Firefox
  • Internet Explorer 11 -- no game sounds, only audio loop plays
  • Edge -- no player, no game play (maybe debug this another day)
  • Safari

Source Code

  • HTML5 Canvas is created in engine.js
  • Reference for responsive canvas: Mobiforge

About

Udacity Project Classic Arcade Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published