Welcome to Impactimon: a practice application for getting exposure to Typescript! The goal state of this app is to be able to play a fun terminal game where you battle your impactimon against a cpu.
- View the enum Type and typeAdvantage. Does this data need refactoring?
- create an enum called SpecialMove containing Buff, DebuffAttack, DebuggAccuracy, and Heal
- Create an interface or a type called Move which is an object that contains the values of name(alphanumeric), attackScore(numeric), special(SpecialMove enum), accuracy(numeric), and type(Type enum).
- Create an interface or a type called Impactimon. This will be an object that will contain a name(alphanumeric), type(Type enum), hp(numeric), Moves(Moves object)
- Bonus quest: what is the difference between interfaces and types? Explain it to someone or write about it.
- There are some methods on impactimon.ts that are skeletoned out... Lets Take a look and see