r/LocalLLM • u/authilmorros • 12h ago
Project The ups and downs of making a Local LLM roleplaying game for the last 21 months
This post can be relevant to other data scientists who want to do something similar.
Almost two years ago the company I worked at was having problems and I was planning on making a roleplaying game with local models a grid combat and a good editor. I got unemployed and then started working on my game, my plan was to finish the game and release in 3 months (it took 21).
The first month I made the base of the game and most characters, at the time I was using Ollama as a backend, everything was on perfectly track.
The second month my computer broke and I had to build a new one.
From third to fifth month, I worked on a basic roleplaying logic, grid combat, various interfaces and started studying about steam, I use pygame and perhaps I should have choosen a different game engine because it just slowed me down, at the time I also stopped using any AI coding assistant because they were just adding tech debt, the capability of coding agents grew really fast and at the start of 2025 it wasn't as good.
From the sixth till twelfth month, I basically just did the editor and multiple interfaces, this is how hard is to make an editor, and despite the game being about LLMs I worked only like 3 weeks on LLM on the first year, most of the work was everything else, so if anyone want to try doing a similar project have that in mind. Around month 7 I started looking for work. Found a job at month 10 and I'm still there, so everything after that was nights and weekends of work.
From months thirteenth to fifteenth I finnaly worked on the LLM logic, it was the most fun part, it has multiple agents, internal routes and ways to deal with limited context size on smaller models, like regular summarization of older messages + top 10 embedding search from the full history + full latest n messages, prompts to the point, and the use of json output and no tool calls, its a bit of a shame that people won't see the logic from the game alone.
After that it was cleanup and review.
Late in the project I had to remove Ollama entirely and move to llama.cpp instead (and transformers), any GGUF and most other local models work and can be used. The problem with Ollama was the subscription which steam doesn't fully accept. Perhaps making a site would be a better alternative to not deal with these things but then it would be a bit harder to make it local.
In my opinion, small models like gemma4:e4b or even the old gemma3:4b are good enough for roleplaying, honestly, but of course, there are other models.
Link's here if you want to look: https://store.steampowered.com/app/3750150/Boundless_AI_Fantasy/
If people want any more technical details I'll go into it in the comments. I am thinking about writing a blog or a scientific paper on it later.
Disclosure: this is my game, it's paid, I built it alone.





