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.
@goodwin64
This is not what Just David is referring to. The boardstate in the screenshot you are linking to clearly hasx
as a winner (1s on the diagonal).@Just David
an example of a cat's game according to the definition is a draw - so your code should be correct in the case that the moves do not matter for the outcome (which in your case would be a draw, or cat's game, hence 0)Your answer shouldn't depend on whose turn it is, the description says you have to determine whether the
current state
is a final one (x wins, o wins or it's a draw) or not (undeterminable, you do not know who's move it is)It seems that I've caught the similar error as you.
https://pp.vk.me/c633929/v633929334/118c2/x6M87yS7dN0.jpg
Isn't it?