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.
I did the same and it was very fun ;)
Invalid punctuation has been removed from Java tests.
ahahaha that is thinking outside the box..
superb
Chess characters support added in python and java!!
\o/
And for me..
At least, we've tried :)
Still not working... :(
Here is an adapted version of the JS snippet:
Works on my local environment.. If this works for you, then Unnamed is right - this is a bug on Codewars. You can report it as not being able to put unicode symbols in the source code.
And again - thanks for your effort!
But in the JS translation, that works... :o So?
These days with UTF-8 it's basically
print("ⓦⓗⓐⓣⓔⓥⓔⓡ")
in any language. If it doesn't work, it's abugfeature on Codewars.Doesn't work... :/ Still got "?" in the board instead of the chess chars when I just copy/paste the symbols in the code. Surely I'm missing some tool to configure the thing correctly.
The JS version handles the thing differently, using something like codepoints (I guess...?):
If you know how to do the same in java, I'll try it too.
I haven't created any Katas, so I don't know the limitations with encoding and everything.. But for my local tests, I simply do this:
The file is saved as UTF-8.
If this doesn't work for you, then probably there is something with encoding of the source code, or the console output.
Thanks for trying this!
Well... Could you provide the piece of code to use them as strings? Because with what I tried, I only get "?" in the board (I'm not confortable/used to unicode chars, especially in Java...)
Hi,
I confess I didn't try those being not sure if java could handle them, when I made the translation. I'll try that, thx.
Loading more items...