Giter Club home page Giter Club logo

battle-tanks's Introduction

BATTLE TANKS

Game using HTML5, JavaScript, Canvas API

AIM:

Fire weapons against your opponent to gain points and increase your score. Direct hits will have the most impact and give the tank the most points. The different types of weapons have different speeds and sizes. The weapons with the largest size will have the most impact and thus, point gain is the most but travel shorter distances. Each tank has limited number of moves; so use them carefully. There are a total of 10 rounds. The tank with the most points wins!

INSTRUCTIONS:

While playing on laptop or PC's:

Hit the SpaceBar to fire! Left and Right arrows will move the tank. Up and Down arrows will rotate the gun. Press 'A' and 'D' to adjust the power. Press 'W' to choose among 'Small', 'Medium' and 'Large' weapons. Press 'P' to pause the game. Press 'R' to restart the game. Press 'Q' to go back to the main menu.

INSTALLATION:

Clone/download the repo.

Open index.html file.

battle-tanks's People

Contributors

rohiths98 avatar aglockdown avatar

Watchers

James Cloos avatar

Forkers

aglockdown

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.