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.
You are not testing for anything.
No random tests
Also, it legit tells you what to do, so that you can copy and paste it and still pass. Should use test.assert_equals
mmh, I forgot about that subtlety. You didn't pay enough attention to this requirement:
(edit: seems I'm a little late... x) )
You are right! Thank you!
And there's 2
B
s andD
s on the map, and they're both hit, so it's all correct.+----------+
|>A B<|
| / D |
| D B | => All enemies are defeated: ['A', 'B', 'B', 'D', 'D'] (Notice the repeated enemies)
| |
|\ < > /|
+----------+
They're different objects, but they can have the same ID.
Are you sure? Because there are many tests with double strike like this:
+------+
| C |
|v A A|
| |
|\ <|
+------+
['A', 'C'] should equal ['A', 'A', 'C']
you don't care about the number of hits. Just the targets that have been hit.
m = [
'AvB',
'>E<',
'C^D'
]
Maybe "E" must be hit 4 times here?
I think this kata also should have a tag 'game' since It's game-ish and fun