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.
This really is an
Issue
.With almost
10 000
kata, having a new idea is hard, undeniably. But not impossible. And this isn't it.Don't fool yourself. Look at your ratings.
Caesar ciphers have been done to death. There's entirely too many of 'em, and multiple have already been retired, so for every one you find two more have existed at one time.
Save yourself the downvotes, unpublish this kata. Really. Think of something, anything other than a Caesar cipher. ( Well, don't try Fibonacci either :S )
Doesn't it? It is a part of the story... Is it not good excersise and fun?
If I just ask for the key decoding would it be better because more unique?
Is this really an 'Issue'?
Soon there will be no room for new Katas... there will always be something similar.
I mark as 'resolved' as I do not know where the issue is..
It is a bit different...
There're already many katas about Caesar cipher, and the additional step of
key
decoding doesn't really make it unique..
Yey, I've missed that.
Thanks
Fixed
Adding
len(alphabet)-1 might be implicit
. I achieved the same effect by abusing negative indices.Reference solution is wrong. Whenever index goes below 0, you should add len(alphabet), not len(alphabet) - 1. Do not manipulate index by hand, use modulo operation.
^ this
Example test 1
test.assert_equals(decode('h7**,Kw,*;6O','ac'), 'Hello World!')
clearly contradicts description example 1.No, it's not fixed. Please, do not resolve issues until you actually fix them.
Thanks.
Fixed.
Reference solution is wrong. Whenever index goes below 0, you should add
len(alphabet)
, notlen(alphabet) - 1
. Do not manipulate index by hand, use modulo operation.It's called a Caesar cipher. That will make it a lot easier for you to search for all the kata this is a duplicate of.
Loading more items...