Yahtzee Kata

Episode #247 | 30 minutes | published on December 8, 2016 | Uses swift-3.0
Subscribers Only
In this episode we will implement the Yahtzee Kata, which entails scoring hands based on dice rolls. We'll look at leveraging protocols and protocol extensions to mix & match shared behaviors across disparate types in order to perform matching and scoring of the dice.

Episode Links

  • Source Code
  • Kata Description on Coding Dojo
  • Ruby Quiz #19 - This is the source of the Kata, along with a Ruby implementation. I found it interesting how different our solutions were, both of us leveraging the language's strengths. Definitely take a look (it will almost assuredly teach you a few things about Ruby!)
blog comments powered by Disqus