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.
thx man for your reply, I was stupid too with this 26 symbols
I am not sure if I understand you, but I believe this is your problem.
The katakana character set used by this kata is not a consistent sequence of codepoints, and you need to use actual definition of the alphabet to check what a character shifted for
x
positions is. You cannot just convert a charater to its code point, addx
to it, and convert it back to a character - this wont work. For the Latin alfabet, it's true that'c' + 3 == 'f'
, but it's a coincidence which does not hapen for the katakana alphabet in this kata.Yes, you can log stuff to console to see this better.
It should be handled the same way, I think.