This is my first Thaura Work/OpenCode assisted video game. The theme is running north to freedom, ala the Underground Railroad. This is a work in progress, so don’t take anything in it that seriously.
You can play the game here: https://riceball.com/wp-content/plugins/north-to-freedom-JxCvnl/
I did a version of this on Websim a while back, and decided to make a similar game using Work. It was a lot smoother than websim (using GPT Lite or something like that). Websim does a better job keeping things organized, and making graphics and sprites and 3d. Qwen3.6 just felt smoother to me, but this may be my programmerly bias.
Files
Here are two files. The first is a wordpress plugin version, which doesn’t do anything except allow the game site to be uploaded. If you don’t use WordPress, you can download this and unzip it, and upload it to a server.
This is enough documentation and context to play with the code:
The game is raw. It’s not historically accurate, and has anachronisms. There’s infrastructure for interstitials, but the content it wrote is partly good, partly off.
That said, I’ve played it many hours, to test, and it’s fun, in a “casual gaming” way.
WP Plugin
The WP Plugin installed from the ZIP file, but WordPress mangled the path for security purposes. So you need to get into the file system to extract the actual path. (I’m sure there’s a few lines of code that would fix it, but I haven’t written it.)
I’m not sure what the copyright situation is with Qwen generated code, or any LLM code for that matter. Consider it non-public domain, so you cannot make money from it. If there’s a lot of code that looks plagiarized, contact me on Bsky or IG, and I’ll take it down, as per the DMCA.
Coding
This is easily the least “hands on” code I’ve had it produce. I avoided guiding it a long time, and eventually started to suggest OOP and modularization. The refactoring helped reduce the number of code editing errors.
I also learned to ask the LLM about what it thought about architectural changes I considered. It came back at me with feedback, sometimes negative.
Time
The only major problem was handling time, and implementing a clock. Initially, it did calculations based on an internal ticker, but this caused numerous logic errors.
The fix was to create a time module to translate between physical time and game time. The game day is 8 minutes long. So from the start time, you can calculate a game time. Actual time or clock ticks were encapsulated. All the day and night logic, and other timing logic, can use this virtual clock rather than actual ticks.
So you can say, at 9PM it’s completely dark, until 5AM the next day.
When it’s dark, you can see only the lights from the safehouses. It’s beautiful when you zoom out and can see the entire playfield.

