Go on an adventure with a Dragon of your own. With this basic Java app, you can battle other dragons and gain points. Gain as many points as you can before your dragon faints.
Dragons can be of three different types with attacks depending on their types. Each type is effective/ineffective towards other types, so make sure to pick your attacks carefully. Otherwise, run away from the battle and go heal your companion to keep playing.
- Random: Used to randomly generate how much damage the enemy dragon would inflict on our own dragon in the StateManager Service.
- Scanner: Used to read the input of the player of what to do next in the game.
Services, classes, and their methods were written with serving one purpose in mind.