Skip to content

pmijar/RPG-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

RPG game

This repository contains the code for RPG game built with jQuery/javascript

Game Description

  • When the game starts, the player will choose a character by clicking on the fighter's picture. The player will fight as that character for the rest of the game.

  • The player must then defeat all of the remaining fighters. Enemies are moved to a defender area of the screen.

  • The player chooses an opponent by clicking on an enemy's picture.

  • Once the player selects an opponent, that enemy is moved to a defender area.

  • The player will now be able to click the attack button.

    • Whenever the player clicks attack, their character damages the defender. The opponent will lose HP (health points). These points are displayed at the bottom of the defender's picture.
    • The opponent character will instantly counter the attack. When that happens, the player's character will lose some of their HP. These points are shown at the bottom of the player character's picture.
  • The player (your Character) will keep hitting the attack button in an effort to defeat the opponent.

  • When the defender's HP is reduced to zero or below, the enemy is removed from the defender area. The player character can now choose a new opponent.

  • Each time the player attacks, their character's Attack Power increases by its base Attack Power.

  • Each attack will increase the Attack Power by 8 (16, 24, 32 and so on).

  • The enemy character only has Counter Attack Power.

    • Unlike the player's Attack Points, Counter Attack Power never changes.

The player(your Character) wins the game by defeating all enemy characters. The player loses the game the game if their character's HP falls to zero or below.

About

This repository contains the code for game built with jQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published