Fools Gold

Real-Time Multiplayer Mobile Card Game

Coming to App Stores Play Web Version View on GitHub
Fools Gold Gameplay

Complete Tech Stack

Vue.js 3 Laravel 11 (MVC) WebSockets (Reverb) Redis RevenueCat Firebase Docker Nginx Cloudflare Hetzner VPS Capacitor TresJS (3D)

Complex Game Logic & 3D Integration

Designed and developed a cross-platform turn-based card game centered on bluffing, bidding, and artifact collection. I programmed intricate gameplay mechanics, including rotating core roles (such as the Merchant and Bidder), specialized character abilities, and a dynamic "Tactics" deck that introduces deep economic and strategic layers to the core loop.

To elevate the visual experience beyond a traditional 2D tabletop, I integrated dynamic 3D character models into the frontend using TresJS. These serve as highly customizable player avatars featuring personalized attributes (gender, skin color, backgrounds) and a scalable architecture designed for future cosmetic skins. Additionally, I architected dynamic localization files to support multiple languages seamlessly.

Real-Time Architecture & Performance Optimization

Handling concurrent player actions without sacrificing user experience demanded a highly optimized backend system. I engineered low-latency, seamless multiplayer synchronization and live game-state updates utilizing Reverb WebSockets. Crucially, I highly optimized data payloads to ensure minimum mobile data consumption during fast-paced matches, guaranteeing smooth gameplay even on weaker cellular networks.

The backend is powered by a robust Laravel API that cleanly separates server-side processing from the dynamic Vue.js frontend. For global competitive ranking and matchmaking, I implemented a high-performance Redis-based leaderboard system.

Monetization & In-App Economy

Retaining players and creating a sustainable revenue model required bridging native storefronts with custom game logic. I integrated RevenueCat to architect and manage cross-platform in-app purchases (IAP). This ensures secure transaction validation, real-time user entitlement syncing, and a flawless connection to both mobile storefront economies, complete with a compliant storefront UI.

System Integration & Engagement

To drive player retention and unify the platform, I developed a centralized authentication system to manage user accounts across the devalty.com network. I integrated Firebase for targeted push notifications, alerting players of turn updates and social interactions. To maintain peak server performance, I implemented robust background queues to handle asynchronous tasks—such as email communications—without blocking the main thread.

Infrastructure, Automation & Cross-Platform Launch

The entire ecosystem is containerized and automated to ensure seamless updates and high availability: