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.
SAME!
I just started as well and seeing this solution did make me realise I could have just used else for player 2. It's great comparing notes!
i just started JS as well, and im amazed by your code, i should have just done this instead of making conditions for both p1 and p2