← Back
PostHog
Supabase
Project Docs

A/B Test Simulator

Interactive memory game puzzle demonstrating A/B testing with PostHog experiments and real-time analytics.
I built this from scratch using a full analytics stack with Astro front‑end → Supabase PostgREST (SQL views/RPCs) → PostHog events → Supabase Webhooks → Plotly charts on Astro. My goal is to show not just what experimentation means from a statistical POV, but also from a tech implementation and user experience POV.

Your Challenge

Variant
Loading...
Your Random Username
Loading...
Difficulty
Loading...
No. of Pineapples to Find
0

MEMORY GAME: Find the Pineapples 🍍.

Click Start to reveal the board, memorize all pineapples in 10 seconds, then find them before the timer expires.

🍍 Click Start to reveal the board.
You get 7 seconds to memorize. 7s
Time
00:60:00
Pineapple Tracker 0/0
Time 00:00:00
Guesses 0
🏆 Top Players

📊 Analytics Dashboard

Real-time A/B test results

Loading...
A
Control (4 pineapples)
Total Completions
--
Avg Completion Time
--
B
Treatment (5 pineapples)
Total Completions
--
Avg Completion Time
--
⚖️
Comparison
Time Difference
--%
--

Recent Completions