Next.js 16ZustandSupabaseGamification
Weekly Quiz Challenge
A high-performance gamified quiz platform used for blockchain education, featuring timed challenges, live leaderboards, and anti-cheat mechanisms.

## Description
The Weekly Quiz Challenge is an interactive educational platform designed to onboard users into blockchain ecosystems through gamified learning. It features time-sensitive questions, instant scoring, and live competition.
---
## Tech Stack
- **Frontend:** Next.js 16, Tailwind CSS
- **State Management:** Zustand (Global store for quiz session)
- **Data Fetching:** TanStack Query
- **Backend:** Supabase
- **Auth:** Discord OAuth (Community integration)
---
## Core Mechanics
**Speed-Based Scoring**
Points are awarded based on how quickly a correct answer is selected.
`Score = Base Points * (Time Remaining / Total Time)`
**Anti-Cheat Measures**
- Server-side time validation.
- One-time submission usage constraints.
- Randomised question ordering.
**Live Leaderboard**
Real-time ranking updates using Supabase Realtime subscriptions.
Screenshots


