John Dufresne's Portfolio — UX Games

UX Games

A series of UX-themed browser games built to sharpen prompt engineering skills and explore vibe coding. Each game — a quiz game, detective RPG, and space shooter — translates core design principles into interactive, playable experiences that make UX concepts tangible and entertaining.

How I Built These UX Games

Each game was built using prompt engineering in Claude to generate detailed game design documents, then vibe coded in Lovable using React. The process moved from concept to playable browser game without writing code manually. I did use Claude to write a few lines of code to insert in my Webflow page's custom code to allow the sites to live and be interactive on my portfolio.

How I Built These UX Games
Each game was built using prompt engineering in Claude to generate detailed game design documents, then vibe coded in Lovable using React. The process moved from concept to playable browser game without writing code manually. I did use Claude to write a few lines of code to insert in my Webflow page's custom code to allow the sites to live and be interactive on my portfolio.
Claude
Lovable
React
Framer Motion
Google Fonts
JSON
HTML5 Canvas
CSS animations
CSS grid
SVG layout
Tailwind CSS
React 19 with TanStack Start
HTML5 Canvas API
Vite 7
Cloudflare Workers
UX Detective RPG
The most complex of the three. I wrote a full 10-scene game script with two original characters, three distinct gameplay mechanics, and a narrative arc built around dark pattern investigation. The prompt covered art direction, dialogue, interaction rules, and the empathy interview chatbot mechanic in detail.
Claude for prompt writing,
Lovable for building
React, pixel art SVGs, CSS animations, Press Start 2P font
UX Defenders
I started by defining the core mechanic around Hick's Law — a space shooter where growing nav menus and dark pattern modals rain down on a paper airplane ship. The prompt was written from the perspective of a senior game developer and PM, specifying everything from spawn rates to color palette to win conditions.
Claude for prompt writing,
Lovable for building
React,