Code Monkey home page Code Monkey logo

fightinggame's Introduction

This is a two player web fighting game made using HTML and JavaScript. Initially the game is started with a countdown timer, health bars for each player, player 1 to the left, and player 2 to the right.

Controls for player 1 are as follows: d: move right a: move left w: jump spacebar: attack

Controls for player 2 are as follows: right arrow: move right left arrow: move left arrow up: jump arrow down: attack

If the health bars for both players are the same at the end of the timer, the game is a tie. If the health bar for player 1 is greater than player 2 at the end of the timer, or player 2's health bar is zero at any point, player 1 wins. If the health bar for player 2 is greater than player 1 at the end of the timer, or player 1's health bar is zero at any point, player 2 wins.

The game can be played at: https://tierrabynum-fighting-game.netlify.app

fightinggame's People

Contributors

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