Skip to content

This is a simple two-player fighting game implemented using JavaScript. The game features health bars for each player and a timer system to determine the winner if no one is knocked out.

Notifications You must be signed in to change notification settings

Kazedaa/Clash-of-Legends

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clash-of-Legends: A Two Player Street Fighter Game

This is a simple two-player fighting game implemented using JavaScript. The game features health bars for each player and a timer system to determine the winner if no one is knocked out.

image

Table of Contents

  1. Features
  2. Getting Started
  3. Game Controls
  4. Game Mechanics
  5. Customization
  6. Credits

Features

  • Two-player gameplay: Control two characters and battle against each other.
  • Health bars: Each player has a health bar that decreases when hit.
  • Timer system: A countdown timer to keep track of the match duration.
  • Win/Lose conditions: Players can win by either knocking out their opponent or having more health when the timer runs out.

Getting Started

To get started with the project, follow these steps:

  1. Clone the repository:

    git clone clone [email protected]:Kazedaa/Clash-of-Legends.git
    cd Clash-of-Legends
  2. Open the game: Open index.html in your preferred web browser.

Game Controls

  • Player 1:

    • Move left: A
    • Move right: D
    • Jump: W
    • Attack: S
  • Player 2:

    • Move left: Left Arrow
    • Move right: Right Arrow
    • Jump: Up Arrow
    • Attack: Down Arrow

Game Mechanics

  • Health Bars:

    • Each player starts with a full health bar.
    • Health decreases when a player is hit by their opponent.
    • The game ends when one player's health reaches zero.
  • Timer System:

    • The game features a countdown timer.
    • When the timer reaches zero, the player with the most health remaining wins.
    • If both players have equal health, the match is a draw.

Credits

This project was developed by ..... ~~ Me!:3.

Sprite Assets :

Music :

Enjoy the game and have fun battling with your friends!

About

This is a simple two-player fighting game implemented using JavaScript. The game features health bars for each player and a timer system to determine the winner if no one is knocked out.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published