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.
Mmmmm
trunc
orfloor
If someone won, then the match is marked as "won", or with a tick, or with a smiley face, or - seeing as we're programmers - with a 1. If they lost, you might have used a big old X, or a sad face, but we shall use a 0. If someone won 3 times, they will have 3 records marked with a 1, and if you were to add those records you'd have "3 wins". If they had fought 10 matches, they'd have ten records. If they won 7 of them, 7 of the records would have a 1 in the win column, and 3 of the records would have a 0 in the win column.
Think ticks and crosses, if it helps.
I ran my solution as a sample test and it was fine.
RUNNING IT AS A SAMPLE TEST is giving back errors. Use ATTEMPT button.