This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

HMFlol
HMFlol presents ...

2011/10/20

Extreme Combat

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.

2426 views / 7 in the last 7 days

Tags: game simulation

Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Fri Oct 21 00:12:55 UTC 2011 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 win or lose screen when a player or goblin reaches 0 HP. 3. Would like to add some small character animations. 4. 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. Edit: Added Fireball animation.
A new version of this scenario was uploaded on Fri Oct 21 00:26:30 UTC 2011 - If player had stroke of bad RNG in the beginning the Goblin was gaining a large health buffer from life leech. Goblin now unable to have more than 100 HP. - Goblin hit roll requirement raised from 12 to 13.
A new version of this scenario was uploaded on Fri Oct 21 17:30:45 UTC 2011 Added title screen, win and lose screens, reset functionality.
A new version of this scenario was uploaded on Fri Oct 21 17:33:06 UTC 2011 - Last upload would not run.
A new version of this scenario was uploaded on Sun Oct 23 17:57:10 UTC 2011 - Added level 2. - Zombies!
ryleex777ryleex777

2011/10/23

good job
A new version of this scenario was uploaded on Tue Jul 10 16:11:19 UTC 2012

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.