Skip to content

MindGame

NPCs in games are props.

Core trick

Gives each NPC persistent memory and evolving state so it responds to the player's past actions across sessions.

Tags

Description

NPCs in games are props. They have scripted lines, fixed routines, and no memory of you. You can save a village, come back a year later, and the blacksmith still greets you like a stranger. The world doesn't move— it waits. No matter how many hours you play, the characters around you are hollow: they don't grow, they don't grieve, and they don't remember.
BravinR/MindGame-UI★ 00 forksTypeScriptCreated Feb 28, 2026 · last push Mar 1, 2026

README excerpt

<div align="center">
<img width="1200" height="475" alt="GHBanner" src="https://github.com/user-attachments/assets/0aa67016-6eaf-458a-adb2-6e31a0763ed6" />
</div>

# Run and deploy your AI Studio app

This contains everything you need to run your app locally.

View your app in AI Studio: https://ai.studio/apps/f786f717-ec81-4b4b-8054-25add5da7c14

## Run Locally

**Prerequisites:**  Node.js


1. Install dependencies:
   `npm install`
2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key
3. Run the app:
   `npm run dev`

Team