Shipped Software
ggSLOTS
A full-stack transactional casino and gaming platform featuring 6 distinct game engines (Slots, Blackjack, Poker, Plinko, Bingo, Scratch Cards), an ACID-compliant PostgreSQL balance ledger with row-level locking (SELECT ... FOR UPDATE) to prevent double-spending, CSPRNG Web Crypto randomness, and US state geolocation compliance checks.
Purpose
Deliver a reliable, transparent transactional gaming simulation with verifiable state transitions, cryptographic randomness, and strict ACID ledger accounting.
How it works
Engineered around transactional rigor and game fairness. Game outcomes are calculated via cryptographically secure random number generators (Web Crypto API). Balance transactions execute atomically inside Supabase PostgreSQL stored procedures using row-level locking (SELECT ... FOR UPDATE) to prevent concurrency race conditions.
- Ledger Atomicity: Balance changes are strictly processed through database-level locks, preventing duplicate wagers or race conditions.
- Cryptographic Fairness: Game outcomes derive from browser and server CSPRNG rather than predictable Math.random().
- Separation of Concerns: Decouples rendering animations from underlying transactional settlement states.
- Six-Game Casino Suite: Full game engines for SlotGame (custom paylines), BlackjackGame (split/double-down), PokerGame, PlinkoGame (physics peg matrix), BingoGame, and ScratchGame.
- ACID Balance Ledger: PostgreSQL stored procedures locking user balance records with FOR UPDATE during wagers and payouts, guaranteeing atomic balance consistency.
- CSPRNG Fair Randomness Engine: Generates unmanipulated reel positions, card draws, and peg drop paths using crypto.getRandomValues().