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.
there is no need in ternary operator
Thank you for this description! OP should pull this.
This comment is hidden because it contains spoiler information about the solution
The JavaScript details show the A1 square in the top left corner. It would be better for those who are not that familiar with chess and solving more than this one problem if A1 was in it's correct spot in the bottom left hand corner, or in the top right hand corner. It doesn't affect the solutions but would help with understanding.
This was super cool! I'm going to start making my own chess interface after this. Then I can fiddle with my own engine too!