TypeScript
Every game engine, rule set, AI planner, save schema and React component.
Strict typed campaign state, character attributes, monster tables, dungeon grids, combat rounds, utility-AI scoring and Zod-validated saves.

Inventor. Builder. Founder.
I've spent my life turning emerging technologies into things people can actually use.
Technology · Architecture · AI · Game development
Eight classic games rebuilt to run in a web browser, written in TypeScript with human direction and AI-assisted development. This page describes only what the source code actually contains, from an audit on 30 November 2026.
Why these games
At thirteen, in eighth grade, Eric played Wizardry and Ultima on a friend’s Apple II. At fourteen he got a ColecoVision for Christmas and played Defender. At eighteen he played The Bard’s Tale on his college roommate’s Commodore Amiga. He also rode his bike with friends to a store to play Commando, feeding the machine quarter after quarter.
Those machines had a few kilobytes of memory. Today a browser tab can run a WebGL 2 dungeon, a synthesized orchestra and six cooperating AI adventurers. The collection is an experiment in what changes when one person directs the design and AI tools help write the code, art and documentation. It also asks what has to stay the same: the clear rules and tight controls that made the originals great.
Personal memories come from Eric. Dates and models of the machines are not confirmed. Read the full journey →
Verified from package.json and source imports
Every game engine, rule set, AI planner, save schema and React component.
Strict typed campaign state, character attributes, monster tables, dungeon grids, combat rounds, utility-AI scoring and Zod-validated saves.
Game shells, menus, party panels, overlays and the website itself.
Thin components such as WizardryGame and BardsTaleGame drive React-free engines and display their state.
Responsive layouts, fullscreen single-screen game shells, touch controls and animation.
Measured visual-viewport shells, pointer-based touch-only controls, framed battle portraits, Bard song bursts.
Document structure plus <canvas> drawing surfaces and native <img> artwork layers.
Canvas 2D arcade playfields; WebGL canvases for the 3D games; HTML monster portraits kept outside 3D scaling for sharpness.
Development tooling only — never shipped to visitors.
Playwright scripts in scripts/ that capture museum screenshots and check Wizardry viewports, camping, monsters and navigation.
Only through Three.js built-in materials and post-processing passes; no custom shader source was written.
MeshStandardMaterial lighting, SSAO and bloom passes in Wizardry come from Three.js addons.
| Technology | Version | Status | Kind | What it does here |
|---|---|---|---|---|
| React | 19.2 | Implemented | direct | User interface for the site and every game shell. |
| TanStack Start / Router | 1.168 / 1.170 | Implemented | direct | File-based routes, server rendering, per-page search metadata. |
| Vite | 8.1 | Implemented | direct | Development server, bundling and code-splitting (3D renderers load only during play). |
| Tailwind CSS | 4.2 | Implemented | direct | Styling system and responsive utilities. |
| Radix UI / shadcn-style components | — | Implemented | direct | Accessible dialogs, popovers, sliders and menus. |
| Lucide icons | 0.575 | Implemented | direct | Interface icons in game toolbars. |
| Three.js | 0.187 | Implemented | direct | WebGL 3D rendering for Wizardry, The Bard’s Tale and Operation Thunderstrike: GLTF models, skeletal animation of licensed models, PBR materials, post-processing. |
| rot.js | 2.2 | Implemented | direct | Seeded random-number generator for the two party RPG rule engines (reproducible combat). |
| Zod | 3.24 | Implemented | direct | Validates and migrates saved campaigns so old saves keep loading. |
| Canvas 2D | — | Implemented | browser API | Arcade games, Ultima’s world, retro fallbacks and minimaps. |
| WebGL 2 | — | Implemented | browser API | Wizardry’s adaptive renderer; WebGL in the other 3D games. |
| Web Audio API | — | Implemented | browser API | All game sound: arcade effects and the synthesized adaptive RPG soundtrack. |
| Gamepad API | — | Implemented | browser API | Controller input for arcade games, Ultima, Thunderstrike and the RPG joystick layer. |
| localStorage / IndexedDB | — | Implemented | browser API | Saves, scores and preferences stay on the player’s device (IndexedDB for Wizardry campaigns). |
| Vitest + Bun test | Vitest 4 | Implemented | direct | 267 automated rule, AI, save-migration and data tests across the games. |
| Playwright (Python) | — | Implemented | platform | Browser checks and screenshot capture during development. |
| ESLint / TypeScript compiler | — | Implemented | direct | Static checks on every change. |
| Lovable Cloud | — | Implemented | platform | Hosts the website’s private areas; the games themselves do not use the database. |
| WebGPU | — | Not used | browser API | Not used; Wizardry targets WebGL 2. |
| React Three Fiber / Drei | — | Not used | direct | Not used; Three.js is driven directly from React-free renderer classes. |
| Howler.js / Tone.js | — | Not used | direct | Not used; audio is written directly on the Web Audio API. |
| Physics engine / Redux / Zustand | — | Not used | direct | Not used; collisions are custom, state lives in plain typed objects and React state. |
| GitHub Actions / CI | — | Not used | platform | No CI workflow exists in the repository. |
The site also uses form, chart, email and carousel libraries that have nothing to do with the games. They are left out of this inventory.
How the pieces fit
Interactive

| Game | Canvas 2D | Three.js / WebGL | Autonomous AI | Adaptive music | Touch controls | Gamepad | Local saves | Licensed 3D models | Generated artwork |
|---|---|---|---|---|---|---|---|---|---|
| Space Invaders adaptation | ✓ | — | — | — | ✓ | ✓ | ✓ | — | — |
| Asteroids adaptation | ✓ | — | — | — | ✓ | ✓ | ✓ | — | — |
| Defender adaptation | ✓ | — | — | — | ✓ | ✓ | ✓ | — | — |
| Robot Uprising: 2186 | ✓ | — | — | — | ✓ | ✓ | ✓ | — | — |
| Labyrinth of the Fallen King | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Ultima adaptation | ✓ | — | — | — | ✓ | ✓ | ✓ | — | — |
| The Ballad of Eternal Winter | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Operation Thunderstrike | ✓ | ✓ | — | — | ✓ | ✓ | ✓ | ✓ | Partial |
Major feature
Each adventurer is a utility agent. It scores the actions it is allowed to take, such as attacking, casting, healing or defending, by threat, injury and the resources it has left. A coordinator reserves targets and heals so effort isn’t wasted. Players can choose a strategy, override any adventurer, or switch to manual.
A deterministic planner picks only legal actions for each round. It uses no random numbers and doesn’t change the game state itself. It has six strategies (Balanced, Aggressive, Defensive, Conserve Magic, Boss Battle, Survival). It saves Bard songs for hard fights, shares healing between healers, and warns before likely defeat.
Front rank: scores melee value against the most threatening group
Every choice is submitted as a legal action to the same round engine as manual play. Agents never change statistics, dice or quest progress. All of this is rule-based scoring in TypeScript, not a language model.
Generated, licensed and procedural, labeled separately
The 3D games use CC0 models from Quaternius and CC0 textures from Poly Haven. Wizardry’s renderer adjusts resolution, shadows and effects to the frame rate it measures, with SSAO and bloom passes from Three.js. Monster portraits are flat illustrations, not rigged 3D characters. The licensed models have skeletal animation but represent several creatures each. Arcade graphics are drawn entirely in code.
Performance in the development sandbox was measured with software rendering, about 1–2 frames per second. That is not a device benchmark. No 60 FPS or 4K claim has been verified.








Original, synthesized live
There are no audio files. Each of the 55 pieces is a short set of instructions: key, mode, tempo, chord progression and instruments. The browser’s Web Audio API turns these into sound with simple models of harp, strings, flute, fiddle, horns, organ and choir, plus synthesized drums and reverb. Melodies are generated from a fixed seed, so each piece is recognisable but varies on every loop. The six Bard songs each have their own phrase, played in the key of the music already playing.
Nothing plays until you press Play. These are live synthesizer renderings of original melodies, not studio recordings.
Registry: 30 Wizardry pieces, 25 Bard’s Tale pieces, 6 Bard song phrases. No commercial game music was copied.
Human-directed AI collaboration
Lovable, an AI software agent, wrote and changed the code in response to Eric’s plain-language briefs. It also generated artwork, ran automated tests and browser checks, and committed each change to Git: more than 380 commits since August 2026. Briefs often asked for more than one pass could deliver, so each reply listed what was done, what was checked and what was left. Those lists shaped the next brief.
Eric used ChatGPT to help draft the long design briefs, like the one that produced this page. The games do not call ChatGPT or any language model while you play. All in-game AI is rule-based TypeScript.
Real fixes from the project history
Problem. Wizardry doors and stairs looked open but movement rules disagreed, stranding parties.
Solution. Navigation became the single owner of doors and reciprocal stairs, with a breadth-first search validator across all ten floors that renderers and minimaps read.
Result. Level 1 to Level 2 descent and return verified with on-screen controls; old saves relocate safely.
Problem. Humanoid monsters reused one faceless model; textured standees blurred under adaptive resolution.
Solution. Battles stopped building 3D creatures and show native HTML portraits outside the WebGL canvas.
Result. Sharp, framed portraits at phone and desktop sizes; 3D models kept only for the optional bestiary.
Problem. The Training Grounds had no level-up action; levels only applied silently at the Inn.
Solution. One React-free progression module now serves training, inn and camp.
Result. One-tap multi-level training verified in a phone-sized browser; thresholds can no longer diverge.
Problem. The Bard’s Tale world used 37% of a portrait phone and the page scrolled 354 px.
Solution. A fixed fullscreen shell with floating docks and pinned battle buttons.
Result. 82–92% of the screen across 11 tested sizes with no scrolling.
Where every asset came from
| Asset | Count | Source | License |
|---|---|---|---|
| Monster & adventurer portraits (Wizardry) | 66 monsters · 80 adventurers | Generated with Lovable’s image tool from written descriptions | Generated for this site; usage rights follow the generating service’s terms |
| Creature portraits & interiors (Bard’s Tale) | 80 creatures · 6 interiors | Generated with Lovable’s image tool | As above |
| 3D models (village, knight, enemies) | 20 GLB files | Quaternius packs | CC0 |
| PBR stone, cobblestone and wood textures | Original 1K plus 24 2K/4K variants | Poly Haven | CC0 |
| Museum screenshots | Per game: gameplay, detail, phone, title | Captured from this site by scripts/capture-games.py | Original |
| Museum illustrations (promo, retro, hardware, era, memory) | ≈60 | Generated; labeled as illustrations, never as historical photos | Generated for this site |
| RPG soundtrack (55 pieces + 6 Bard phrases) | 0 audio files | Original melodies synthesized live in the browser | Original |
| Original 1978–1985 game artwork or music | None | — | Not included |
Commercial-use terms for generated images depend on the generating service’s terms and have not been independently reviewed.
Proposed, not built