Skip to content

This game challenge is testing the knowledge about JavaScript

Notifications You must be signed in to change notification settings

Yuliya-beCode/js-rpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-rpg

Welcome to my RPG game

Link to the game

Creation of characters

source

The stats

Items

  • Boots 30% chance to dodge an attack

  • Staff 20% increase in healing

  • Sword 30% more damage

  • Bow 30% chance to attack twice

Race

  • Humans 20% less damage taken

  • Orcs 40% more max health

  • Elves 30% chance to deflect the attack back to the opponent. The attacker takes damage equal to 50% of the original hit. The elf takes no damage.

  • Sceleton 10% lifesteal from opponents current health at start of the vampire's turn.

Order

In the character.js file, the properties of the objects and players are noted.

In the gamelogic.js file, the mechanism of the game is coded.

About

This game challenge is testing the knowledge about JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published