The Christmas Lights kata

Recently, I visited an interesting event – Christmas Lights kata. This event was organized by Software Crafters Barcelona.

I should admit that this is a very interesting kata. In addition to the holiday spirit, it teaches us to work with collections of data with unknown states and changing behavior (part two). Because I’ve found this kata very interesting, I want to share my solution.

In the repo you will find two different implementations:

  • the simple one is in the master branch
  • the more sophisticated one is in the navigator_featured branch

Have fun and Merry Christmas! 🎄