Smallest game file

101 views
Skip to first unread message

Zayd Mohammed

unread,
Nov 24, 2025, 5:20:04 PM11/24/25
to PuzzleScript
Do you guys think this is the smallest Puzzlescript file that compiles without error?
STARTobjects
background b .
red
player p
red
legend
sounds
collisionlayers
b
p
rules
winconditions
levels
pEND
This is 115 characters big. Can you make it smaller?

Chris Pickel

unread,
Nov 24, 2025, 7:53:59 PM11/24/25
to Zayd Mohammed, PuzzleScript
No reason you can’t play the background. (92B)

objects
background player p
red
legend
sounds
collisionlayers
p
rules
winconditions
levels
p

--
You received this message because you are subscribed to the Google Groups "PuzzleScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puzzlescript...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/puzzlescript/b963849c-931d-4267-bae1-0a212401a686n%40googlegroups.com.

Zayd Mohammed

unread,
May 30, 2026, 6:35:29 PM (11 days ago) May 30
to PuzzleScript
I've also found what may be the smallest file that does compile with error:
objects
player p
red
collisionlayers
p
levels
p
you can check it does compile by changing the color to something else before pressing run again.
i might have even found something smaller, but i really can't tell if it even compiles:
collisionlayers
.
one key to finding if something compiles is if it says " the game may not work correctly." instead of " I can't salvage anything playable from it."
Reply all
Reply to author
Forward
0 new messages