Implemented encoding for clue/game