Open goyalyashpal opened 3 years ago
@yashpalgoyal1304 Can you add some more detail of what you mean? Thanks
Hi chrisboyle, yes, i would add more detail. But i have got some work at hand at this moment. So, I cant say till when i will do that.
so, i meant that the game-id is generated by following some parameters of the game. So, some documentation regarding that shall be there somewhere. maybe at least for the games for which it is reasonably simple
example:
i hope it makes sense 😅
| Solo | 2x2:
a3
e3
1e
2a | 2x2 - size
3 - digit on grid
- the solid dividing line
a, e - ?? |
per the explorations today, the format for solo (sudoku) is simple:
game | sample id | breakdown |
---|---|---|
Solo | 2x2: a 3e 3_ 1e 2a |
2x2 - sizea /e (alphabet) - 1/5 blank space3 - digit on grid_ - 2 consecutive digits (i.e. no blank space) |
(Copying over from the other issue:)
ANDDD.... i deciphered the game description id for solo game:
2x2: a 3e 3_ 1e 2a spaces added by me are just for clarity only
In BNF, it would be:
STATEMENTS
<game_description> := <size>:<terminal_blank><other_cell_description>
<size> := <digit>x<digit>
<other_cell_description> := <cell_description> [ no. of given digits times ]
<cell_description> := <digit><blanks_with_next_digit>
<blanks_with_next_digit> := if not last cell then <digit_blank> else <terminal_blank>
LITERALS
<digit_blank> := <lower_alphabet> | <underscore>
<terminal_blank> := <lower_alphabet> | <nothing>
OBVIOUS LITERALS
digit
lower_alphabet
underscore
nothing
hi @chrisboyle
so, with recent success in decoding the game description / game ID for solo/sudoku, i am feeling fairly confident.
i was thinking of doing it on a - part-wise fashion, rather than all-or-nothing. the above tabular format : game | sample-id | breakdown
feels good enough.
so, do you have any preference on at which file should i document these in? somewhere accessible by web as well would be good.
thanks
As the description/ID formats are not Android-specific, I think this should appear as part of the upstream documentation. Places it could live include:
had already figured out singles, figured out towers too today (added in description)
Summary
Some documentation to enable manually writing the game id for a given game
Details
Use case
### (Mostly) Confirmed:example of game ids:
(worst case)
2x2: a3 e3 _1 e2 a
(inter- columns x rows of sub-blocks)
(not intra sub-blocks)
3 - digit on grid
_ - continuous digits (no blanks)
a , e - blank spaces
3:
2/1/2/
2/3/1/
2/1/2/
2/3/1
Edge clues ordered as:
Top, Bottom, Left, Right
3x3 t0: a3 a203 c
loopy# 3x3 t1: 0_ a1 a1 a1 22c1a1a2202
Grid numbered squares
Similar to solo
without underscores, and
CAPS for grid numbers > 9
regular grid types like `t0` squares, `t2` honeycomb hexagons are simple
`t1` triangles: numbers layer wise: row major, triangle layer minor, column most minor (aka patch in semantic versioning lol)
for other grid types - not worth it imo 😅
Confirmed Trivials:
grid numbers in row major order - optionally with some separator(worst case)
1:
001
110
Grid numbers
2x2:
0,2,
1,3
Tiles: 1, ... , 9, ... , 13, ...
Hole: 0
2x2:
22
12
Grid squares
(worst case)
??