mirror of https://github.com/dnomd343/klotski.git
Dnomd343
2 years ago
5 changed files with 66 additions and 11 deletions
@ -0,0 +1,22 @@ |
|||
#pragma once |
|||
|
|||
const char SHORT_CODE_TABLE[32] = { |
|||
'1', '2', '3', '4', '5', '6', '7', '8', '9', // skip `0`
|
|||
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', // skip `I`
|
|||
'J', 'K', // skip `L`
|
|||
'M', 'N', // skip `O`
|
|||
'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', |
|||
}; |
|||
|
|||
const char SHORT_CODE_TABLE_REV[42] = { |
|||
// 00 01 02 03 04 05 06 07 08
|
|||
0, 1, 2, 3, 4, 5, 6, 7, 8, |
|||
// 09 10 11 12 13 14 15
|
|||
-1, -1, -1, -1, -1, -1, -1, |
|||
// 16 17 18 19 20 21 22 23 24 25
|
|||
9, 10, 11, 12, 13, 14, 15, 16, -1, 17, |
|||
// 26 27 28 29 30 31 32 33 34 35
|
|||
18, -1, 19, 20, -1, 21, 22, 23, 24, 25, |
|||
// 36 37 38 39 40 41
|
|||
26, 27, 28, 29, 30, 31, |
|||
}; |
Loading…
Reference in new issue