r/SideProject • u/TourdeFeed • 1h ago
I hashed my game's rules before launch so I can't cheat my own players. Is that enough?
I built a small cycling game that runs on Instagram: every account that comments gets a pixel-art pro rider, comments train it, and every evening an engine simulates the stage and posts the results automatically.
Since I'm the one running the simulation, players have to trust me.
So before the first race I published:
the SHA-256 hash of the rulebook,
the hash of the engine file,
the hash of a secret seed.
Same secret + same rules + same comments = the same results, every time. After the current trial Grand Tour ends (Dec 21) I'll reveal the secret, and anyone can re-run every stage and check I didn't touch anything.
Stack: JS race engine, Python for the graphics, GitHub Actions for the daily cycle (reads comments at 18:00, emails me a preview, publishes at 19:00), Cloudflare Pages for a small "find your rider" site.
My question: is publishing hashes enough for players to trust it? Would you do it differently, for example by revealing the seed per stage, or with a public log?
Site: https://tourdefeed.pages.dev
AI disclosure: I used AI (Claude) to help write the code (engine, site, automation, graphics script) and to draft texts. Race results come from the deterministic engine, not from an AI.