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.
Redundant ternary operator. Could be simplified to
return x == o;
The comparison at the end is redundant. You could just use
return x == o;
instead.
You could just use
return otatol == xtotal;
instead of the last comparison.
There is noo need in ternary operator here. You could just use
return numX == numO;
You could just use
return xnum == onum;
instead of the last 6 lines.