Code Monkey home page Code Monkey logo

reshmapd / arcade-game Goto Github PK

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

A Classic Arcade game look, which consists of a Player and three Enemy Bugs. The goal of the Player is to reach the water, while avoid getting caught by colliding into any of the enemy bug

Home Page: https://reshma-arcade-game.netlify.com

License: MIT License

HTML 4.30% CSS 8.72% JavaScript 86.99%
front-end-development javascript html5 css3 object-oriented-programming object-oriented-javascript portfolio

arcade-game's Introduction

Arcade Game Project

Live Website

Starter Code The starter code from Udacity provided the art assets and game engine HTML5 canvas.Goal was to convert this project to an interactive game primarily using JavaScript and OOP.

Table of Contents

About

The Arcade game creates a great opportunity to demonstrate my object oriented JavaScript programming skills an important programming paradigm that influences our application architecture and provides performance optimization.

How to play

Download the folder contents and open the index.html file

  • Steps to play the game

    1. To Move the Player across the game board use Arrow keys Or W A S D keys.
    2. Bugs move across the game board in varying speed, avoid colliding with them.
    3. You Score a point if you meet your goal of reaching the water at the top of the game board.
    4. You lose a point if you hit any of the moving bugs.
    5. To win the game, score five points.
    6. If bugs catch you ten times, you lose the game.
    7. You can restart the game by clicking on the restart button which will reset the whole game.

    Challenge Yourself by avoid getting caught by bugs while you reach the water at the top to win the game. Good luck!

Technologies

  • Javascript: OOP
  • HTML5
  • CSS
  • Visual Studio Code Editor used

Game functionalities

  1. Captures the number of times the player reaches the top.
  2. Captures the number of times the player and bugs collide.
  3. Upon collison between player and bugs, the players position is reset to initial.
  4. Upon finishing the game,the player is shown a modal which displays the score and no of times caught by bugs.
  5. In the modal message player can choose to play the game again or close it.
  6. Player can restart the game at any time using the restart button on the screen which resets the game.

Game dependencies

No such external dependencies are required to play. All assets are locally available and works offline,removing the need for an active internet connection.

Contributing

Any suggestions are welcome.

arcade-game's People

Contributors

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