If you're having trouble getting the code here is a hint:
* The letters on the cards tell you how to code a message. To decode a message things work kind of "backwards".