INTERACTIVE / GAME
Click or Check?
A news game about trading traffic against credibility
Each story is scored on how sensational its headline is and whether it's true, and the two-axis bar at the top updates as you play. The game is a React 19 and Vite app, hosted on Vercel.
ROLE
Team project
STACK
React 19 · Vite · Tailwind
Media-literacy game · playable online · code on GitHub
HIGHLIGHTS
- No leaked timers: fact-checking runs as a timed state machine (verifying → result → fading → removed), and a single cardTimersRef clears every timer, so nothing calls setState after unmount and nothing leaks memory
- Scored on a 2D grid: one axis is how sensational the headline is and the other is whether the story is true
- Drawn with plain CSS: the two-axis bar at the top is a linear-gradient computed from a formula and updated live