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.
Fixed.
They are still present in JS, while having them on both Ruby and Python is kinda problematic.
Yes... What brunolm said is right. I didn't put enough guesses with letters that were missed already (not enough to hung).
Just fixed it on both languages.
hmm nice catch. It should ignore both (either correct letters and wrong letters).
The test cases are not testing enough times to see if it was hung by repeating a wrong letter (it is not supposed to be hang), we will fix it.
Added a note in the description:
important: if the player guesses a letter that was already guessed, you should ignore it and return the
{game state}
Fixed the algorithm in both languages and added a test case.
Thank you for your feeback.