Engineering
How the Yumina engine works: the AI inside games, variables and rules, prompts and memory, multiplayer rooms, and the numbers we measured along the way.
- An AI NPC SDK with no AI bill: how sign-in, checked actions and save-file memory workHow an AI NPC SDK works with no key in the build. The player signs in and pays, the server checks each action, and memory follows the save file.Engineering · 6 min
- How a 280,000-token lorebook plays inside a 64,000-token context windowHow Yumina picks lorebook entries each turn in a world larger than the context window, with the defaults, the token budget, the drop order and an example.Engineering · 7 min
- How long do AI roleplay stories get? What 6,018 playthroughs on Yumina showHow long is an AI roleplay? In 6,018 Yumina stories the median was 8 turns, and 56% of all turns were played in stories longer than 64,000 tokens.Engineering · 5 min
- How Yumina builds a prompt: what the AI reads each turn, and what gets cut firstWhat Yumina sends the AI model each turn, in order, how the token budget is computed, and what gets cut first when the prompt is full. With an example.Engineering · 7 min
- AI RPG with stats: how Yumina tracks health, money and relationships without the story model cheatingAI RPGs lose track of stats because the story model also writes the numbers. Yumina's fix is a second decision model that answers one question per stat each turn.Engineering · 8 min
- Multiplayer AI games: how AI players sit at the same table as real peopleHow an AI plays Avalon on Yumina as a real player. What it hears, how it acts under the same rules as the humans, how its role stays secret, and who runs the model.Engineering · 9 min
- An AI Crazy Dave You Can Talk To in Plants vs. ZombiesHow an AI game works on Yumina, using Crazy Dave in PvZ Online: a language model wired into the original Plants vs. Zombies engine running as WebAssembly. One HTTP call per line, a lawn snapshot in, a validated JSON reply out, eight favors the game approves in advance, a tin whose contents are fixed before you buy, and a 64 KiB notebook.Engineering · 11 min
- How We Put AI Events and Characters Inside Slay the Spire 2How the SpireTalk mod runs the Yumina engine inside Slay the Spire 2 as a game mod with AI characters: each one gets three decisions per line, voices events and endings, and the game checks every reward.Engineering · 12 min
No posts match. See every post.