Skip to content

Astro-Dust/rpg-battle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🗡️ Rules and Mechanics of RPG Battle

Players:

  • Each player controls one character.
  • Each character must have a name, race, and class.
  • Each character has combat attributes: Strength, Dexterity, and Health.

Battlefield:

  • The battle takes place on varied terrain, with obstacles that can affect strategies.

Rounds:

  • The battle is divided into 5 rounds.
  • Each round, a terrain event is randomly drawn: Open Terrain, Obstacle, or Ambush.

Terrain Events:

  • Open Terrain: Players roll a 6-sided die and add their Dexterity attribute. The player with the highest result gains an advantage in the battle.

  • Obstacle: Players roll a 6-sided die and add their Strength attribute. The player with the highest result gains an advantage in the battle.

Victory Conditions:

  • At the end of 5 rounds, the player who reduces the opponent's health to zero or lower wins.
  • If both players survive after 5 rounds, the player with the most remaining health wins.
  • No player can have negative health during or after the battle.

Character Specifications:

Player 1:

  • Name: Araella
  • Race: Drow
  • Class: Rogue
  • Strength: 13
  • Dexterity: 13
  • Health: 25

Player 2:

  • Name: Arthur
  • Race: Human
  • Class: Warrior
  • Strength: 13
  • Dexterity: 11
  • Health: 25

Notes:

  • Characters engage in direct combat based on their attributes.
  • Strategy and dice rolls determine outcomes during rounds.
  • Ensure fair and balanced gameplay with fixed attribute values.

About

Rpg battle project made in NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published