Documentation

Everything you need to create games with AI

Getting Started

1

Install the Runtime

Download the latest release from GitHub Releases. Extract to any directory. The runtime is 19 MB and requires no additional dependencies.

2

Choose Your AI Platform

Open ChatGPT, Claude, Gemini, or any AI assistant. All major platforms support .raku file generation through the documented schema.

3

Describe Your Game

Example prompt: "Create a space shooter with adaptive difficulty, enemy waves that scale based on my performance, and voice commands for special abilities."

Supported AI Platforms

ChatGPT (OpenAI)

GPT-4 and GPT-4o fully support .raku file generation. Use the GPT Store listing for optimized prompts and validation.

Claude (Anthropic)

Claude 3 Opus and Sonnet models generate syntactically correct .raku files. Supports MCP server integration for enhanced tooling.

Gemini (Google)

Gemini Pro and Ultra support .raku schema. Best for iterative game design with multi-turn conversations.

GitHub Copilot

VS Code and Visual Studio extensions provide .raku file completion and validation. Optimized for game mod workflows.

Example .raku File

This is what AI generates when you describe a game. All fields are documented in the schema.

{
"schema_version": "1.0",
"game": {
"title": "Space Defender",
"genre": "shooter",
"template": "space-shooter"
},
"ai": {
"dda_enabled": true,
"target_flow_state": 0.7,
"profiler_mode": "adaptive",
"emotional_tracking": true
},
"entities": [
{ "type": "player_ship", "health": 100 },
{ "type": "enemy_wave", "count": 10 }
]
}

API Reference

2,718 C API functions across 16 subsystems. Full documentation available on GitHub.

Core API

Memory management, threading, signals, IO, logging. Foundation for all other subsystems.

View Functions →

Scene & Rendering

Scene graph, PBR materials, post-processing, VRS, mesh manipulation.

View Functions →

AI & Personalization

Dynamic difficulty, player profiling, emotion detection, adaptive systems.

View Functions →

XR & Input

OpenXR integration, hand/eye tracking, spatial anchors, controller haptics.

View Functions →