Skip to content

Add buttons for the player actions (Attack, Defend, Heal, Run) and a text to print the battle messages. Then implement (or reuse) the battle system from the Intro exercise. #4

@HerrKermet

Description

@HerrKermet
  • Player and AI each start with a certain number of hit points (HP). The player's HP should be visible somewhere on the screen.

  • Attack deals damage to the enemy. Defend negates all incoming damage. Heal increases your own HP.

  • The enemy can also Attack, or it can Charge. This prints a message that the enemy is charging energy. In the following turn a special attack is unleashed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions