Created
June 17, 2019 20:49
-
-
Save jwalsh/450ae24ac291c893b54ef34a9f2f5414 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Procedure: Each connection should link lower to higher | |
let layout = [ | |
[0, 1, 2], | |
[7, 8, 3], | |
[6, 5, 4], | |
]; | |
// Encoding | |
let digits = [ | |
"0107122334455667", // 0 | |
"1858", | |
"01122364556", // 2 | |
"011228484556", | |
"0123343878", // 4 | |
"0107123438455678", | |
"07343845566778", // 6 | |
"01122868", | |
"01071223343845566778", // 8 | |
"010712233478" | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment