Add special characters to location/victory/registration codes to ensure deep-link payload uniqueness and to simplify the way secret codes are checked.
For instance, instead of 4gC0OeXo use loc-123-456-4gC0OeXo, where:
loc identifies it as a location-code,
123 identifies the game by ID,
456 identifies the location by ID,
``´4gC0OeXo``` is the actual secret code which is checked.
This ensures that codes have no collisions, queries can be implemented in a much more performing way, and that secret codes can be debugged more easily.
Add special characters to location/victory/registration codes to ensure deep-link payload uniqueness and to simplify the way secret codes are checked.
For instance, instead of
4gC0OeXo
useloc-123-456-4gC0OeXo
, where:loc
identifies it as a location-code,123
identifies the game by ID,456
identifies the location by ID,This ensures that codes have no collisions, queries can be implemented in a much more performing way, and that secret codes can be debugged more easily.