際際滷

際際滷Share a Scribd company logo
RPG COMBAT KATA
@SuuiGD
DOMAIN
 For the scope of this kata, the player wont be running around and doing stuff. The
features implemented in each iteration will be limited to the framework that the
game may use in the future.
 It is centered on the characters combat skills which are basically damaging and
healing.
 You may fix a time limit for each iteration as a constraint.
PREPARATION (10 MIN)
 Find a pair
 Choose a language
 Setup your environment
ITERATION 1
 Characters have:
 Health, starting at 1000.
 Level, starting at 1.
 Characters are:
 Dead or alive.
 Characters can:
 Deal damage.
 Heal.
 Conditions:
 When the damage received is higher
than the actual health, health drops to 0
and the character dies.
 When the character is dead, he cannot
be healed.
 The character cannot be healed over
1000 health.
ITERATION 2
 The player can deal damage to his enemies, but not to himself.
 The player can heal himself, but not his enemies.
 The level now has an effect on the damage applied.
 If the target is 5 or more levels above the player, the damage applied will be reduced by
50%.
 If the target is 5 or more levels below the player, the damage applied will be boosted by
50%.
ITERATION 3
 The player has an attack range.
 If he is a melee fighter, his range will be 2 meters.
 If he is a ranged fighter, his range will be 20 meters.
 When trying to deal damage, the player must be in range.
RETROSPECTIVE (10 MIN)
 Are you keeping up with the requirements?
 Do you feel good about your design, is it scalable and easily adapted to the new
requirements that will be introduced in the last iterations?
 Is everything tested and are you confident in your tests?
ITERATION 4
 We now have factions.
 One player may join or leave one or more factions.
 Players of the same faction are allies
 They cant damage each other
 They can heal each other.
ITERATION 5
 Finally, the player can damage other things that are not characters (props). This
means that he can attack a house, a tree or anything else that has some health.
 Those things cannot heal nor be healed and cannot deal damage.
 They belong to no faction, as they are neutral things.
 You may setup a house starting with 2000 health.
FINAL RETROSPECTIVE
 What problems did you encounter?
 What have you learned?
 Debate on the different ways to possibly solve the kata!

More Related Content

RPG Combat Kata

  • 2. DOMAIN For the scope of this kata, the player wont be running around and doing stuff. The features implemented in each iteration will be limited to the framework that the game may use in the future. It is centered on the characters combat skills which are basically damaging and healing. You may fix a time limit for each iteration as a constraint.
  • 3. PREPARATION (10 MIN) Find a pair Choose a language Setup your environment
  • 4. ITERATION 1 Characters have: Health, starting at 1000. Level, starting at 1. Characters are: Dead or alive. Characters can: Deal damage. Heal. Conditions: When the damage received is higher than the actual health, health drops to 0 and the character dies. When the character is dead, he cannot be healed. The character cannot be healed over 1000 health.
  • 5. ITERATION 2 The player can deal damage to his enemies, but not to himself. The player can heal himself, but not his enemies. The level now has an effect on the damage applied. If the target is 5 or more levels above the player, the damage applied will be reduced by 50%. If the target is 5 or more levels below the player, the damage applied will be boosted by 50%.
  • 6. ITERATION 3 The player has an attack range. If he is a melee fighter, his range will be 2 meters. If he is a ranged fighter, his range will be 20 meters. When trying to deal damage, the player must be in range.
  • 7. RETROSPECTIVE (10 MIN) Are you keeping up with the requirements? Do you feel good about your design, is it scalable and easily adapted to the new requirements that will be introduced in the last iterations? Is everything tested and are you confident in your tests?
  • 8. ITERATION 4 We now have factions. One player may join or leave one or more factions. Players of the same faction are allies They cant damage each other They can heal each other.
  • 9. ITERATION 5 Finally, the player can damage other things that are not characters (props). This means that he can attack a house, a tree or anything else that has some health. Those things cannot heal nor be healed and cannot deal damage. They belong to no faction, as they are neutral things. You may setup a house starting with 2000 health.
  • 10. FINAL RETROSPECTIVE What problems did you encounter? What have you learned? Debate on the different ways to possibly solve the kata!