Interactive case study
3 months build window

Playpal77 Casino & Game Engine

Realtime Casino Platform & Android TWA Rebuilder

Headline outcome
Replaced vulnerable client-side loops with authoritative RNG and resolved Metamask transaction drop failures.
Business Outcome: Refactored client-calculated game loops into a 100% server-authoritative engine, securing wallet transactions and automating compilation pipelines.
933
Games Indexed
100%
Server-Auth Spins
0
Transaction Losses
ReactTypeScriptNode.jsExpressSocket.ioMariaDBDocker Composeapktool
Playpal77 Casino lobby and slot game interface

Why it matters

Designed and engineered the authoritative game server, fixed critical payment database write omissions, and wrote automated APK patch tooling.

Current signal

Production

Focused delivery from architecture through working interaction model.

Mission

Why this system had to exist

I refactored the Playpal77 casino suite to transition it from a fragile, client-calculated setup to a fully server-authoritative, high-performance web platform. The business required an engaging, light-themed casino lobby that looked like playpal77.ph, backed by real-time games (Scatter Slots, Dice, Crash, Plinko) and robust, frictionless blockchain and fiat payment integrations.

Moment 01

I refactored the Playpal77 casino suite to transition it from a fragile, client-calculated setup to a fully server-authoritative, high-performance web platform.

Moment 02

The business required an engaging, light-themed casino lobby that looked like playpal77.ph, backed by real-time games (Scatter Slots, Dice, Crash, Plinko) and robust, frictionless blockchain and fiat payment integrations.

Stage 1 of 4
Immersive sandbox
Playpal77 Slot RNG Simulator server-auth
💎
7️⃣
💎
Wallet BalancePHP 1,000.00
Active BetPHP 10.00
Playpal77 Realtime Slot Engine initialized.
Authoritative Node.js RNG: Standby.
Account: PLAYPALTEST77
Credits: PHP 1,000.00

Architecture explorer

Select a layer to inspect the operating shape of the system.

Active layer

React/Vite Casino Frontend

Authoritative 5x3 slot engine and Plinko, Crash, Dice arcade games running on Node.js server

This layer participates in the wider system boundary described in the story above, connecting runtime behavior, user-facing interaction, and safety constraints into one deployable stack.

Before / after transformation

The outcome is easier to feel when you switch between baseline and optimized states.

Before

Game Calculation

Client-calculated (insecure)

After

Optimized resolution

100% Server-authoritative RNG

What shipped

Authoritative 5x3 slot engine and Plinko, Crash, Dice arcade games running on Node.js server

Real-time event broadcasting and persistent wallet state synchronization using Socket.io and SSE

Secure payment processing gateway for Metamask blockchain and PIX transactions in PHP API

Automated Android TWA decompilation, drawable hot-fixing, and aapt2 compiler build script