Play T.D.F. Thunder Gate: A Game Built From a Novel

By Zachariah Stratford

We gave an AI the opening chapters of a client's fantasy novel and asked it to build a game you can play. This is the result: a short first-person fight through Thunder Castle, from the novel T.D.F. Book I: The Seven Kingdoms by Quintin Hawkins. Play it first. Below it you will find every power you have, how it was built, and what went wrong.

1. Play it 2. The powers 3. How it was built 4. The skills behind it 5. What went wrong

Play T.D.F. Thunder Gate (5 to 8 minutes)

You are T-Bolt, bonded to the Thunderstone. Cross the broken drawbridge, clear the Hord3 from the courtyard, climb the gatehouse stair, and face Upega, General of the Hord3, in the Great Hall while Hiroku watches from his throne of skulls. Press play, then use Full screen for the best view (on a phone, it opens in its own tab). Turn your sound on: it has a rock soundtrack and spoken lines.

Open in its own tab
Do thisKeyboard and mouseControllerPhone or tablet
Move and lookW A S D and the mouseSticksLeft stick, drag the right half
Pick a power, then use it1 to 5 or the mouse wheel, then left clickBumpers, right triggerTap the hotbar, then FIRE
Jump, sprint, useSpace, Shift, EA, click the left stick, D-pad upJUMP, push the stick, USE
Mute, pauseM, P or EscStartSpeaker button

If your browser will not capture the mouse, the game switches to a free-mouse mode on its own: move the mouse to look and rest it at a screen edge to keep turning.

Your powers

You start with 100 Thunder, the energy that powers everything but your fists, and it refills when you stop using it. The power you have picked is highlighted on the hotbar at the bottom right, with its key, its name and its cooldown.

KeyPowerWhat it does
1Thunder FistYour melee punch. It costs no Thunder, so it is what you fall back on when you are empty.
2Lightning BoltHold or tap. The bolt chains from one enemy to the next and drains Thunder while it runs. Right click or C fires it at any time, whatever power is picked.
3Storm OrbA slow ball of lightning that bursts over an area when it hits an enemy or a wall. Costs 30 Thunder. Best against a group.
4 or QThunder DashA quick burst of speed to cross the gap, dodge a fireball or get out of a crowd.
5 or RThunderclapA shockwave that staggers everything near you, Upega included. Use it when you are surrounded.
FCall the StormOnce your charge is full, the sky answers for 6 seconds and drops lightning where you look.

What to expect from Upega

  • Phase 1. Fireballs and a flame punch. A ring on the floor marks how far his punch reaches.
  • Phase 2, at 66 percent health. He calls two hellhounds and sends a wave of flame down the hall. Jump it or dash through it.
  • Phase 3, at 33 percent health. His fire armor burns anyone who stands close, and marked meteors fall. Thunderclap staggers him.

There are two Health Draughts by the hall door, and one hidden behind a tapestry on the gatehouse stair. It saves your progress at the start, after the courtyard and at the hall door.

How it was built

The whole game is code, plus a small amount of AI art and sound. Here is the path, in order.

  1. Start from the characters the author already approved. Quintin's characters (T-Bolt, Hiroku, Upega, the Hord3 soldier and the hellhound) already had approved character sheets. We kept those designs exactly. We did not invent a single new look.
  2. Build the castle in code. The level is a real 3D space made with three.js: cliff, broken drawbridge, courtyard, gatehouse stair and the Great Hall, lit with moving fire, candles, rain and lightning. The only AI-made images in the world are 17 flat textures for stone, wood, metal, cloth and bone. Everything else, the sky, fire, lightning, decals and the 3D models, is drawn by code.
  3. Turn the approved sheets into characters that move. We asked an image model for pose sheets of each character, using the approved sheet as the reference picture, then cut each painted figure into parts: head, torso, arms, legs, robe. Code moves the parts like a cut-out puppet, so a walk plants its feet, a punch winds up and snaps, and a defeated enemy comes apart and falls. That is 11 pictures in all, with one retry.
  4. Add the sound. The soundtrack is seven rock tracks made in Suno: title, courtyard, combat, Upega, Hiroku, victory and defeat. They crossfade as the fight changes, and the music drops under every spoken line.
  5. Act the voices. Four speakers, with acting directions written for every line: where to whisper, where to scream, where to pause. There are 35 single lines for powers, hurts and taunts, plus 30 lines of conversation, so T-Bolt talks to the soldiers and Upega talks back. Twelve scenes play once each.
  6. Measure the mix. We recorded the game's own sound and measured it. The fight mix sits at about -14 LUFS with the loudest peak under -1.7 dBFS, and every file was levelled to match.
  7. Play it with a bot, every time. A bot plays the whole level from cliff to victory, and other tests check foot sliding, gaps at the joints, all 12 conversations, loudness and the frame rate.
  8. Score it against another game. We scored it out of 120 beside a polished browser shooter that we used as a yardstick. Version 10 scores 84 against its 89, and we say below why we are not higher.

What it cost. 28 pictures and 268 image credits, in total. No AI video model was used. Everything that moves, the walking, the fighting, the falling apart, the lightning and the camera, was made in code at no extra cost.

PartMade withCost
World textures (17)AI image model, then normal, roughness and AO maps made by code136 credits
Character pose sheets (11)AI image model, each using its approved sheet as the reference132 credits
3D models, sky, fire, lightningCodeNone
Walking, fighting, falling apartCode, on a cut-out puppetNone
MusicSeven Suno tracksSuno plan
VoicesAI voice acting, written directions per lineVoice credits

The skills behind it

Besides the game's own powers, we built it with a set of Claude skills: written rules that a Claude session loads before it starts a kind of job. These are the ones we loaded for this project.

1. The character sheets and the trailer kit

The approved character sheets, and the image tool that made the textures, came from the same kit we use for book trailers. You can read about it in Make a Cinematic Book Trailer With AI.

2. motion-reel: plan the picture before building it

A skill that makes a launch reel in code: it writes a style guide, shows a storyboard for one approval, then builds the film with springs and set timing.

3. The sound system

Standing rules for the sound of everything we make: high energy, real recorded sounds, sparse. For the game we measured the real output, not just the files, and set the levels from the meter.

4. The video system and the design system

Two more rulebooks: one for how our videos are edited, with type, glass and motion moves, and one design system so every screen, video and page looks and sounds the same.

5. Artifact design and capabilities

The skill that tells a Claude session how to publish a page you can open from a link, with the right size limits, so the first playable version could be shared the moment it worked.

What went wrong, said plainly

  • The first walk and fight looked bad. We scored the movement from still pictures and called it good. The first time a person watched it, they said the movement still looked bad. We rebuilt it as a cut-out puppet and re-scored the animation honestly: 7 out of 10, not 8.
  • You could not hear it. Our voice files were anywhere from -37 to -12 LUFS, so some lines were loud and some were almost silent, and the music was too quiet beside them. We levelled every file, added a limiter, and measured the result.
  • A comment swallowed a line of code, twice. Once it left enemy fireballs doing no damage. Once it kept the pause after a voice line from ever ending. The tests caught both before anyone played those versions.
  • The first gate scene almost never played. A 13-second opening line could still be running when you reached the guards, and the scene was dropped. Now the guards wait for the scene, and a test proves all 12 conversations play in full.
  • Some edges are still rough. The hound's legs are stiff and it has no jaw. Upega's shoulder plate swings with his arm like one slab. The legionnaire's sword tip stays painted on his leg, because the painting has no leg behind the blade. Fixing it cleanly needs new layered artwork.
  • One voice is a stand-in. The Hord3 soldier is spoken by a stand-in voice until we cast a better one.
  • Not every conversation will fire in a fast fight. The bot proves all 12 in a slowed fight. If you rush the courtyard, some soldier talk may not get its turn.
  • Nobody on the team has played the whole thing by ear. The sound, the music and the voice scores are for what was built and measured. Your ears may move them up or down.

From a novel to a game

T.D.F. Book I: The Seven Kingdoms is Quintin Hawkins' novel. We made this game from its opening chapters and his own character designs. The same method, from your own manuscript to something people can watch or play, is what we do with every client's book. If you want to see your own book come to life, read how the book trailer kit works.

Bring your own book to life

Paste a trailer you love, pick your book, and approve the storyboard. Your characters, your words, your film.

Open the trailer page