Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Yes I had the same problem about not accounting for peices blocking eachother. Decided to scrap what I had and start over :/
Newer version of ruby has a built in digit method (it's what I wrote, but reversed for some reason... havn't looked at the source code. I find it way more useful this way though)
also, newer ruby has a sum method, which is essentially the same as reduce(:+)