Skip to content

kernelshreyak/rpg-battle

Repository files navigation

RPG Battle Game

Browser based 2-player tactical RPG game with simple rules and fast paced gameplay.

Alt text

How to play

  1. Each player has following stats: HP (Health Points), Attack, Defence and MP (Magic/Mana Points)
  2. Weapons boost Attack, Armours boost Defence and Potions can boost any stat depending on type of potion
  3. Each turn begins with either 'New Item' or 'Attack' action
  4. 'New Item' gives a new item from a total of 100 items spawned. Items are added to inventory. Inventory can hold a maximum of 5 items at a time. Items can be removed any number of times in a turn but only 1 new item can be obtained per turn. On obtaining an item, the turn ends immediately
  5. 'Attack' deals damage on the opponent based on your Attack Power and Opponent's Defence Power. On attacking, turn ends immediately
  6. Player who reaches 0 HP first loses the game
  7. Game can be reset from beginning using the 'Reset Game' button