How Do You Test Code That's Different Every Time? I Added RAG to My Game and Had to Find Out
My game's in-chat help used to be a vending machine. The assistant had a gameHelp tool with seven hand-curated topics — gaze, breeding, gadgets, a few others — and if a player asked about something I hadn't thought to write up, it had nothing. Every new mechanic meant another hand-authored answer, and the help was only ever as complete as my patience. I wanted to replace that fixed list with retrieval over the project's actual design docs — about two dozen markdown files covering brain mechanic