Build something cool with AI in 10 minutes. One file. Under $0.05. Worth screenshotting.
Build a terminal RPG with AI-powered storytelling. The AI creates dramatic narrative, tracks your HP and gold, and responds to any action you take. Fight dragons, loot treasure, die gloriously.
pip install requests && python ai-dungeon-master.py
Generate 20 unique NPCs with backstories, dialogue quirks, and relationship webs. Output a JSON file you can import into any engine. Each NPC remembers the others.
Generate an entire world's history — factions, wars, legends, and artifacts. The AI builds internally consistent lore that references its own past events. Export as markdown or JSON.
Feed it a scenario ("guard at the castle gate, suspicious of strangers") and it generates a full branching dialogue tree with 4+ paths. Export as Ink, Yarn, or JSON.
Need an API key to play?
Get Free Key ($5 credit, no card)From the blog: Why game devs make the best security engineers
The same skills you use in these challenges power defense simulation and AI security.
Open a PR with your single-file challenge. Community challenges that get merged earn you $10 in credits.
View on GitHub