Engagement & Referral Systems

Role
Frontend Developer
Period
2024 - 2025
Private Build

Engagement systems for acquisition and retention: loot boxes, Wheel of Fortune mechanics, and referral flows designed to scale users without obscuring outcomes.

StackReact, TypeScript, Realtime
~900%

First-week growth

from a 100K paid base to ~1M users.

#2

Acquisition channel

the engagement loop, second only to paid spend.

Paid bought the first 100K. The loop kept them coming back.

  1. Paid traffic
  2. Activation
  3. Referral loop
  4. Retention
  5. Scale
~100Kpaid user base
~1Musers in week one
~900%first-week growth

What I built

The product-facing growth mechanics users actually touch: referrals, tasks and reward surfaces, built to stay cheap to run at high traffic.

Referral flow
Invite & reward states
Task flows
Case opening
Wheel of fortune
Multi-currency UI
Reward claim
Passive income
The problem

Growth was stalling at activation. The product needed a layered engagement system that rewarded both first-time and repeat users without breaking unit economics.

How I approached it
  1. 01
    Referral attribution that survives volumeInvite credit is staged through start parameters and qualifying actions, with duplicate prevention and backend validation, so heavy invite traffic doesn't poison the numbers.
  2. 02
    Backend-authoritative rewardsLoot boxes and the Wheel of Fortune animate on the client, but the result is decided and validated server-side with controlled probability and rarity tiers.
  3. 03
    Engagement without backend overloadHot flows lean on caching, deferred updates and lazy calculation, so millions of users don't translate into millions of constant recalculations.
How it helped
  • Reward mechanics stayed cheap to run, even at peak traffic.
  • Passive income felt continuous without constant recalculation.

The growth loop

Every reward is a reason to come back

Play, earn, open a reward, invite a friend, then return for the bonus and play again. Each step feeds the next, so engagement compounds instead of leaking after the first session.

Growth loop
1Playa session
2Earncurrency
3Open rewardscases & wheel
4Invitefriends
5Come backwith bonuses

The reward economy

Rewards that pay out while you're away

Loot boxes, the Wheel of Fortune and multi-currency rewards animate on the client, but every result is decided and validated server-side. Passive income is computed only when a user claims or returns — last claim time × rate, capped — never recalculated for idle accounts, so the loop stays cheap at millions of users.
Rewards
12,480340
CommonOpen
RareOpen
EpicOpen
Idle earningsaccrues while you're away
+1,240
68% to capClaim

Tech stack

ReactTypeScriptMobXSCSS ModulesTelegram APIPostgreSQLRedisTypeORM