Skip to content

somramnani/2d-fighting-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 

Repository files navigation

2D Fighting Game

The 2D Fighting Game is a two-player fighting game built using vanilla JavaScript and CSS. It features a simple yet engaging combat system where players can choose their characters and battle each other in a classic 2D arena. Demo Image

Table of Contents

Features

  • Two-Player Mode: Play against another player on the same device.
  • Basic Combat Mechanics: Includes attacks, blocks, and special moves.
  • Responsive Controls: Smooth and responsive controls for both players.

Technologies Used

  • Vanilla JavaScript
  • CSS
  • HTML

Getting Started

Prerequisites

  • A modern web browser

Installation

  1. Clone the repository:

    git clone https://github.com/somramnani/2d-fighting-game.git
  2. Navigate to the project directory:

    cd 2d-fighting-game
  3. Open the index.html file in your web browser to start the game.

Playing the Game

  • Player 1 Controls: Use the W, A, S, D keys for movement and Spacebar for attack.
  • Player 2 Controls: Use the arrow keys for movement and arrow down for attack.

About

A 2D fighting game built in vanilla JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published