Created
November 7, 2018 17:31
-
-
Save iamkevinlowe/2d2dc8ddee5547d2d54076cd2c102973 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Three characters, Barbarian, Archer, and Wizard | |
// They all can attack, heal, defend (echo/print/etc.. the method name) | |
// Barbarian has the ability to charge | |
// Archer has the ability to shoot arrows | |
// Wizard has the ability to cast magic | |
// Each character starts with 100 health, 10 strength, 10 magic, 10 speed | |
// Barbarians will have extra strength of 20 | |
// Archer will have extra speed of 20 | |
// Wizard will have extra magic of 20 | |
// Extra: Characters will now be able to learn new abilities | |
// example, wizard can learn Barbarian's charge ability |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment