lebogangolifant / arcade-game

Object-Oriented Programming Principle JavaScript

Home Page:https://lebogangolifant.github.io/arcade-game/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Udacity-Classic-Arcade-Game

Front-End Web Nanodegree Scholarship project 3. classic frogger arcade-game.

Game Logics

Your chicken farm is under attacked, how many chickens can you save. Use the keyboard arrow keys to save them, avoiding colliding with the enemy (Bad-Racoons)!or you will run out of time.

Task

  • Clone/download provided art asset and game engine from Udacity repository (which contains css, images, and js folders, as well as an index.html and a README.md file.) for the project.
  • To build the game edit app.js, by implementing the Player and the Enemyclasses, using Object-Oriented JavaScript.
  • Complete the player and enemy function, which initiates the player and enemy, the update method for the player and enemy (you can add your own player and enemy methods).
  • The handleInput method for the player, which should receive user input, allowedKeys (the key which was pressed) and move the player according to that input.

Game Screenshot

game-intro the game

Game Controls

  • Use the keyboard keys to play the game.

Play The Game

Chicken Predators

About

Object-Oriented Programming Principle JavaScript

https://lebogangolifant.github.io/arcade-game/


Languages

Language:JavaScript 78.8%Language:CSS 12.5%Language:HTML 8.7%