DEV Community

Collinxweb
Collinxweb

Posted on Edited on

๐ŸŽƒ๐Ÿ’€ PJAM, "One prompt. One shot. Prove it." | Halloween + Dรญa de los Muertos drop: The Ofrenda Track

PJAM is a mobile-first game that teaches complete beginners the real skill of AI prompting. No multiple choice, no theory. You write ONE prompt, our AI judge scores it out of 100 (Accuracy 60 ยท Efficiency 25 ยท Style 15), and you either pass the level or go again. One shot. Just like real life.

For the Hacktoberfest/Dรญa de los Muertos season we shipped a limited-time event layer: The Ofrenda Track. The app wears its purple identity with marigold gold, candles and papel-picado warmth, a seasonal celebration of honoring the past, auto-scheduled to end Nov 2 via a single event flag in our theme config.

๐Ÿ›  What's under the hood

  • Next.js 14 App Router + Tailwind, Supabase backend, deployed on Vercel
  • AI judging pipeline: Gemini first, OpenAI fallback, offline heuristic last, so the game never breaks, even mid-tournament
  • lib/theme.js is the single source of truth for game numbers, themes and judge instructions

๐Ÿ“ก Why Sentry matters to us
PJAM is literally a game about talking to an AI, so we trace every single challenge run end-to-end with Sentry agent tracing. Each run becomes one trace: prompt โ†’ AI call โ†’ grading, with the challenge id, player level, estimated tokens, latency and final score as span attributes. That means we can see exactly which levels the AI judges struggle with, where latency spikes, and how players' prompts evolve, real product insight, not just crash reports. (We never log players' raw prompts, only metrics. Privacy first.)

๐Ÿ”— Repo: ๐Ÿ”ง [https://github.com/Collinxweb/PJAM]
๐ŸŒ Live:[https://www.pjam.site/]

๐Ÿ‘ป what's live: Ghost Interactions levels
The Ofrenda Track's next act: levels where you prompt to summon, question and calm the spirits, guided "ghost interactions" that teach constraint-based prompting (tone control, role play, memory of previous prompts) through the Dรญa de los Muertos theme. You'll interview the ancestor, get graded on how precisely you prompt. Honor the past, one prompt at a time. ๐Ÿ•ฏ

Built with โค๏ธ by Collins Alfred, builder & security researcher.

Top comments (0)