← All projects
// Personal ·
Luna Casino
An in-game casino with eleven games (coinflip, crash, dice, jackpot, keno, mines, plinko, roulette, slide, slots, wheel) using provably-fair HMAC-based random outcomes verified against a revealed server seed.
- Lua
- GMod
- Cryptography

Bet placement and outcome resolution are relayed to a backend for authoritative settlement, protected by idempotency keys and rate limiting. Fairness is provable: each outcome is derived from HMAC-SHA256 over a server seed and a client seed plus nonce, normalized into a float or split into several independent floats or bits for multi-part outcomes like slots’ three reels or plinko’s peg path, and the server seed’s hash is shown before betting so a player can verify the result once the seed is later revealed.