You can run your tests offline with the tools available here. To do this first download and extract the contents of KnightsMoveCipher.zip. There are three files: the corpus, the word list, and the testing tool. To make use of these, you will need to modify your program to read from standard in and write to standard out. When reading the input, the first line will contain the scrambled text. The next line will contain L-1, the number of elements in delta. The following L-1 lines will contain the elements of delta. You should output a single line containing the decrypted text (and flush standard out). In pseudocode, this look like:
ciphertext = readLine() len = int(readLine()) for(i = 0; i<len; i++){ delta[i] = int(readLine()) } printLine(decipher(ciphertext,delta)) flush(stdout)Note that if you wish to use the contents of the words.txt file, you will have to implement your own getWords function to read and parse it.