WorldRuler Enables Custom Rule‑Driven Interactive Worlds
Researchers introduce WorldRuler, a framework for building interactive worlds that follow user‑defined rules.
Source: Grafy Research LabWorldRuler, a new research prototype unveiled on arXiv on November 19 2026, demonstrates how generative world models can be steered by user‑defined rules rather than only by physical realism. The work matters because it opens a path for creators to craft bespoke gameplay experiences without re‑engineering the entire simulation engine for each rule set.
What is WorldRuler?
WorldRuler is a framework that lets developers and designers define arbitrary rule sets that govern how actions modify an interactive virtual world. Unlike traditional game engines that embed fixed physics or predefined mechanics, WorldRuler separates the rule definition from the underlying world model, allowing the same scene and action space to support multiple, radically different gameplay experiences. The system was described by Mingliang Zhai, Chuanhao Li, Jiaming Tan, Zhen Li, Yuwei Wu, Yunde Jia, Zian Meng, Yuanyang Yin, and Kaipeng Zhang in a 15‑page paper with six figures.
Why configurable rules are important for creators?
Configurable rules give creators the freedom to experiment with novel mechanics—such as gravity that reverses on certain tiles, or resource‑exchange rules that evolve over time—without rebuilding the world from scratch. This flexibility reduces development overhead and encourages rapid prototyping of game concepts, educational simulations, and research environments where the focus is on rule interaction rather than visual fidelity alone.
How does WorldRuler achieve rule‑state persistence?
One of the two core challenges identified by the authors is Rule‑State Persistence. A world must remember not only the positions of objects but also the exact rule definitions, their dependencies, and any dynamic state they generate. WorldRuler addresses this by serializing the rule graph alongside the world state when a session is saved. Upon loading, the system reconstructs the rule graph before replaying world dynamics, ensuring that restored worlds continue to obey the same custom logic that was active when they were saved.
How does WorldRuler realize rules visually?
The second challenge, Rule‑to‑Visual Realization, concerns translating abstract rule effects into concrete visual updates. WorldRuler employs a two‑stage pipeline: first, the rule engine computes logical outcomes (e.g., a tile becomes impassable, an entity gains a new ability). Second, a visual mapper translates those outcomes into rendering commands that modify textures, shaders, or geometry in real time. This separation allows the visual layer to stay agnostic of the rule semantics while still reflecting rule‑driven changes accurately.
Practical implications for developers and researchers
For developers, WorldRuler suggests a workflow where rule design can be iterated independently of asset creation. Researchers can use the framework to test hypotheses about emergent behavior under custom constraints, collecting data on how rule complexity influences player strategies. The approach also hints at future tools that could let non‑programmers specify game mechanics through natural language or graphical rule editors, lowering the barrier to interactive content creation.
How to explore rule‑driven worlds with Grafy
Grafy’s Game Studio app lets users turn a brief description into a playable prototype. While Game Studio does not yet expose a full rule‑engine API, creators can experiment with WorldRuler‑style ideas by defining custom mechanics in the brief and observing how the generated game behaves. For deeper investigation, the Reader app can ingest the WorldRuler paper, enabling you to ask the model questions about implementation details, compare it with existing engines, and extract code snippets that could be adapted in Grafy Code. This hands‑on approach helps bridge the gap between the research prototype and practical production pipelines.
Source: https://arxiv.org/abs/2611.24869
Frequently asked questions
How does WorldRuler differ from traditional physics engines?
WorldRuler separates rule definition from the underlying simulation, allowing arbitrary, user‑specified logic to drive world changes, whereas physics engines enforce fixed physical laws.
Can the rule‑state persistence feature be used in existing game projects?
Yes, the concept of serializing both rule graphs and world state can be integrated into current engines, enabling saved games to retain custom rule configurations.
What tools does Grafy provide to experiment with rule‑based worlds?
Grafy’s Game Studio lets you prototype rule‑driven gameplay from a brief, and Reader lets you interrogate the WorldRuler paper for implementation ideas that can be applied in Code or other apps.
Source: Grafy Research Lab — WorldRuler: Interactive World Modeling under Configurable Rules


