This repo shows my ability to code in JQuery and Javascript. I use Objects, Event Listeners and Iterations to bring this game to life.
To view demo click on this link: (Demo Link).
-
Look at yourself in the mirror and say the following; "I AM AWESOME AND I CAN DO THIS"
-
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 should be moved to a different 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. a. Whenever the player clicksattack
, their character damages the defender. The opponent will loseHP
(health points). These points are displayed at the bottom of the defender's picture. b.The opponent character will instantly counter the attack. When that happens, the player's character will lose some of theirHP
. These points are shown at the bottom of the player character's picture. -
The player will keep hitting the attack button in an effort to defeat their opponent.
a. When the defender's
HP
is reduced to zero or below, remove the enemy from thedefender area
. The player character can now choose a new opponent. -
The player wins the game by defeating all enemy characters. The player loses the game if their character's
HP
falls to zero or below.