Skip to content

The game is built using JavaScript and uses the Character class to manage the character data and actions. The getDiceRollArray function generates random dice rolls, and the getPercentage function calculates the health bar's percentage.

xMohammedAwad/RPG-battle-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPG battle game

screenshot

Table of Contents

Overview

  • The game is built using JavaScript and uses the Character class to manage the character data and actions. The getDiceRollArray function generates random dice rolls, and the getPercentage function calculates the health bar's percentage.

Built With

Features

This RPG battle game allows players to control a wizard character and fight against different monsters. The wizard and monsters are represented by character cards that display their name, avatar, health, and dice rolls. Each character has a different number of dice rolls and takes turns attacking the other character. The game continues until either the wizard or all the monsters are defeated.

The game is built using JavaScript and uses the Character class to manage the character data and actions. The getDiceRollArray function generates random dice rolls, and the getPercentage function calculates the health bar's percentage.

Acknowledgements

Contact

If you have any questions or feedback, please feel free to contact me at muhmmad.awd@gmail.com

About

The game is built using JavaScript and uses the Character class to manage the character data and actions. The getDiceRollArray function generates random dice rolls, and the getPercentage function calculates the health bar's percentage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published