Inspiration
Everyone knew one kid who tried to cheat on a test, and one teacher who somehow always caught them. That mix of panic and comedy felt perfect for VR: you're stuck in a chair, the exam is too hard, and the only way out is to be sneaky with your own two hands.
What it does
Pop Quiz Panic is a seated, hands-only exam game for Meta Quest. No controllers, no menus to learn. You point, you pinch, and you cheat.
- Peek. Tap a neighbor on the shoulder and copy their answer. They might be wrong. They might say no.
- Throw snacks. Grab a snack from your lunchbox and fling it across the room. The teacher goes to check the noise, and you get a few free seconds.
- Read your crib sheet. Bend your neck and look down at the notes under your desk. Stare too long and she notices.
- Use your phone. Ask it for the answer, then sweat while it buffers. Hide it before she turns around.
Get spotted and she turns red, charges your desk and confiscates whatever you were using. Three warnings and you're BUSTED.
There are seven ways to play: Training Day, Easy, Not Easy (two teachers), 60-Second Rush, Endless Survival, School Week and Cheat Challenges. Every round deals you a random seat, which changes who you can copy from and how well the teacher can see you. Passing exams fills a sticker book, and comfort settings like seat height and calm mode keep it playable for everyone.
How we built it
Pop Quiz Panic is a WebXR game, so it runs straight from a link in the Quest browser with nothing to install.
- Engine: Meta's Immersive Web SDK (IWSDK) on top of three.js, written in TypeScript.
- Input: hand tracking only. Everything is a ray point plus a pinch, with real grab-and-throw for the snacks.
- Art: the classroom, characters, cards and textures are all generated in code. There are no imported models.
- Audio: every sound effect and the in-game music are synthesized live with the Web Audio API.
- Logic: the rules for each cheat, the teacher and the modes are plain modules with unit tests, kept separate from rendering.
- Hosting: Vercel.
Challenges we ran into
- Designing for hands. Poke gestures were too fiddly, so every button became point and pinch. The crib sheet started as something you grab and lift, which felt clumsy in practice. Replacing it with "just look down" made it faster, funnier and riskier.
- Flicker that only shows on the headset. Scenes that looked clean on a laptop shimmered on the Quest. Fixing it meant tightening the camera's depth range, spacing overlapping wall layers apart, correcting the draw order of the hand mesh, and pre-loading textures instead of redrawing them mid-game.
- Sound in the Quest browser. Audio stays suspended until a user gesture, and a hand pinch doesn't count as one for the page. The game now unlocks sound from XR session events and retries if it gets suspended.
- Sitting still. When the player can't walk, seat height and distance from the desk decide whether the game is comfortable. It calibrates to your real head height and lets you adjust it.
Accomplishments that we're proud of
- A full game you can play with nothing but your hands, from the title screen to the report card.
- Four different cheats that each feel physical: a shoulder tap, a real throw, a neck bend and a sneaky phone.
- A teacher who reacts to what she actually sees, so getting away with it feels earned.
- Seven modes, random seating and a sticker book, so no two exams play the same.
- It runs from a single link in the Quest browser, with every model, texture and sound made in code.
- Press the Meta button any time and the exam pauses. ## What we learned
- Test on the real headset early and often. The emulator hides the problems that matter most.
- Hand tracking wants big targets and forgiving interactions.
- The simplest version of a mechanic is usually the most fun one.
What's next for Pop Quiz Panic
More question packs, more teacher personalities, and a daily exam that everyone plays on the same day.
Demo video music: "Run Amok" by Kevin MacLeod (incompetech.com), licensed under CC BY 4.0.
Built With
- iwsdk
- meta-quest
- three.js
- typescript
- vercel
- vite
- web-audio-api
- webxr