Dataset Viewer
Auto-converted to Parquet Duplicate
game_id
stringlengths
5
33
task_size
stringclasses
2 values
title
stringlengths
7
71
gdd
stringlengths
21k
192k
gdd_tokens
int64
5.24k
51.4k
rule_count
int64
2
162
invariant_count
int64
4
81
scenario_count
int64
7
42
source_requirement_count
int64
6
231
contract_json
stringlengths
35k
496k
beat_bistro
small
Falling Symbol Match — Game Design Document
# Falling Symbol Match — Game Design Document ## 1. Overview Falling Symbol Match is a four-key symbol game. Twenty cards descend through four fixed lanes toward one horizontal line. Each card shows one abstract symbol, and each lane has one permanent key: D, F, J, or K. Press that lane's key while the card center is...
6,361
5
10
10
14
{"rules":[{"id":"I3","label":"wrong press","trigger":{"type":"Event","name":"LaneKeyDown"},"preconditions":[{"type":"StatePredicate","entity":"Phase","attribute":"phase","operator":"==","value":"Play"},{"type":"StatePredicate","entity":"Card","attribute":"state","operator":"==","value":{"kind":"opaque","description":"n...
bin_bit
small
Sort Left or Right — Game Design Document
# Sort Left or Right — Game Design Document ## Overview Sort Left or Right is a theme-neutral two-key classification game. One abstract icon is shown at screen center. The left and right zones display the two category rules. The player presses the matching direction before the icon's response timer expires. The icon ...
7,060
10
17
12
19
{"rules":[{"id":"C1","label":"Correct classification","preconditions":[{"type":"StatePredicate","entity":"Input","attribute":"selected_zone","operator":"==","value":{"kind":"ref","entity":"Icon","attribute":"correct_zone"}}],"trigger":{"type":"Event","name":"ClassifySelectedInput"},"effects":[{"type":"StateUpdate","ent...
blackout_dispatch
small
Allocate Two Tokens — Game Design Document
"# Allocate Two Tokens — Game Design Document\n\n## 1. Overview\n\nAllocate Two Tokens is a theme-(...TRUNCATED)
7,822
26
35
11
48
"{\"rules\":[{\"id\":\"S1\",\"label\":\"Start session\",\"preconditions\":[{\"type\":\"StatePredicat(...TRUNCATED)
blink_count
small
Count the Flashes — Game Design Document
"# Count the Flashes — Game Design Document\n\n## Game Overview\n\n- **Genre:** Single-screen temp(...TRUNCATED)
11,044
10
32
11
33
"{\"rules\":[{\"id\":\"ROUND-END-R1\",\"label\":\"Advance to the next round after feedback\",\"preco(...TRUNCATED)
bloom_or_weed
small
Click or Ignore — Game Design Document
"# Click or Ignore — Game Design Document\n\n## High Concept\n\nA 45-second, single-icon reaction-(...TRUNCATED)
11,183
10
16
16
15
"{\"rules\":[{\"id\":\"R1\",\"label\":\"Correct flower click\",\"preconditions\":[{\"type\":\"StateP(...TRUNCATED)
centerline
small
Press at Center — Game Design Document
"# Press at Center — Game Design Document\n\n## High Concept\n\nA single marker sweeps left and ri(...TRUNCATED)
13,202
13
18
10
20
"{\"rules\":[{\"id\":\"RT-PRESS-1\",\"label\":\"RT-PRESS-1\",\"preconditions\":[{\"type\":\"StatePre(...TRUNCATED)
chalk_escape
small
Draw Through the Maze — Game Design Document
"# Draw Through the Maze — Game Design Document\n\n## 1. Overview\n\nDraw Through the Maze is a th(...TRUNCATED)
10,167
31
60
11
41
"{\"rules\":[{\"id\":\"S1\",\"label\":\"Start session from title\",\"preconditions\":[{\"type\":\"St(...TRUNCATED)
chord_snap
small
Press Two Keys Together — Game Design Document
"# Press Two Keys Together — Game Design Document\n\n## Game Overview\n\n`Chord Snap` is a desktop(...TRUNCATED)
18,779
29
34
20
77
"{\"rules\":[{\"id\":\"SS1\",\"label\":\"Start a new session\",\"preconditions\":[{\"type\":\"StateP(...TRUNCATED)
clue_lock
small
Deduce Three Symbols — Game Design Document
"# Deduce Three Symbols — Game Design Document\n\n## Game Overview\n\n| Item | Decision |\n|---|--(...TRUNCATED)
19,990
21
30
15
41
"{\"rules\":[{\"id\":\"SES-01\",\"label\":\"SES-01\",\"preconditions\":[{\"type\":\"StatePredicate\"(...TRUNCATED)
color_flood
small
Color Flood — Game Design Document
"# Color Flood — Game Design Document\n\n## Product Overview\n\n- **Genre:** Connected-region expa(...TRUNCATED)
18,853
19
40
11
61
"{\"rules\":[{\"id\":\"L1\",\"label\":\"PlayStation gamepad legend\",\"preconditions\":[{\"type\":\"(...TRUNCATED)
End of preview. Expand in Data Studio
A2Z GameSpec-Bench

A2Z GameSpec-Bench

A2Z GameSpec-Bench contains 100 long-form Game Design Documents (GDDs) for evaluating how faithfully coding agents implement game specifications. Each task pairs a GDD with a Dependency-Aware Contract and canonical scenarios. The benchmark combines source-code inspection, scenario-based replay, and adaptive playtesting with agent-generated Test Policies.

Paper · Project page · Code repository

A2Z GameSpec-Bench introduction

Dataset

There are 50 Small tasks and 50 Big tasks. Small tasks focus on compact game designs; Big tasks specify more extensive, interacting systems. Both are evaluation tasks. The default configuration contains all 100 examples in the test split; the small and big configurations each contain 50 examples. Task size reflects the scope of the game design.

This repository provides the benchmark GDDs, contracts, and canonical scenarios.

Small Big
Games 50 50
Rules 869 1,860
Invariants 1,378 1,862
Canonical scenarios 646 1,385
data/                         Small and Big Parquet tables
gdds/{small,big}/              Original GDD Markdown files
contracts/{small,big}/<game>/  One contract and scenario set per task
library/{small,big}/<game>/    PNG art assets for the games
metadata/                     File hashes and counts calculated from this release

Each contract directory contains:

  • rules.json: causal rules with preconditions, a trigger, effects, and GDD provenance. Dependency relations can be derived from matching state/event fields.
  • invariants.json: scoped constraints and explicit initialization requirements. Initialization requirements include their applicable event and scope.
  • scenarios.json: canonical runtime situations, setup descriptions, and observations to check. exposes lists the behaviors covered by each scenario.
  • rules.vocab.json: entity, attribute, and event names used by the contract, including trigger events.
  • requirements.json: source requirement entries and their corresponding graph-rule IDs.
  • state_sources.json: source passages describing state variables and explicitly identified initialization cases.

Source references contain a repository-relative file, 1-based inclusive line_start/line_end, and the exact original text in quote. Abbreviated or combined scenario descriptions, where retained, are called source_summary; the accompanying source references contain the verbatim GDD passages. Structured values may contain an opaque description or expression when the requirement is naturally expressed in text. These descriptions preserve requirements that need semantic interpretation.

Usage

import json
from datasets import load_dataset

# All 100 tasks
dataset = load_dataset("KRAFTON/A2Z-GameSpec-Bench", split="test")

# Small or Big tasks only
small = load_dataset("KRAFTON/A2Z-GameSpec-Bench", "small", split="test")
big = load_dataset("KRAFTON/A2Z-GameSpec-Bench", "big", split="test")

game = dataset[0]
gdd = game["gdd"]
contract = json.loads(game["contract_json"])
rules = contract["rules"]
invariants = contract["invariants"]

The Parquet table stores one game per row. contract_json preserves heterogeneous structured values without Arrow type coercion; parsing it yields the same data as the six JSON files in the corresponding contract directory. No custom loading script or remote code is required.

Other columns are game_id, task_size, title, gdd, gdd_tokens, rule_count, invariant_count, scenario_count, and source_requirement_count. Counts are computed directly from the included files.

Evaluation environment

The main benchmark targets 2D single-player browser games using a common Phaser 4.1, TypeScript, and Vite environment. Preserve the intended game behavior when adapting platform-specific implementation details. The evaluation contract is withheld during initial game generation; canonical scenarios support fixed replay preparation. Keep the selected release's contracts fixed across models and revision rounds.

Citation

@article{lee2026a2zgamespecbench,
  title={A2Z GameSpec-Bench: How Faithfully Can Coding Agents Generate Games from Game Design Specifications?},
  author={Lee, Seonho and Jeong, Wonryeol and Cereser, Alberto and Kang, Inha and Kim, Hyeonjong and Kwak, Seungmin and Park, Dongmin},
  journal={arXiv preprint arXiv:2609.39564},
  year={2026},
  url={https://arxiv.org/abs/2609.39564}
}

License

Released under the MIT License. Copyright © 2026 KRAFTON, Inc.

Downloads last month
269

Paper for KRAFTON/A2Z-GameSpec-Bench