-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I am writing a pretty simplistic game that is location based. It makes you run around to different areas to unlock the next part of the game. This I have solved pretty simply with encryption and local storage.
I want to add some more to the game, but lets start simple. How would one do offline dice rolls, that could be verifiable when the user reconnects?
Properties I am looking for include:
- User cant change the dice roll some way. (this is in js)
- When they reconnect I can verify the dice rolls.
Some thoughts I have had:
- https://jscrambler.com/ provides things like code traps and "self-protective" code. Seems a bit market-speak, but maybe there is some research I could leverage there.
- pre-rolls. Encrypt a bunch of random pre-rolls, and then each action somehow pulls and decrypts one off the stack.
Anyway, open to suggestions, thoughts, etc.
Metadata
Metadata
Assignees
Labels
No labels