Drako / rpg-combat-kata

RPG Combat Kata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPG Combat Kata

Source: https://github.com/ardalis/kata-catalog

Background

This is a fun kata that has the programmer building simple combat rules, as for a role-playing game (RPG). It is implemented as a sequence of iterations. The domain doesn't include a map or any other character skills apart from their ability to damage and heal one another.

Instructions

  1. Complete each iteration before reading the next one.

  2. It's recommended you perform this kata with a pairing partner and while writing tests.

Iteration One

Iteration One

Iteration Two

Iteration Two

Iteration Three

Iteration Three

Retrospective

  • Are you keeping up with the requirements? Has any iteration been a big challenge?
  • Do you feel good about your design? Is it scalable and easily adapted to new requirements?
  • Is everything tested? Are you confident in your code?

Iteration Four

Iteration Four

Iteration Five

Iteration Five

Retrospective

  • What problems did you encounter?
  • What have you learned? Any new technique or pattern?
  • Share your design with others, and get feedback on different approaches.

Resources

About

RPG Combat Kata


Languages

Language:CMake 100.0%