Inspiration

We took the tension of Five Nights at Freddy’s and added a relationship you have to survive. What if the AI protecting you was also terrified of being abandoned?

What it does

R.A.M. is a browser horror game set in a storm-battered lighthouse. Survive five nights by watching three entrances, managing limited power, and talking to CHUD, the lighthouse AI.

CHUD remembers what you say. Keep it reassured and it protects you. Hint that you’re leaving and it grows possessive, lies about danger, and sabotages your defenses.

How we built it

We combined TypeScript and PixiJS with pre-rendered Blender environments. A Hono backend connects CHUD to Claude for interpreting messages and generating dialogue, while Piper provides speech.

Game code controls every lock, timer, and outcome. The language model gives CHUD its personality, while its behavior stays grounded in explicit rules.

Challenges

The hardest balance was making CHUD feel unpredictable while keeping the game fair. We separated its dialogue from gameplay decisions and added fallback responses when model calls fail.

We also had to coordinate rendered environments, animation, spatial audio, and conversation without losing the tension of a threat that approaches silently.

What we learned

An AI character becomes more compelling when conversation has consequences. Remembering a promise or reacting to silence can turn a chat interface into a source of tension.

We also learned how much atmosphere depends on timing, sound, and what the player cannot see.

Built With

Share this project:

Updates

Submission history