R.J. ThompsonSample work and experiments

Sample work and experiments

R.J. Thompson

Senior C++ / C# engineer. 30 years shipping real-time systems: game engines and tooling, low-level networking, and regulated medical-device software.

Tools, games and research I built. Most of it runs right here in the browser, with the documentation, source and data linked.

Main projectu2ue: port a Unity game to Unreal Engine 5A toolkit that converts a game's effects, scenes, UI and materials, checks each against Unity, and moves the game's rules into one model both engines run. Its whole manual is public.

01 · u2ue · main project

u2ue: Unity to Unreal

A toolkit that ports a Unity game to Unreal Engine 5 and proves it is still the same game. The toolkit's code is private; its whole manual is public, every chapter listed below.

BetaToolkit and its whole manual

u2ue: Unity to Unreal

Its own tools convert the effects, scenes, UI and materials of a Unity game and hold each result to Unity on numbers. An AI model ports the game's rules into an engine-free model by the toolkit's written skill, so both engines run the same rule code.

A reviewer then reads a UML model instead of the code line by line: every use case step names the command that proves it.

From u2ue's page, where each figure names the command that measured it on the reference port: a medium-sized turn-based tactics game moved from Unity to Unreal.

  • Unity
  • Unreal Engine 5
  • C#
  • UML
  • AI agents

Draft prototypeRuns in the browserBuilt on u2ue

Blueprint View

Unreal Blueprints and code as two views of one source. Play public Blueprints running on the code converted from them, fly a messy one as a 3D city, and read every class it becomes.

Four public Blueprints from blueprintue.com, from a 32-node Pong to a 1,009-node enemy AI. Built in under 24 hours on top of the u2ue toolkit; its source is public.

  • Unreal Blueprints
  • Code conversion
  • WebGPU
Have Claude install it

Paste this into a terminal, in the folder you want it in. It starts Claude Code with the build as its first task. Building needs Python with PyYAML, Node.js, a .NET 8 SDK and Unreal Engine 5 (it reads the engine's own headers), so Claude checks for those first and tells you what is missing.

claude "Set up Blueprint View from https://github.com/rj45Thompson/blueprint-view-source: clone it here, check what the Run it section of its README needs and tell me anything missing, then build and serve the Pong sample and give me the address to open."

No Claude Code yet? Set it up first, then paste the line.

02 · Tools for game development

Tools for game development

Requirements tools for building and checking large game code with AI agents, phones as game controllers, and an Unreal plugin that finds memory bugs.

PrototypeRuns in the browser

Closed loop fly-through

Requirements, use cases, code and tests drawn as one 3D graph. Fly through it, take the guided tour, or open the manual page for any part of it.

The closed loop tests the requirements an AI agent acts on, then holds them to the code and the tests it writes. Drawn with WebGPU, with a WebGL 2 fallback.

  • WebGPU
  • Requirements
  • Test coverage
  • AI agents
Have Claude install it

Paste this into a terminal, in the folder you want the kit in. It starts Claude Code with the install as its first task: clone the kit, install it by its README (Python 3.10 or newer and PyYAML), and show you the installer's own proof run.

claude "Install the closed-loop kit from https://github.com/rj45Thompson/closed-loop-kit: clone it here, follow the Install section of its README, then show me what its proof run passed and what it could not run."

No Claude Code yet? Set it up first, then paste the line.

BetaWeb games and Unreal

PhonePad

Phones as gamepads. Players scan a QR code and their phone's browser becomes a controller; the game sees an ordinary gamepad, so its input code does not change. Try it live with your phone.

A Cloudflare relay, a direct WebRTC link for web games, and an Unreal 5.7 input-device plugin. Checked end to end in a headless Unreal game with two scripted phones; the House of Cars lot drives with it.

  • Gamepad
  • WebRTC
  • Unreal plugin
  • Cloudflare Workers

Draft prototypeUnreal plugin

Memory Sentinel

Finds Unreal memory bugs before players do: UObject pointers the garbage collector cannot see, shared pointer cycles, objects that outlive their level, and heap writes stopped at the exact line by rotating CPU data breakpoints.

A static pass, a level leak test and a heap sampler in one plugin, with an editor tab, an in-game overlay and a visual report. Every bug it must find is planted in its test game beside a clean copy; try the explainers and the live report.

  • Unreal Engine 5
  • C++
  • Memory debugging
  • Python

03 · Games

Games

Playable in the browser, nothing to install.

PlayableOpens its own site

Star Fighter

A 3D space game where AI pilots fly, trade, fight and talk, over a knowledge store you can watch reason.

The game shows its controls before you fly; type help in its terminal for the rest.

  • WebGL
  • Game AI
  • 3D

PlayableRuns in the browser

Duet Night

A co-op singing game for two: take turns or sing together on original songs, with notes scrolling toward you, a backing band, a team combo and a star rating.

One microphone works, and two (one each) give separate scores and Sync bonuses. Every note is judged for pitch, a full hype bar starts Harmony time for double points, and Watch a demo shows a whole song with no microphone. Headphones keep the band out of the mic.

  • Co-op
  • Microphone
  • Runs in the browser

PlayableRuns in the browser

House of Cars 3D lot

A 3D lot concept for an Edmonton car dealer: walk the lot, read each car's real numbers, then race one down a quarter mile. The cars and the track come out of Unreal Engine, on its vehicle physics ported to WebGPU.

A clutch, an H-pattern gate, each car's own gauges and tyres that spin in the rain. An unofficial concept, not affiliated with House of Cars.

  • WebGPU
  • Unreal Engine port
  • three.js

PlayableRuns in the browser

Tidewall

Couch co-op castle defence for one to four players, phones as controllers.

Join with a phone by scanning the code on the join screen, or play on the keyboard or a gamepad. Its rules were ported from an Unreal Engine game and replayed against it tick for tick.

  • WebGPU
  • Unreal Engine port
  • Couch co-op

PlayableRuns in the browser

Shatterbelt

A 3D belt shooter, built as my answer to an interview question: design the classes and the main loop.

Every hit splits a rock one size down, hunters aim better as your score climbs, and a game replays exactly from its seed and its inputs. The page shows the class diagram, read from the code, and the tests that hold it.

  • three.js
  • Game architecture
  • Tested in Node

PlayableRuns in the browser

Résumé Breakout

My CV is printed at you a line at a time, and every letter of it breaks. Cut a line to read that job.

Keyboard and mouse, or touch. The PDF résumé is one click away when a round ends.

  • three.js
  • WebGL
  • Touch controls

PlayablePart of Blueprint View

Blueprint games

Pong and an asteroid shooter from public Unreal Blueprints, running in the browser on the code converted from them. Every node lights as it fires.

In Pong, take a paddle with W and S or the arrow keys. Next in line: Shatterbelt, my answer to an interview’s asteroid question, with its rules in JavaScript and again in C++; its Blueprint version is not built yet.

  • Unreal Blueprints
  • Live code view

04 · AI research

AI research

Making AI answers checkable: an engine that shows its evidence and refuses when it runs out, and public data for testing models.

BetaRuns in the browser

Knowledge engine

A knowledge engine with no neural weights over 66.4 million facts, running in your browser. Every answer carries a measured confidence and the sources behind it, and it refuses when the evidence runs out.

Its confidence curve was checked on held-out facts: 0.20 percentage points calibration error. It is being rebuilt with real entity identity; this build runs on the previous version of this site.

  • Knowledge graph
  • Calibration
  • JavaScript
59of 122 options are marked "cannot be established" rather than given a label that reads well

PrototypeGenerated, gated, runs in the browser

Snipershot requirements ladder

Every decision inside a hard problem laid out as alternatives in cost order, each with what it costs, whether it has ever worked, and the file and line it was read from.

It walks down to narrow candidates and up to the goal a problem serves, where the other ways of reaching it are. Where the record cannot establish a verdict the rung is marked, and the count is on the page. A gate refuses to publish if a source does not resolve, a figure is typed into the page, or the data differs from a fresh build.

  • Requirements
  • Knowledge graph
  • No-toys gate
99.4%right on 900 questions about its training text; the same model alone, 20.6%

PrototypeRuns in the browser

PriorGPT

Karpathy's nanoGPT, plus a node graph of its own training text that checks every answer and cites the lines it rests on.

750 of 750 right where the answer is in that text; its 5 misses, all lines it should have called absent, are listed on the page. Runs on its own Blueprint graphs.

  • Language model
  • Knowledge graph
  • Blueprint debugger
100adversarial problems

Dataset and preprint

BossBench

A benchmark that joins real entities by invented relations, so a model cannot pass it by being well read. Released CC0.

The preprint includes its own correction: the first headline figures were withdrawn and re-measured on four orders of magnitude more evidence.

  • Evaluation
  • Hallucination
  • CC0
8,124conversations

Dataset

WarShip

Conversations kept with their full reasoning traces: what was tried, what was rejected, and why, not only the final answer. Released under Apache-2.0.

  • Reasoning traces
  • Apache-2.0

05 · Other tools

Other tools

Two applied tools outside games.

Web appRuns in the browser

Casement Sheet

Measure a casement window by tape, photo or voice, and the diagnostic sheet fills in the rest from the offsets printed on it.

Taped, photo-read and calculated figures stay apart on screen and in the PDF. Exports PDF, CSV and DXF. Works without a key; corner finding, dictation and the chat box use your own Anthropic key.

  • Web app
  • 3D view
  • PDF and DXF

PrototypePython, Interactive Brokers

Options Trader Bot

A same-day SPY options bot for Interactive Brokers, rebuilt from a pasted script. Safe by default: no orders until a stop and a target are set, and paper trading unless told otherwise.

84 tests caught all 30 bugs planted to test them, and a check against its written spec found 3 faults, all fixed. Replay a real week of SPY minute bars and watch each signal and fill as the bot printed it.

  • Python
  • Interactive Brokers
  • Testing

06 · Documentation

Documentation

Every manual, deck and guide on this site, by project, each with what it is. The u2ue manual is also listed chapter by chapter under u2ue.

u2ue

The porting toolkit's own page: what it measured, then the whole manual.

Blueprint View

Unreal Blueprints and code as two views of one source; built on u2ue.

Closed loop

Requirements first, tested by AI, so nothing is a guess.

One page per concept

AI research

The knowledge engine's written record, and the public papers and data.

07 · Code and data

Code and data

The public repositories, datasets and paper behind the projects above.

08 · Contact

Contact

R.J. Thompson, senior C++ / C# engineer.