A retro phone/answering machine game engine for creating your own games!
- Start server:
npm run server - Open browser:
http://localhost:4242 - Press
#in-game to switch games
-
Operator Menu (Dial 0)
- Auto-generated directory from keywords
- Discovered numbers list
- Duck quack easter egg
-
*69 Last Call Return
- Trace mysterious incoming calls
-
Game Switching (Press #)
- Multiple games
- Persistent save states
-
Audio Synthesis
- DTMF tones (Web Audio API)
- No external audio files needed
- Synthesized duck quack
npm test
Add a new game in data/:
export const GAME_DATA = {
config: {
title: 'Your Mystery Title',
description: 'Opening text that hooks the player',
startingNumbers: ['5551234'],
victoryMessage: 'Case closed!'
},
phoneDirectory: {
5551234: {
name: 'Contact Name',
keywords: ['detective', 'police', 'help'],
transcript: 'What they say when you call',
unlocksNumbers: ['5559999'], // Next clue
solvesMystery: false // true for final call
}
}
}Then add to data/game-registry.js:
{
id: 'your-mystery',
title: 'Your Mystery Title',
description: 'Short description',
difficulty: 'Medium'
}