Datasets:
id stringlengths 1 46 | content stringlengths 2 922k | provenance stringclasses 2
values | parse_status stringclasses 6
values | n_objects int64 1 3.52k ⌀ | n_levels int64 0 211 ⌀ | mechanics_hash stringlengths 16 16 ⌀ | levels_hash stringlengths 16 16 ⌀ | n_duplicates int64 0 582 | duplicate_ids listlengths 0 583 |
|---|---|---|---|---|---|---|---|---|---|
9d573d3cfa79cfa1f132 | title #57007F
author {IT{:<SM
youtube wIvDuz0GjbE
========
OBJECTS
========
PurpleManL
#57007F Black #4A006D
.000.
.100.
.000.
..2..
..0..
PurpleManR
#57007F Black #4A006D
.000.
.001.
.000.
..2..
..0..
PurpleManD
#57007F Black #4A006D
.000.
.101.
.000.
20002
.0.0.
PurpleManU
#57007F Black #4A006D
.000.
.000.
.000.
20... | curated_collection | ok | 5 | 1 | 61ad1a03b7bf669b | 6e4cbf8d2dcb154d | 0 | [] |
07505446c62a2aefd395e8e368da5c89 | title -
zoomscreen 13x13
key_repeat_interval 0.25
again_interval 0.25
noundo
========
OBJECTS
========
Background
#7ad0ff
CaveBackground
#70604f
Box
#a66778 #964d61 #9c5c6d
11211
10001
20102
10001
11211
Scaffold
#60629c #4d4f8a
00000
11000
1...0
1...0
1...0
Grass
green darkbrown
00000
10100
11111
11111
11111
Roc... | curated_collection | ok | 40 | 1 | a38f0acb292c5568 | eee1f332e88d591a | 0 | [] |
695ddc3428ce9876b117e3182c96775f | title - murder murder party - [singleplayer demake] [arena]
author 5381 <3
noaction
noundo
========
OBJECTS
========
Background .
darkblue
Player P
white black
00000
00010
01000
00000
00000
AI A
red black
.000.
.101.
00000
.000.
.0.0.
Dead
black
0...0
.0.0.
..0..
.0.0.
0...0
Attack
red
..0..
.000.
.000.
00000
..0... | curated_collection | ok | 7 | 1 | 63e705cd8aba88b4 | c31d16c9dd7cc5a4 | 0 | [] |
00088cff327c1dc0fa46729c79d59a4e | title The Wrong Key
author Xligamer
homepage www.puzzlescript.net
debug
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Target
DarkBlue
.....
.000.
.0.0.
.000.
.....
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
Player
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.... | gist_scrape | ok | 12 | 7 | 741dbd6ed01b31a1 | d0a4f110a6e9af21 | 0 | [] |
0008dff32b66f6e7154a159af29e56f3 | title Abandonned games
author Stingby12 [Birthday special]
homepage www.puzzlescript.net
verbose_logging
========
OBJECTS
========
Background
black
Target
gray
.....
.000.
.0.0.
.000.
.....
Wall
white
WallRed
#F00
WallGreen
#0F0
WallBlue
#00F
WallYellow
#FF0
WallCyan
#0FF
WallPink
#F0F
Player0
white black
.000.
0... | gist_scrape | ok | 32 | 7 | 4dff28b84ff00422 | e75616da4162dae4 | 0 | [] |
0008ea9386c61810ab50 | title Call of the Jewels
author Stuart Burfield
homepage www.thepixelshelf.com
again_interval 0.09
========
OBJECTS
========
Background
#D6E0EB
Pit
Black
Goal
Black grey
.000.
00000
00000
00000
.000.
Wall1
#14293D #24476B #336699 #7094B8 #99B2CC #85A3C2
02222
01342
01532
01112
00000
Wall2
#142952 #2E5CB8 #5C8... | gist_scrape | ok | 46 | 9 | 78793f6ec7db8f30 | 2f0401a6dad87ec8 | 2 | [
"0008ea9386c61810ab50",
"234a367724ee8959458d",
"7c68f433e31a7cafbcce"
] |
00092504d1d3fa16e512764e3680ee73 | title Garten der Medusen
author Stephen Lavelle
homepage www.increpare.com
run_rules_on_level_start
again_interval 0.03
background_color black
noaction
========
OBJECTS
========
Background
black
blood
darkred red
..0..
.010.
01110
.010.
..0..
Medussa_u 1
gray green
..1..
.111.
.010.
00100
.0.0.
Medussa_d 2
gr... | gist_scrape | ok | 19 | 8 | ea00f7582ddf656f | 7e0da66722151a34 | 1 | [
"00092504d1d3fa16e512764e3680ee73",
"a4829564ab394e720a82cf25d6c9cd91"
] |
000f298d247aae0829d95eafb75b8a07 | title Las acciones que hacemos por otros para cuidarnos
author Alina Surjan Trofo
homepage www.puzzlescript.net
========
OBJECTS
========
Background
DARKBLUE BLACK
00111
11101
01001
11110
10011
BaldozaEspecial
DARKBLUE BLACK
11111
01111
11101
11111
10111
HoleNormal
Black
Wall
#767d80 #697175
11111
01111
11101
11... | gist_scrape | ok | 20 | 4 | b2a4561a6da20393 | 7aee2471b33e7440 | 5 | [
"000f298d247aae0829d95eafb75b8a07",
"62cb7af821e5a1e7dd66dbc5981389d6",
"6a303e2022c9c0fa8d46da96addde457",
"e44d67f449461cb7fb95b67375910f93",
"e638f67e962c2d2e6b07bc1c8e7c474a",
"fd9c621e73e3172366dfdb82d1a80ab3"
] |
000f735a8811a735a27158d8995bf874 | title We'll Eat These Donuts Together
author buffalocat
homepage www.puzzlescript.net
========
OBJECTS
========
Background
darkblue
Player
red black
00000
01010
01010
00000
00000
Wall
darkgray
Donut
orange pink white
.120.
10010
21.21
02101
.102.
=======
LEGEND
=======
. = Background
# = Wall
P = Player
D = Donut... | gist_scrape | ok | 4 | 5 | 7492b2318cef75ed | 92cad459e98a34ff | 0 | [] |
000fbd5f526159916cbadf86f21f625d | title PROTOTYPE
author TOMA BROWN
homepage www.puzzlescript.net
debug
========
OBJECTS
========
Background
darkgreen
Target
Red
Wall
darkblue
Player
Blue
Head
Orange
Dagger
Grey White
...1.
..11.
.111.
00000
..0..
Warrior
Grey White Blue
22212
22112
21112
00000
22022
=======
LEGEND
=======
. = ... | gist_scrape | ok | 7 | 1 | e1c17347b0b597a2 | b81e8f0233f71874 | 0 | [] |
00117a0656e71cdfa3054a6c45e8ec46 | title wild fire
author Someone ;)
homepage www.puzzlescript.net
require_player_movement
text_color #c46f03
verbose_logging
========
OBJECTS
========
(Traps)
BearTrap
black
.....
.000.
.0.0.
.000.
.....
Fake
black
.....
.000.
.0.0.
.000.
.....
(versions of player)
BurntPlayer
#ff5b14 #ffa255 #ff2323
.000.
.111.
22222... | gist_scrape | ok | 13 | 5 | 4f01d3a72b4db112 | 7c1232a05168b8a9 | 4 | [
"00117a0656e71cdfa3054a6c45e8ec46",
"01a9bf6aa922a5c182998115f40dc0da",
"3acba1e2ff6dca6b0a72cd3e3b0200bb",
"f7cb457dcb5bbf04570a8fda32189fca",
"fadc37f15194e0e15eaf8fccfcc6e919"
] |
00121ae9520abe12c0f1df27ece41e52 | title Streamline Demake
author Francois van Niekerk
homepage francoisvn.itch.io/streamline
require_player_movement
noaction
again_interval 0.1
background_color #2C2C2C
(debug)
(verbose_logging)
========
OBJECTS
========
background
#A1A195 #B1B1A5
00000
01110
01110
01110
00000
wall
#2C2C2C
player
#FF0080
.000.
00... | gist_scrape | ok | 12 | 16 | 6cf512c632e6dd8e | 3cf2684d53ae002d | 0 | [] |
0017303cdb3c322ef8d468c33ca8bee4 | title mazegen
author noa
homepage www.puzzlescript.net
run_rules_on_level_start
again_interval 0.01
========
OBJECTS
========
background .
darkblue
player p
green
.000.
00000
00000
00000
.000.
uw
lightblue
00000
.....
.....
.....
.....
dw
lightblue
.....
.....
.....
.....
00000
lw
lightblue
0....
0....
0....
0.... | gist_scrape | ok | 12 | 1 | c8040d3c8cf18063 | 62ea631ba5a50467 | 0 | [] |
0017b10c070f3ceda70c90656d8f5691 | title Kittens v1.0.
author Natalie
homepage www.PuzzleScript.net
=======
OBJECTS
========
Player
blue black green lightbrown
.111.
.333.
22222
.000.
.0.0.
Kitten1
lightbrown
.....
..0..
.000.
..0..
.....
Kitten2
brown
.....
..0..
.000.
..0..
.....
Kitten3
pink
.....
..0..
.000.
..0..
.....
background
lightgreen... | gist_scrape | ok | 8 | 1 | 8d9f827710815ddd | 8ea0bd923084468d | 4 | [
"0017b10c070f3ceda70c90656d8f5691",
"9134989e9012ee8a89213846e00b99a7",
"a94ba8608332197fcc11db5f0f074d41",
"c6df4270f5055c9207d1d14b9fd2c4c4",
"cd662c55efff2a27be468152fc36456c"
] |
0019e3bf26304ab687e6 | title Shattered Heart
author Madison Pennington
youtube ifksAcHCj18
background_color Black
text_color Lightblue
noaction
Zoomscreen 20x15
========
OBJECTS
========
Background
Darkblue
0.000
000.0
0.000
000.0
00000
HeartPiece1
Purple
.0...
000..
.00..
..0..
.....
HeartPiece2
Blue
.0...
000..
.00..
..0..
........ | gist_scrape | ok | 21 | 1 | 75aae0809a34f546 | ecd0dcdd3ab51542 | 1 | [
"0019e3bf26304ab687e6",
"f84ac8ed0f9915b4b671"
] |
001a7bcdb64e184edf745ede37670c24 | title The Last Resource
author Santiago Ferraro - FlawlessRythm
homepage www.puzzlescript.net
background_color #d9a066
text_color #753e06
flickscreen 16x11
zoomscreen 25x25
========
OBJECTS
========
NextLevel
black white
00000
11111
00000
11111
00000
LightActivator
#e57c34 #df7126 #f28337
01110
12021
10101
12021
0111... | gist_scrape | ok | 95 | 17 | 8b4b75161a6e5ae8 | a3e5676aec775566 | 0 | [] |
001a947733634a8535827aa683a6e100 | title My Game
author My Name Here
homepage www.puzzlescript.net
========
OBJECTS
========
Background
gray
Target
darkblue
Wall
black
Player
brown
Crate
blue
AntiCrate
red
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
! = AntiCrate
@ = Crate and Target
O = Target
=======
SOUNDS
=======
=... | gist_scrape | ok | 6 | 1 | 714baa4db03823c3 | bc9c80225a8a40d8 | 0 | [] |
001afe81a47b39313eb1 | title Midas
author wanderlands
homepage www.wanderlands.org
(A port of the luxuriant Wanderlands game, Midas, with permission of the authors. It's a bit messy, if you can find a way to tidy it up, let me know :]
the original is here
http://wanderlands.org/main/midas
)
========
OBJECTS
========
Background
WHITE
l... | gist_scrape | ok | 13 | 6 | 4d52f32ca927ab66 | a3849b323cac9eca | 3 | [
"001afe81a47b39313eb1",
"2202d29618a71fdaab6c",
"230e02282ad177599405",
"c879b25a687c013df1d4"
] |
001eadccfb0a0c0db13e747a2ab1d652 | title HIDE?.
author Team GECKO
noundo
norepeat_action
========
OBJECTS
========
Player
#4f9e31 green #45782c #44872a #49912d #31571e
.111.
10001
25052
23432
.222.
Mass
#4f9e31 green #45782c #44872a #49912d
.111.
10001
24042
23432
.222.
DroppedMass
#4f9e31 green #45782c #44872a #49912d #363636
51115
10001
24042
234... | gist_scrape | parse_error:VisitError | null | null | null | null | 0 | [] |
0021c3bb088863fb3bc1 | title MARMALADE TERROR
author R NOSWORTHY
homepage www.PUZZLESCRIPT.NET
========
OBJECTS
========
Player
YELLOW BLACK
.000.
.101.
01010
.010.
.0.0.
BACKGROUND
RED
00000
00000
00000
00000
00000
WALL
BLUE
00000
00000
00000
00000
00000
DOOR
BLACK GREY
01110
11111
11111
11101
11111
=======
LEGEND
=======
P = Pl... | gist_scrape | ok | 4 | 1 | bc1a6bfd370dcf73 | 7d37f3b9f4a70dfe | 1 | [
"0021c3bb088863fb3bc1",
"215310b48961f2ecbbf3"
] |
002376542f0ac6ae00cbd1ef664b23ea | title Billy Bob's Variable Vertigo
author Monakrom
homepage www.puzzlescript.net
run_rules_on_level_start
(verbose_logging)
again_interval 0.05
color_palette famicom
background_color darkgreen
text_color red
========
OBJECTS
========
Background
darkGREEN GREEN
00000
11110
11110
11110
11110
Target
red darkred
... | gist_scrape | ok | 8 | 5 | 09517bc188c0229c | 5e596038a54a10bb | 1 | [
"002376542f0ac6ae00cbd1ef664b23ea",
"30cd5bb0d93b4b86819a2e771b4e48b2"
] |
00243d7e461a353eee49 | title Dungeon Explorers
text_color yellow
key_repeat_interval 0.25
========
OBJECTS
========
Background
#AAAAAA #DDDDDD
00000
00100
00000
00010
00000
Goal
Brown Yellow
.000.
00000
00010
00000
00000
Wall
Darkgrey #222222
01000
11111
00010
00010
11111
RedBasic
#FF4444 Pink DarkBrown
.000.
.111.
00000
.000.
.2.2.
... | gist_scrape | ok | 18 | 10 | 8889ce75cbd4a3eb | a0db99c758cc2318 | 1 | [
"00243d7e461a353eee49",
"552338a155858139ddb2"
] |
002b9c675f2a19c5162e30f11aaba851 | ========
OBJECTS
========
Background .
green
.....
.....
..0..
.....
.....
Player
red white (Gozleri beyaz, vucudu yesil)
.000.
01.10 (0=vucut, 1=goz)
0.0.0
00000
.0.0.
Wall
grey
00.00
0...0
..0..
0...0
00.00
Wall2
blue
00.00
0...0
..0..
0...0
00.00
FinalBox
blue
.....
.....
..0..
.....
.....
Number0
yellow
.... | gist_scrape | parse_error:UnexpectedCharacters | null | null | null | null | 0 | [] |
002c068e5555da0e02d8f41a5e7089b1 | title Tema 1 Prototyp
author John Doe
homepage www.puzzlescript.net
flickscreen 9x7
again_interval 1
verbose_logging
========
OBJECTS
========
SeenV
transparent
SeenH
transparent
Background
darkbrown
Target
darkblue
Wall
gray
Crate
orange
UpBullet
red
.....
..0..
.000.
.000.
.....
DownBullet
red
.....
.000.
... | gist_scrape | parse_error:VisitError | null | null | null | null | 0 | [] |
0031a511bdb4fe67eb7b | title At the Mountains of Madness
author H B Bisenieks & H P Lovecraft
homepage http://urbanphantasy.wordpress.com
noundo
norestart
noaction
zoomscreen 20x15
key_repeat_interval 0.12
realtime_interval 1.5
========
OBJECTS
========
Background1
WHITE #f3f3ff
00000
01000
00000
00001
00000
mess1
#444
mess2
#444
... | gist_scrape | ok | 38 | 7 | 4fb3b292cff38f2d | a60c99b4d31f1807 | 0 | [] |
00354d5497c092e8c5aad51edaeec512 | title P VS Z
author Jason Han
homepage www.puzzlescript.net
========
OBJECTS
========
Peashooter
darkgreen
Sunflower
yellow
Lawnmower
darkred
Background
green
Zombie
brown
Wall
white
Player
red
DeadPlant
gray
=======
LEGEND
=======
S = Sunflower
. = Background
# = Wall
P = Player
G = Peashooter
O = Zombie... | gist_scrape | ok | 8 | 3 | 7c1920b6ca555197 | 9d0f1848ae8dd530 | 1 | [
"00354d5497c092e8c5aad51edaeec512",
"2e4ab365297d283fbed39c4f80ed72cb"
] |
PuzzleScript Human-Authored Games (Deduplicated)
A corpus of 23,667 human-authored PuzzleScript games — the complete source text of each game — after structural deduplication and removal of non-vanilla (PuzzleScript Plus) dialects. The corpus is intended as training material for world models of grid-puzzle dynamics, where each game defines a set of rewrite rules (the mechanics) and one or more levels (initial states), but it is equally usable for code generation, program synthesis, or game-design research.
Dataset structure
One JSON object per game in data/puzzlescript_games.jsonl:
| field | description |
|---|---|
id |
game identifier (original file stem) |
content |
full PuzzleScript source text |
provenance |
curated_collection or gist_scrape (see Data collection) |
parse_status |
ok if it parses under a vanilla PuzzleScript grammar; otherwise the failure class |
n_objects |
number of canonical objects (parsed games only) |
n_levels |
number of levels (parsed games only) |
mechanics_hash |
name/color/sprite-invariant fingerprint of the rules (parsed games only) |
levels_hash |
name-invariant fingerprint of the level layouts (parsed games only) |
n_duplicates |
number of near-identical copies collapsed into this entry |
duplicate_ids |
the collapsed copies' identifiers |
Two manifests accompany the data:
dedup_master.json— the full dedupe record: every kept game, its grouping key, and every duplicate collapsed into it, so any cluster can be reconstructed.quarantine_ps_plus_manifest.txt— the identifiers of the 2,357 PuzzleScript Plus files removed before deduplication.
Data collection
The corpus is built from two kinds of source, all originally public:
- A base of ~26,000 PuzzleScript games that had previously been scraped from
GitHub Gist by a third party. These carry
provenance: gist_scrape. - Several curated public PuzzleScript collections (the official game
gallery and other openly published sets), merged in and marked
provenance: curated_collection. Where a game appeared in both a curated set and the gist base, the curated copy is preferred.
Files were collected as raw .txt source. No emulation, rendering, or
playthrough data is included — only the game programs themselves.
Filtering: PuzzleScript Plus removal
PuzzleScript Plus (PS+) is a
superset dialect with extra TAGS / MAPPINGS sections and additional
prelude directives (level_select, sprite_size, mouse_*, tween_*,
case_sensitive, …) that a vanilla PuzzleScript engine cannot run. We detect
PS+ with positive whitelists — the PS+-only section headers and prelude
keywords — rather than "anything not vanilla," which would over-flag typos and
prose. 2,357 files were flagged; 98.8% of them independently failed a
vanilla PuzzleScript parser, confirming the detector and the parser agree.
These files were removed before deduplication (their identifiers are listed in
quarantine_ps_plus_manifest.txt). The whitelist is high-precision but not
exhaustive: a PS+ game that uses only extended rule semantics — with no PS+
section or prelude directive — can look vanilla and may remain in the corpus.
Deduplication procedure
We treat a game as a duplicate only when it offers no novel training material — i.e. it matches another game in both mechanics and levels. Any difference in rules or in level layouts is preserved. Deduplication runs as a layered pipeline, cheap to expensive, each stage only refining the survivors of the last:
- Exact — hash of the raw bytes.
- Normalized — whitespace-collapsed, case-folded hash.
- Lite — the game is run through the engine's own preprocessing (comment stripping with full nesting support, sound/message removal, whitespace and section-header normalization), then the mechanics sections and the levels are hashed separately. Name- and art-sensitive; no parser.
- Canonical tokens — the game is parsed and tokenized into a name-, color-, and sprite-invariant representation, split into a mechanics fingerprint and a levels fingerprint. Recolored sprites, redrawn art, and renamed objects collapse here; functional prelude directives that the tokenizer would otherwise drop are folded back into the mechanics fingerprint so they still count as a difference.
A game's dedupe identity is the pair (mechanics_hash, levels_hash) from the
deepest stage it reaches. Unparseable games fall back to the lite or exact
fingerprints in separate namespaces, so a game that could not be parsed is
never silently merged into a parsed one.
Statistics
| count | |
|---|---|
| Collected (raw) | 35,075 |
| PuzzleScript Plus removed | 2,357 |
| Vanilla games deduped | 32,718 |
| Published (deduped) | 23,667 |
| — parsed to canonical tokens | 21,994 |
| Distinct mechanics fingerprints | 15,960 |
| Distinct level-set fingerprints | 18,841 |
Among parsed games, 2,622 mechanics fingerprints are shared by two or more distinct games — the "same dynamics, novel levels" cohort that the dedupe policy deliberately keeps.
Intended use & limitations
- Intended use: training and evaluating world models / dynamics models of PuzzleScript, plus code-generation and game-design research.
- Parse failures: ~1,673 published games do not parse under a vanilla
grammar (malformed source, encoding quirks, or undetected PS+ rule syntax).
They are kept because they may still be valid for some engines and because
the lite fingerprints still deduplicate them, but they lack the
mechanics_hash/levels_hashfields. - Deduplication is structural, not semantic. Two games with logically equivalent but textually different rules are treated as distinct.
Authorship & licensing
These are community-authored works gathered from public sources. Individual
games carry their own authorship and licensing terms, which are not uniform
and are not asserted here (license: other). This collection is released to
support research and reproducibility; please respect the original authors and
their licenses when reusing individual games. If you are an author and want a
game removed, please open a discussion on this repository.
- Downloads last month
- 13