Ho Ho Ho! Santa's AI elf finds the perfect gift with this

Ho Ho Ho! 🎅 Secret Santa again, and I have no idea what to buy. 😅
So I built Santa GPT, a retro Christmas game where Santa's AI workshop finds gifts that fit the person and your budget.
🎄 Play it: https://santaagpt.vercel.app
💻 Code: https://github.com/devharshtank/santa-GPT
How it works
Answer five quick quests: who it's for, what they like, and your budget in rupees. Then open the gift boxes one by one.
Every idea comes with why it fits, how to make it personal, and a price estimate. Don't like them? Hit "Surprise me", or tell Santa what to change ("he already has a mechanical keyboard") and he tries again.
The fun bits
- Every sprite is drawn from code. No image files.
- The chiptune music and sound effects come from the Web Audio API. No audio files either.
- Tap the reindeer, snowman or elf and they crack a joke.
- The sky changes between day and night, and there's a countdown to Christmas.
- Level up to unlock Northern Lights and a helper elf.
- Make a printable note from Santa, or a shareable image of your picks.
Stack
Next.js 15, React 19, TypeScript, Tailwind 4, Zustand, Framer Motion, Gemini, Zod, Vercel.
One thing I learned
Never trust the AI's JSON. I check every response with Zod, so a weird answer becomes a friendly error instead of a broken screen. Saved progress gets the same treatment when it loads.
Try it
It's free, with no sign-up and no ads. If it saves your Christmas, you can buy me a coffee ☕
Tell me what breaks, what feels off, or what Santa should learn next. 🎁
原文:https://www.a8q9.cn/en/article/ho-ho-ho-santa-s-ai-elf-finds-the-perfect-gift-with-this-03ab1a.html

