Total points: 2/10
-1 point: missing Main.java file described in lab writeup. -1 point: zero tests -2 points: missing overall interactive input/output program. -2 points: CaesarShiftCipher not implemented -2 points: KeywordCipher not implemented
There should be a seperation between the objects you create and a program that uses those objects. Each of the cipher files should just have code that encodes and decodes text. The Main.java should be there to accomplish the task of being a program that collects user input, creates cipher objects and manipulates them.
Hey, cool use of Character.isLetter(payload.charAt(i)
! Our reference solution
has a .indexOf
check against a manually-defined alphabet string. I did not
know Character.isLetter
was a function!
Great job extending the ciphers and overriding the encode
and decode
methods.