2026
Cardle
Daily blackjack guessing game with authenticated, server-enforced state.
1 min readLast updated 2026-07-04
Overview
A daily blackjack guessing game built around secure server-owned game state. Players authenticate, receive a daily challenge, and submit guesses against backend-enforced rules rather than trusting client-side logic.
Impact
Production JWT auth, server-enforced daily game state, zero client-trust design
Key Features
- Designed a zero client-trust game flow where the backend owns daily state, answer validation, and attempt tracking
- Implemented JWT authentication for protected player sessions and persistent account data
- Modeled PostgreSQL entities for users, daily games, attempts, and result history
- Deployed the API and frontend separately using Railway and Vercel for a production-style split architecture
Technologies
FastAPIPostgreSQLJWTReactTypeScriptRailwayVercel