Support this and all my katas via Patreon
There is a top code kata video explaining why you might want to try this refactoring kata. It is also used in my videos Unlock the Power of Refactoring in Everyday OO Design and Reduce Method Sprawl with Code Paragraphs.
If you like this Kata, you may be interested in my books and website SammanCoaching.org
The problem that this code is designed to solve is explained here: Yatzy
Please do not send me your refactored solutions. I am however grateful for language translations and updates to dependencies.
I recently added new refactoring challenges to the Java version and I would appreciate translations of Yatzy2 in other languages. Yatzy3 is still under development as an exercise so hold off on translating that one for the moment.
Test your code reading skills. Here is a description of what to do: Scanning for Code Smells. There are suitable lists of urls to open in some of the language subdirectories.
The original exercise was designed by Jon Jagger and is available in his Cyber-Dojo. See his blog post. I have changed it a little, so that the rules more closely match what I'm used to.