Code Monkey home page Code Monkey logo

classic-arcade-game-clone_1's Introduction

frontend-nanodegree-arcade-game

This arcade game consist of main folder called project 3. under this directory user can find following file and folders.

  1. index.html
  2. js (folder)
  3. images (folder)
  4. css (folder)

i) loading game

(a) To start a arcade game user has to open index.html file. index.html use app.js, engine.js and resources.js (three javascript files). app.js file consist of instance of enemy and players objects, implementation of collision between player and enemies. implementation of movement functionality for player and enemies object. resource.js file consist of implementation logic of loading the rescources (images) used in this aracde game. engine.js file implements the rendering of objects used in this arcade game.

(b) Images folder consist of images used in this arcade game.

(c) css folder consists of style.css and responsible for styling index.html


ii) Playing game

a) when user load the game in his browser, arcade game will visibible on middle of browser where player is reside on bottom centere and enemies on top.

b) the main goal of player is to cross the pathway and reach the other side with out colliding with the enemey(i.e bug). c) to achieve this goal user has to use the up, down, left and rigth arrow from the keyboard

d) when user cross the pathway and reach other side he finished his objecive

classic-arcade-game-clone_1's People

Contributors

mainalis 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.