Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.9 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.9 KB

Hiken - Browser Battle

Overview

Hiken is a browser-based 2D fighting game where players can engage in thrilling battles using various characters and abilities. This game offers both single-player and multiplayer modes with unique attacks and special abilities for each character.

Instructions

This application allows users to play a 2D fighting game directly in their browser. Follow the instructions below to get started and control your characters.

Controls

Player (Left)

  • Movement: Use the 'W', 'A', and 'D' keys.
  • Attack: Press 'Space Bar' to attack.
  • Special Attacks:
    • Healing effect: Press 'X'
    • Melee attack: Press 'C'
    • Ranged attack: Press 'Z'

Enemy (Right) (Automatic by default)

  • Movement: Use 'Arrow Up', 'Arrow Left', and 'Arrow Right' keys.
  • Attack: Press 'Enter' to attack.
  • Special Attacks:
    • Healing effect: Press 'Arrow Down'
    • Fireball: Press 'P'

Attack Simulation

  • The attack simulation function, simulateAttack(), can be found in the enemy.js file.
  • This function uses random numbers to simulate attacks and can be adjusted to change the game's difficulty.
  • To increase the probability of enemy attacks, expand the range of the conditional statements in the simulation function.

Preview

Start_Image Character_Selections Background_Selections Fight_Scene_1 Fight_Scene_2

Live Demo

Check out the live demo of the game deployed on GitHub Pages: Hiken

Team Information