Giter VIP home page Giter VIP logo

arcade-game-clone's Introduction

frontend-nanodegree-arcade-game

Quick Start


Open the file "index.html" in your browser to start playing the game

Instructions


This is a frogger game clone. Your objective is to reach the water, but if you collide with a bug, you will be sent back to the start. Every time you reach the objective, the speed of every enemy will slightly increase. Every third time you reach the objective, an additional enemy will spawn.

You can control your character with the Arrow or wasd keys

Good luck!

arcade-game-clone's People

Contributors

beardofdan avatar

Watchers

 avatar  avatar

arcade-game-clone's Issues

Refactor Code

  • Update Syntax to ES6
  • Implement best practices
    • Follow the DRY principle
    • Replace hardcoded values with variables

Sound

  • Add background music
    • Make sure it can be disabled
  • Add sound effects
    • For events (Ex. player scores, moves, or dies)

Player Transition

Make the player's Avatar transition instead of just appearing on the next tile

  • Give the Player a speed attribute (like Enemy has)
  • Add variables for the player's destination
  • Have the handleInput function change those instead of the actual position
  • Put a while loop in Player.update to move the player to his destination until he reaches it

VIM Input

  • Allow player to move with 'h', 'j', 'k', and 'l'
    • This will let someone practice VIM movement with this game

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.