惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
大猫的无限游戏
大猫的无限游戏
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
爱范儿
爱范儿
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
博客园_首页
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
V
V2EX
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
美团技术团队

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How We Built an AI-Powered Career RPG Quest for the Youth...
divinefavour1234567 · 2026-06-23 · via DEV Community

Hey DEV community! 👋

For the YouthCodeX AI Hackathon, my partner and I wanted to build something that solves a massive problem for teenagers: career decision paralysis and job hunt readiness.

Most career advisors are static lists of links. We wanted to build something that feels alive—so we built PathFinder AI: a gamified, level-locked career RPG simulator featuring Web Audio synth effects, Apple Siri-style voice visualizers, side-by-side ATS resume diffs, and boss-fight salary negotiations.

Here is how we built it, the tech stack, and what we learned.

💡 The Core Experience: From "Intern" to "Executive Partner"
To make career guidance engaging, we gamified the entire flow. Users earn EXP by:

Completing milestones on their career trees.
Solving quick-fire coding riddles on the Dashboard.
Conducting mock voice interviews.
Surviving Day-in-the-Life RPG scenarios.
As they climb ranks, features unlock progressively:

Level 1: Dashboard & AI Voice Interviews
Level 2: Nigeria Cost-of-Living Rent Calculator & Resume ATS Critique
Level 3: Salary Negotiator Sandbox (Scrooge & Victoria Boss fights)
Level 4: 3D Holographic Skills Radar Map & Career Explorer
Level 5: Day-in-the-Life text RPG Simulator
Level 6: Hard-mode Mentor Marketplace
When a user levels up, a full-screen Level Up Celebration Modal triggers, throwing a physical particle explosion across their screen accompanied by a synthesizer major sweep chord!

🛠️ Key Features & Tech Stack
Our stack is lightweight and zero-dependency to optimize load speed and responsiveness:

Frontend: React (Vite) + Context API
AI Integration: Direct client-side SDK integration with the Google Gemini API (@google/generative-ai) with high-fidelity local mock fallbacks for demo modes.
Styling: Vanilla CSS establishing a sleek, glassmorphic dark-neon design system.
Visualizations: Zero-dependency HTML5 Canvas rendering for 3D projections and physics.

  1. Zero-Dependency 3D Vector Math on Canvas 🌐 Instead of importing heavy WebGL packages, we wrote custom 3D rotation projection matrices directly onto HTML5 2D contexts:

Interactive 3D Skill Radar: Concentric spider-web polygons showing core capabilities vs gaps. Includes parallax mouse-tilt and floating course tags connect via dashed trails.
Cinematic Laboratory Space: Silhouetted teenagers pointing at floating holograms (code blocks, AI coaches, resume scorecards) with a slow panning matrix.

  1. Apple Siri-Style Bezier Waveform 🎙️ During mock interviews, a canvas plots multiple overlapping translucent Bezier curves with varying amplitudes and phases. When the Web Speech API reads questions aloud, the wave height dynamically pulses, and flatlines once silent.

// Siri-style waveform envelope generator preview
const drawWave = (ctx, width, height, time, speed, amplitude, offset) => {
ctx.beginPath();
for (let x = 0; x < width; x++) {
const scale = Math.sin((x / width) * Math.PI); // Clamp wave edges
const y = Math.sin(x * 0.02 + time * speed + offset) * amplitude * scale + height / 2;
if (x === 0) ctx.moveTo(x, y);
else ctx.lineTo(x, y);
}
ctx.stroke();
};

  1. Web Audio Synth Soundscapes 🔊
    To maintain a high-fidelity retro-modern aesthetic, we bypassed heavy audio assets and synthesized game cues locally using the Web Audio API:
    // Lightweight major arpeggio sweep chord on level up
    export const playLevelUpSound = () => {
    const ctx = new AudioContext();
    const now = ctx.currentTime;
    const notes = [261.63, 329.63, 392.00, 523.25, 659.25, 1046.50]; // C4 -> C6 sweep
    notes.forEach((freq, idx) => {
    const osc = ctx.createOscillator();
    const gain = ctx.createGain();
    osc.type = "triangle";
    osc.frequency.setValueAtTime(freq, now + idx * 0.06);
    gain.gain.setValueAtTime(0.06, now + idx * 0.06);
    gain.gain.exponentialRampToValueAtTime(0.001, now + idx * 0.06 + 0.3);
    osc.connect(gain);
    gain.connect(ctx.destination);
    osc.start(now + idx * 0.06);
    osc.stop(now + idx * 0.06 + 0.35);
    });
    };

  2. Interactive Salary Negotiator Boss Fight 💼
    Instead of a simple salary slider, users go head-to-head with strict virtual hiring managers (Alex the HR Intern, Scrooge the Finance Lead, Victoria the VP, and Karen the CFO Boss).

Gemini API acts as the strict boss analyzing counter-offers.
Ultimate Stress HUD: Users must justify counter-proposals with career keywords (e.g. React, PyTorch). Begging or excessive rates deplete the boss's patience gauge and trigger biometric alarm sound pulses, culminating in a rescinded offer if it hits zero!

💡 What We Learned
AI Prompts need strict structures: To feed charts, progress bars, and scorecards in real-time, we configured Gemini to return structured JSON. Cleaning Markdown blocks (


json wrapper overrides) using clean RegExp regex replacements was critical to preventing client-side JSON.parse() parser crashes.
Web Audio is a superpower: You don't need megabytes of .wav assets to make an application sound immersive. A few lines of Oscillator nodes can trigger blips, clicks, and chords at near-zero latency.
Visual Diffs aid comprehension: When correcting a resume, users hate raw suggestions. Highlighting deletions in red strikethrough and insertions in green is intuitive and familiar to developers.

🔮 What's Next?
We plan to integrate a persistent database to sync profiles across devices, add more RPG scenarios, and expand our local cost-of-living calculations database to index rent indexes across more African tech hubs.

Check out our project and let us know what you think! We’d love to hear your feedback on the gamification setup or the canvas animations.

Leave a ⭐ if you liked the idea! Happy hacking!