Skip to content

swesterveld/udacity-nd001-p3-classic-arcade-game-clone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontend-nanodegree-arcade-game

===============================

This code is the result I achieved for Udacity Front-End Web Developer Nanodegree - Project 3: Classic Arcade Game Clone.

This code has been reviewed by me. According to me, based on the rubric used by the Udacity reviewer, this code at least meets specifications on all the criteria.

The reference that has been of great help to me was the JavaScript documentation at the Mozilla Developer Network.

Some Extra's

  • The enemies at least keep one tile distance of each other
  • There will be no more than three enemies on a row at the same time
  • For collision detection I've implemented a procedure to have pixel-precise collision detection. This is based on the alpha channels in the sprites.

The Game

The game is a Frogger-clone, where the player starts at the bottom of the board. The user has to move the player to the top of the board, over the road into the water, while avoiding enemies crossing the road. When the player succeeds, or when the player has been hit by one of the enemies, the game will be reset to the initial state.

You can try the game at the GitHub Page

Controls

  • The player can be moved with the arrow keys
  • The game can be paused (and resumed) with the P-key
  • A visual debug mode can be toggled on and off with the D-key

When the game is both on pause and in visual debug mode, the JavaScript debugger will be activated.

Happy playing! :)

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.6%
  • HTML 1.3%
  • CSS 0.1%