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.
Your battle resolution matrix is confusing. Put the column and row headers in the same order, and better clarify that it's a defenders vs attackers matrix.
Also, your parameters are out of order. You say it takes attacking and defending pieces, but the function takes defending and attacking pieces (which again, makes the resolution matrix confusing because you have it structured as defending vs attacking)