### Letters in Little Pens
Codes at War · Pigpen
Most ciphers swap one letter for another. The Pigpen cipher swaps letters for tiny geometric pictures. In the 1700s, members of a secretive society called the Freemasons used it to guard their private lodge letters and even carved the mysterious symbols onto gravestones.
A century later, during the American Civil War, Union soldiers trapped in Confederate prison camps used the exact same code to smuggle secret notes past their guards. When you don't have a fancy coding machine, a pencil and a scrap of paper can still outsmart an army.
Here is the secret: you draw two tic-tac-toe boards and two giant X's, then drop the alphabet into the spaces. Each space is a little "pigpen" for the letter inside.
To write a message, you don't write the letter at all—you just draw the shape of the fence lines surrounding its cell! Because two tic-tac-toe boards and two X's look alike, letters in the second tic-tac-toe board and second X get a dot inside their fence. Check out the demo grids to see how every letter gets its own pen.
