🎰 Scratch Cards

Scratch and reveal symbols to win!

Bet Amount

Game Status

Revealed: 0 / 9
Status: Ready
Total Win: 0

Implementation Notes

This demo is a compact client for a Scratch Card prototype. It demonstrates a PixiJS-powered card reveal UI, with client-side scratch interactions and integration with a backend game service.

Frontend

Backend (technical overview)

The backend is implemented as a NestJS service exposing REST endpoints to power the UI. Key endpoints used by this demo:

Server design notes

Core Game Engine (Scratch Card)

The core engine handles scratch tracking, prize calculation, and payout evaluation. Conceptually:

Notes: this demo is simplified for portfolio purposes.