Code Monkey home page Code Monkey logo

frontend-nanodegree-arcade-game's Introduction

frontend-nanodegree-arcade-game

GAME INSTRUCTION: The goal of this game is for our hero to get to the water without hitting any of the enemy mutant bugs. If he hits any of the bugs, he goes back to the starting position.

The enemy bugs appear at random. To move our hero, use the following keys: - press arrow up to go up, - press arrow down to go down, - press arrow left to go left, and - press arrow right to go right.

To start the game, visit my gh-pages at http://jinglebot.github.io/frontend-nanodegree-arcade-game.

PROGRAM DESCRIPTION:

This project is part of the requirements for completion of the Nanodegree Program. To get the program running, the following guides were followed.

Enemy bugs are created using a for-loop. Player responds to keyup events in increments of 150px per key. Collision detection is done by testing the pos of both player and enemies. Collision causes the player to return to start pos. Hitting the water will show a text display of level completion.

Unfortunately, I still have a lot to do to make this game awesome. So here's my to-do list.

TODO:

  1. Fix glitch in player movement.
  2. Create score chart.
  3. Create new levels, introduce more bugs, introduce gems that add points.
  4. Stop animation and end the game.
  • jinglebot 01/18/2016

frontend-nanodegree-arcade-game's People

Contributors

6stringbeliever avatar bcuz avatar cherylcourt avatar durant-udacity avatar jinglebot avatar nicolasartman avatar rhynodesigns avatar siakaramalegos avatar susansmith avatar walesmd avatar yyforyongyu avatar

Watchers

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