This kata is designed to work for practising small refactorings, on mastering your IDE and your execution speed, as well as your communication in pair.
This kata is designed to be played in pairs (but you can also play it alone if you must, and it also work in small mobs).
There are several stages, you can do them in any order. Your goal, as a team, is to perform them the fastest you can. You can see that as a video game speedrun, or rallying.
For each stage, instructions can be found in the source code. You can also find them here.
Uncomment the tests, and make them pass.
Refactor until there is no else, you think the code is clean, and all the tests pass.
Remove all the code duplications.
Make this code clean.
Refactor this code until all methods body is <= 5 lines, and you find the code clean.
A special thankyou to Bastien David and his 'Speedrun Kata' by Bastien David. His kata inspired me to include this in my CleanCode session about the Boy Scout rule.