Symboltables: Puzzle Code: Better Encryption
S-Man42 opened this issue · comments
I really don't like the encryption of the Puzzle Code. It doesn't look like a complete puzzle, but only like a bunch of loose tiles...
I'd love to have a better encryption here:
The iOS tool GC Tools has a good approach on this. For encryption it doesn't use the complete puzzle shape but only the bottom and right side. And then put them together without any offset between the tiles.
So, my approach would be to enhance the symbol table encryption this way:
- add a new symbolset "xyz_encryption.zip" to the puzzle directory. Same as the normal one but without top and left side and without space around them
- config file parameters:
{
...
"encryption": {
"alternate_set": true,
"borders": {
"top": true,
"left": true
}
"offset": 0
}
}
- If "encryption.alternate_set found in config file, don't use the normal puzzle.zip but puzzle_encryption.zip.
- If "encryption.offset" found: Between rows and columns: Given offset
- If "encryption.draw_borders.top" found: draw a line at the top with given offset to symbols.
Furtherly:
For example "Stippel Code": Originally the code is written in alternate directions: First row: Left to Right, Second row from right to left (with verically flipped symbols and without space inbetween). Gernreich doesn't follow a fixed direction; each following symbol starts where the previous one ended (A is from left bottom corner to right middle; B would start at right middle and goes down...). So many more options are imaginable. But let us start with that relative easy one...
Could you please provide the image set? I guess it would be a good idea to make them transparent. So simply black; the bottom and right side. Just remove the top and the left...
I believe it makes sense to draw the symbols completely new because the current data has not a good resolution with lots of artifacts which could make the final result look very nasty...
ftp://.../Exchange/Symboltabellen/puzzle