GithubHelp home page GithubHelp logo

lebogangolifant / arcade-game Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 660 KB

Object-Oriented Programming Principle JavaScript

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

CSS 12.51% HTML 8.66% JavaScript 78.82%
javascript udacity-frontend-nanodegree google-africa-scholarship

arcade-game's Introduction

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

arcade-game's People

Contributors

lebogangolifant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.