Advertisement
Guest User

cipher game v 0.13

a guest
Sep 19th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. reference:
  2. http://covertaction.wikia.com/wiki/Cryptography_%28Mini-Game%29?file=Decoding_EasyCompleted.png
  3.  
  4.  
  5. Cipher game based on 1990's Covert Action - program steps below
  6.  
  7. 1.Get plaintext.
  8. 2.Cipher the plaintext - simple/crude method below:
  9. 2a.Create two lists with A-Z letters each.
  10. 2b.Shuffle one list.
  11. 2c.Make one dictionary out of them, with letter pairs.
  12. 3.Print the plaintext using the substituted letters:
  13. 3a.Take one character, lookup the substituted letter, add the it to the ciphered string.
  14. 3b.Repeat 3a until the whole string has been encrypted.
  15. 4.Loop:
  16. 4a.Ask for a letter substitution.
  17. 4b.Display the cipher with chosen substitution underneath.
  18. 4c.Check if the whole message has been deciphered, if yes - exit loop.
  19. 5.Display congrats message, exit.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement