Skip to content

Instantly share code, notes, and snippets.

@unfo
Created December 20, 2013 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unfo/8062776 to your computer and use it in GitHub Desktop.
Save unfo/8062776 to your computer and use it in GitHub Desktop.
var alphabet = {
'0': 'e',
'00':'i',
'000':'s',
'0000':'h',
'00000':5,
'00001':4,
'0001':'v',
'00011':3,
'001':'u',
'0010': 'f',
'00111':2,
'01': 'a',
'010':'r',
'0100':'l',
'011':'w',
'0110':'p',
'0111':'j',
'01111':1,
'1':'t',
'10':'n',
'100': 'd',
'1000': 'b',
'10000':6,
'1001':'x',
'101':'k',
'1010': 'c',
'1011':'y',
'11':'m',
'110':'g',
'1100':'z',
'11000':7,
'1101':'q',
'111':'o',
'11100':8,
'11110':9,
'11111':0
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment