Battles ~ User Stories - uchicago-cs/chiventure GitHub Wiki

RPG-Battle System User Stories

Team: Alex Sheen, Celia Anderson, Isaaq Khader, Nathaniel Martinez, Sophie Veys

As a user...

  1. I want to choose to battle NPCs so that we can interact with them:

  2. I want to encounter random NPC battles so that the user can level up and be challenged:

  3. I want my items to affect the battles so that: Items increase my battle stats such as strength or health Items are requirements for possible attacks

  4. I want my battles to be turn-based so that: Battles alternate between player and NPC, starting turn potentially based on a speed stat

  5. I want different kinds of attacks so that: There is Offensive vs. Defensive Variable categories allow for unlimited elements / types / classes of moves (e.g. regular, special, magic, ninja, water)

  6. I want status effects so that moves can cause / clear status effects

  7. I want moves to have a counter of uses so that it limits their use

  8. I want there to be a numbered menu of possible actions, so the input of the action will be a simple 2 character string that will either correspond to a move, an item, or the option to pass.

  9. I want these as possible actions when I type into the terminal so that I can use:

    [key]: selects a menu item labeled as the given key

    INFO [key]: works on a menu item that is an item, move, or combatant. Also works with the arguments PLAYER or SELF which bring up information about the player

    OVERVIEW, SUMMARY: lists all combatants in a numeric menu with their class and hp

    RUN, FLEE: attempt to leave the battle

    INVENTORY,ITEMS: lists items in the player’s inventory

  10. I want custom death results or messages so that we know if:

    • The NPC or player dies
    • The NPC or player is “defeated”
  11. I want to be able to fight multiple enemies at once and/or fight in a party, either with other players or with npcs

  12. I want to be able to battle other players once multiplayer games have been implemented

  13. Battle Example:

You encountered Minion David!
MOVE or ITEM?

info enemy

NAME: Minion David
TYPE: Water
HP: 25
ATK: 10
DEF: 10
SP ATK: 10
SP DEF: 10
SPEED: 10

MOVE or ITEM? move Choose a move: M1- Life Drain M2- Shadow Ball M3- Poke

info M2

Shadow Ball TYPE: magic, damaging COST: 20 SP DESCRIPTION: deals 30 magic damage to the target

Choose a move: M1- Life Drain M2- Shadow Ball M3- Poke M2

Player used Shadow Ball!
Minion David lost 28HP!

Minion David used Poke!
Player lost 3HP!

MOVE or ITEM? move Choose a move: M1- Life Drain XX- Shadow Ball (not enough SP) M3- Poke

M3

Player used poke!
Minion David lost 1000000HP!

Minion David has fallen.
You Win!

(ONLY IF THE ENEMY DOESN’T DIE)
Minion David: “Wow, you really showed me!”

You found a Potion of Healing
You gained 20 EXP!

LEVEL UP! HP: 30 -> 31
ATK: 25 -> 25
DEF: 23 -> 24
SP ATK: 21 -> 23
SP DEF: 16 -> 17
SPEED: 24 -> 25