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.
would it not also be a cat's game(no win con) before all tiles has been filled?
eg: [[1, 2, 2], [2, 1, 1], [0, 0, 2]]
Java traduction
Nice kata!
approved
Haskell translation
done for Ruby, Python done here
fixed, the boards can no longer have two winners or players skipping their turns
Merged
you are not supposed to raise one for
equals()
PYTHON
What type of exception does the test want?
raise Exception() didn't work
Unexpected exception raised
Traceback (most recent call last):
File "/workspace/default/.venv/lib/python3.11/site-packages/codewars_test/test_framework.py", line 112, in wrapper
func()
File "/workspace/default/tests.py", line 42, in equality
test.expect(not b.equals(c))
^^^^^^^^^^^
File "/workspace/default/solution.py", line 10, in equals
if len(self.corr) != len(other.corr): raise Exception()
^^^^^^^^^^^^^^^^^
Exception
Obviosly str must return in list in () instead of []
This comment is hidden because it contains spoiler information about the solution
That was maybe a little too high for my skill level, but I beat it.
PHP sample tests arguments are reversed, and there are no random tests.
Currently, the arguments for the sample tests are reversed (issue with the kata), so read that the expected answer is 'HTIJBFWX', whereas your answer is the other one...
Loading more items...