Report as inappropriate.
This is my first Java project.
The game is simple. It is based off of D&D combat.
You, the player, must kill the Goblin.
You are able to attack for between 1-8 damage. To hit, you must roll a 15 or higher on your D20. A roll of 19 or 20 results in a critical hit, hitting for 2x the rolled weapon damage.
You are able to heal yourself three times. The heal heals for a random number between 1 and 100. You are not able to heal yourself above 130 HP.
The Goblin hits for the same weapon damage that you do, 1 - 8. He only has to roll above 12 on his D20, but can only crit on a roll of 20. However, his crits hit for 3x weapon damage rolled. In addition, he heals himself for half of whatever weapon damage he deals.
As added excitement, the Goblin also has a 2% chance to hit you for 30 damage with a fireball on each attack. If he hits with fireball he does not attack with his weapon. Fireball does not heal him.
To do:
1. Add hit damage log.
2. Would like to add some small character animations.
3. Make the players sword look less terrible.
If anyone has feedback it would be appreciated. Like I said, this is my first game. It is a work in progress. Any suggestions are welcome.
2484 views / 9 in the last 7 days
Want to leave a comment? You must first log in.
No votes yet.
2011/10/23