Tap Code is a cipher made of knocks. Every letter is two little groups of taps: the first group says which row of a grid, the second says which column. It is one of the friendliest ciphers there is, because the key is a single 5 by 5 square and it never changes.
Its history is a good story. American prisoners of war in Vietnam used it to talk through their cell walls, including in the Hoa Lo prison nicknamed the "Hanoi Hilton", where speaking out loud was not safe. The idea underneath is far older: the grid is a Polybius square, described by the Greek writer Polybius more than 2,000 years ago.


How it works
Write the alphabet into a 5 by 5 grid, left to right and then down, with the rows and columns numbered 1 to 5. There are 26 letters and only 25 squares, so C and K share one square.
- Row 1: A B C/K D E
- Row 2: F G H I J
- Row 3: L M N O P
- Row 4: Q R S T U
- Row 5: V W X Y Z
To send a letter, tap its row number, pause, then tap its column number. H sits in row 2, column 3, so it is two taps, a pause, then three taps. On paper the pause is a space and each tap is a dot, so H is •• •••.
A worked example
Say you meet these five pairs of groups. Count each one and read it as (row, column):
- 2 and 3 is H
- 1 and 5 is E
- 3 and 1 is L
- 3 and 1 is L again
- 3 and 4 is O
The word is HELLO. Notice that both L's came out as the same taps, because the grid never changes. That is also your first clue when solving: repeated taps are repeated letters.
Solving tips
- A group never has more than 5 taps. If you count 6, you have run two groups together.
- Row 1 pairs (one tap first) are A to E. Row 5 pairs (five taps first) are V to Z.
- The C/K square means the same taps could be either letter. Pick the one that makes a word: CAT or KITE.
- Short words are the fastest way in. A one-letter word is usually A or I.
Each cell on the board shows one letter's taps stacked: the row on top, a short line, then the column underneath. The 5 by 5 grid sits under the board, and Show translation table switches it on or off. If counting dots is hard on your eyes, turn on Show taps as numbers and a cell shows 2 over 3 instead of dots. For C/K cells, type either C or K and it counts. Under Options you will also find Show letter frequencies, Highlight frequencies, Highlight multiple letters, Highlight errors when complete and Auto fill letters, plus Reveal a letter if you get stuck. As you improve, switch off the translation table and then the helpers one at a time. Print / share makes a paper worksheet with the taps printed as dots.
Practise with flashcards
Open Reference & Flashcards from the home screen and pick the Tap Code deck: one card for each of the 25 squares, taps on the front and the letter on the back. Flip through the cards, swipe them into Know or Still learning (with undo), then try the multiple-choice Test.
Where it leads
Tap Code is not on the 2027 Science Olympiad Codebusters list for Division C. Its grid is still worth knowing, though, because a Polybius square is the heart of two ciphers that are on the list: Nihilist and Checkerboard. Be ready for two differences there: those squares put I and J in one cell (not C and K), and a keyword usually mixes up the letters, so the square changes with every puzzle. New to all this? Start with cryptograms for beginners.


