cryptoduel icon indicating copy to clipboard operation
cryptoduel copied to clipboard

Input Accelerators

Open r2dev2 opened this issue 2 years ago • 3 comments

When inputting characters into cryptoduel, there are many repetitive tasks, such as: clearing all input, guessing based on etaoinshrdlu, and calculating frequencies of initial and final letters of words.

It would be nice to have advanced buttons to do these tasks. I can think of following buttons:

  • [x] clear cipher
  • [ ] give up (there's no current way to give up and see plaintext)
  • [ ] etaoinshrdlu input - user can select a range of most frequent characters and assign ciphertext->plaintext decryptions accordingly
  • [ ] initial/final letter of words tables

All of the above buttons would be in a panel collapsed by default, preferrably in between the current replacement table and the "next problem" buttons, although this might be subject to change.

r2dev2 avatar Sep 19 '23 05:09 r2dev2

Work is being done on https://github.com/r2dev2/cryptoduel/tree/input-accelerator branch. If anyone wants to contribute, please pr to that branch.

r2dev2 avatar Sep 19 '23 06:09 r2dev2

clear cipher implemented in https://github.com/r2dev2/cryptoduel/commit/c2106379b31a92e1158dfc63bf1e1ea06ec96e2c

r2dev2 avatar Sep 19 '23 08:09 r2dev2