Build a polished, playable browser game: typing game inspired by fallout 76. Make the…
- User
Build a polished, playable browser game: typing game inspired by fallout 76. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.
Assistant
I'll build a Fallout 76-inspired typing defense game — "RobCo Termlink" terminal aesthetic, falling hostile words you type to vaporize, with CRT effects, screen shake, particles, and full game states. Let me first look at the project structure.
Small fix in the engine — the
measurehelper had a redundant dpr calculation (measureText is transform-independent):Now the touch keyboard component for mobile play:
main.tsx is standard and fine. Now let me build the project to verify everything compiles:
Build passes. ☢ TERMLINK DEFENSE is complete — a Fallout 76-inspired typing defense game with a full RobCo terminal aesthetic.
What was built
Core loop (fun in 10 seconds): Two hostile words spawn immediately on start. Type them to lock on (amber targeting brackets snap to the lowest matching word), each keystroke fires a laser beam from your turret with sparks, and completing a word triggers an explosion, score popup, and combo chain. Words that reach the red firewall line breach your hull — lose all 4 ☢ and it's game over.
Juice & feedback:
- Trauma-based screen shake (quadratic falloff) — small kicks per keystroke, big jolts on kills and breaches
- Particle explosions (budget-capped at 340 for mobile perf), laser beams, floating score text, turret recoil
- Red damage flash, word wobble, white flash-and-scale death animation on killed words
- WebAudio synth SFX with zero assets: keypress blips that rise in pitch with your combo, error buzz, kill zap, breach alarm, wave-up arpeggio, game-over sweep (mutable)
- CRT theme: scanlines, vignette, flicker, sweeping refresh line, phosphor glow on all text
Systems:
- Score = word length × 10 × multiplier (chain up to ×8); mistakes and breaches reset the chain
- Waves every 8 kills — faster spawns, faster falls, longer Fallout-flavored words (RAD → DEATHCLAW → SUPERMUTANT)
- Start screen with animated boot sequence, pause (ESC or button, auto-pauses on tab switch), game-over stats (accuracy, kills, best chain), instant restart with Enter
- Local top-8 high-score table with arcade-style 3-letter callsign entry, persisted in localStorage
Controls: Full keyboard on desktop; on touch devices a custom terminal-styled QWERTY keypad with haptic vibration appears, and tap-anywhere starts the game.
Performance: Single canvas renderer with one rAF loop, event-driven React state (no per-frame re-renders), delta-time clamped updates, and devicePixelRatio capped at 2 — smooth 60fps on desktop and mobile.
Files built:
index.html,src/index.css,src/game/words.ts,src/game/sounds.ts,src/game/highscores.ts,src/game/engine.ts,src/components/TouchKeyboard.tsx,src/App.tsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.