Skip to content

FoxyStoat/classic-arcade-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

classic-arcade-game

Project 4 - Front-End Nano Degree at Udacity

Licensing

This is a project from Udacity here is the repo link

How To Play The Game

Clone or download this repo to your local machine, unzip and then open the index.html file in your prefered browser.

Alternatively you can click this link to view a live demo hosted on GitHub pages.

Use the arrow keys on your keyboard to control the player. The aim of the game is to navigate the character from the grass to the water and avoid all the bugs.

Your score will be updated if your player reaches the water, a gem is picked up and if a collision happens between player and a bug.

screenshot of finished game

Project Specifications

Students are to meet project specifications from the rubric:

Criteria

  • Error Free - The game functions correctly and runs error free

    • Player can not move off screen
    • Enemies cross the screen
    • Enemy-player collisions happen logically (not too early or too late)
    • Enemy-player collision resets the game
    • Something happens when player wins
  • Object-Oriented Code - Game objects (player and enemies) are implemented using JavaScript object-oriented programming feature.

  • README - A README file should be included detailing all steps required to successfully run the application.

  • Comments - Comments are present and effectively explain longer code procedures. As a rule of thumb: describe what all custom functions and object methods do.

  • Code Quality - Code is formatted with consistent, logical, and easy-to-read formatting as described in the Udacity JavaScript Style Guide.

  • Extra - Provide additional functionality to the game beyond the minimum reqirements:

    • Add collectibles?
    • Multiple enemy types?
    • Timed game?
    • Be creative!