|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
|
#include <cstdint> |
|
|
#include <cstdint> |
|
|
|
|
|
|
|
|
|
|
|
namespace klotski { |
|
|
const int8_t SHORT_CODE_TABLE[32] = { |
|
|
const int8_t SHORT_CODE_TABLE[32] = { |
|
|
'1', '2', '3', '4', '5', '6', '7', '8', '9', // skip `0`
|
|
|
'1', '2', '3', '4', '5', '6', '7', '8', '9', // skip `0`
|
|
|
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', // skip `I`
|
|
|
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', // skip `I`
|
|
@ -18,3 +19,4 @@ const int8_t SHORT_CODE_TABLE_REV[42] = { |
|
|
18, -1, 19, 20, -1, 21, 22, 23, 24, 25, // `K`(75) ~ `T`(84)
|
|
|
18, -1, 19, 20, -1, 21, 22, 23, 24, 25, // `K`(75) ~ `T`(84)
|
|
|
26, 27, 28, 29, 30, 31, // `U`(85) ~ `Z`(90)
|
|
|
26, 27, 28, 29, 30, 31, // `U`(85) ~ `Z`(90)
|
|
|
}; |
|
|
}; |
|
|
|
|
|
} |
|
|