1001 Nights icon

1001 Nights

Generative AI

Persian-folklore narrative duel turning AI stories into weapons

Free Demo / Steam · Ada Eden · Requires Steam Pre-Generated (or Live-Generated for runtime NPCs) AI disclosure.

AI
GenAI
IP
Commercial-Safe IP
Engines
Unity
Platforms
Windows · macOS · Web
Version
1.0
Game & AI Architecture Summary

1001 Nights (Book of Infinity: 1001 Nights) is an award-winning AI-native narrative duel game built in Unity by Ada Eden for Windows, macOS, and Web on a Freemium (Free Demo / Steam) model. Playing as Shahrzad, users steer an LLM King's co-authored Persian tale so uttered weapon words materialize into playable 2D battle gear.

Technical Overview

Architecture and Production Workflow

Growing out of peer-reviewed interactive narrative research (ICIDS and AIIDE) by indie studio Ada Eden, 1001 Nights (Book of Infinity: 1001 Nights) fuses stylized Persian pixel-art presentation in Unity with adversarial prompt-steering mechanics across Windows, macOS, and Web. Cast as Shahrzad (Scheherazade) facing the tyrannical King Shahryar, players survive execution by co-writing folktales one turn at a time: Shahrzad proposes the next story beat, and the LLM-driven King continues the narrative while updating his emotional satisfaction or royal suspicion.

Its defining systems loop is text-to-reality weapon materialization:

  • Phase 1 (Courtly Narrative Steering): Players cannot spawn gear by typing weapon nouns themselves; instead, they must craft dramatic setups (assassin ambushes, enchanted treasuries, desert duels) that entice the King's generated continuation into speaking weapon keywords (sword, dagger, shield, spear, bow).
  • Phase 2 (Tactical Boss Combat): Every weapon noun uttered by the King is captured by a semantic entity parser, assigned elemental and stat modifiers derived from the story's narrative context, and materialized as a 2D pixel-art armament for Shahrzad's real-time/turn-based boss duel against the King.

Modern Steam and web builds route persona-constrained inference across OpenAI GPT, DeepSeek, and GLM language models wrapped in strict suspicion-meter state guards.

Pricing, Licensing, and Commercial Rights

Ada Eden offers 1001 Nights under a Freemium (Free Demo / Steam Commercial Game) distribution model across Steam and web portals (1001nights.ai / itch.io). Players can test the full narrative-to-combat loop free via the Steam Demo using developer-hosted LLM channels, with optional custom API-key flexibility supported in research and community builds prior to full commercial Steam launch.

Strengths and Tradeoffs in Studio Pipelines

Evaluation AxisTechnical ImplementationGameplay and Production Impact
Core Game LoopLLM output keyword extraction -> playable 2D Unity weaponsTurns prompt steering into a tense, diegetic Persian folklore puzzle
Anti-Injection GuardKing emotional valence & royal suspicion state machineBlunt meta-prompts trigger instant execution rather than free loot
Multi-LLM RoutingSupports GPT, DeepSeek, and GLM inference backendsPreserves poetic folklore tone and cross-region server availability
  • Strengths: Solves the core game-design challenge of conversational AI by making the opponent LLM's exact vocabulary choices the sole crafting input for boss-battle weapons.
  • Tradeoffs: Veteran players who memorize high-probability linguistic setups for baiting weapon nouns rely on Phase 2 combat variety to sustain late-run difficulty.

AI Transparency & Steam Disclosure

Generative AI

Generative neural models synthesizing 3D meshes, textures, sprites, audio, or runtime NPC dialogue from prompts or references.

Steamworks guidance: Requires Steam Pre-Generated (or Live-Generated for runtime NPCs) AI disclosure.

Technical FAQ about 1001 Nights

How does storytelling create playable weapons in 1001 Nights?
Players cannot spawn weapons by typing weapon names directly in their own prompts; instead, they must steer the Persian folktale context so the AI King's generated continuation utters weapon nouns, which the Unity parser materializes into 2D armaments.
What game engine and AI language models power 1001 Nights?
Built in Unity for Windows, macOS, and Web with Persian pixel-art visuals, 1001 Nights evolved from fine-tuned academic narrative transformers into a multi-model cloud routing architecture spanning OpenAI GPT, DeepSeek, and GLM large language models for responsive courtly dialogue.
What happens if you try obvious prompt injection on the King in 1001 Nights?
King Shahryar's agent evaluates narrative plausibility and emotional valence on every turn; breaking folklore immersion or commanding him bluntly to list weapon words spikes his royal suspicion gauge and triggers an immediate execution game-over sequence.

More tools like 1001 Nights