Skip to content

Simple text-based decision adventure game written in Java. Accumulate as many points going on adventures with your dragon. Just make sure not to have your partner faint.

Notifications You must be signed in to change notification settings

Anlanther/dragons-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dragons Game

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.

Key Libraries Used

  • 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.

Key Learning

Single Responsibility

Services, classes, and their methods were written with serving one purpose in mind.

About

Simple text-based decision adventure game written in Java. Accumulate as many points going on adventures with your dragon. Just make sure not to have your partner faint.

Topics

Resources

Stars

Watchers

Forks

Languages