Skip to content

Instantly share code, notes, and snippets.

@quantumpotato
Created August 19, 2026 20:31
Show Gist options
  • Select an option

  • Save quantumpotato/8b8c11022af1848c139fe1ea7b2eed32 to your computer and use it in GitHub Desktop.

Select an option

Save quantumpotato/8b8c11022af1848c139fe1ea7b2eed32 to your computer and use it in GitHub Desktop.
Chompburger (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
title Chompburger
author anonymous
homepage auroriax.github.io/PuzzleScript
tween_length 0.03
smoothscreen 15x15
level_select
runtime_metadata_twiddling
text_controls arrows keys, z, r
========
OBJECTS
========
Background
LIGHTGRAY GRAY
00010
11111
01000
11111
00010
Wall copy:Background
DARKGRAY BLACK
Target
#00000080
Player
transparent orange
00000
00100
01110
00100
00000
Gator
transparent darkgreen
00000
01110
01110
01110
00000
Swamp
DarkBlue
Puddle
LightBlue
Water
Blue
Crate
Purple
GatorTarget
Transparent
DoneGator
transparent darkgreen
00000
01110
01110
01110
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
S = Swamp
U = Puddle
@ = Crate and Target
G = Gator
O = Target
* = Crate
obstacle = crate or wall
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Crate
Player
Wall, Gator, DoneGator, Swamp, Water
Puddle
Target
GatorTarget
======
RULES
======
[ DoneGator ] -> [ Gator ]
[ Gator Player ] -> [ Gator ]
[ Gator | Puddle | no Gator | ... | Player ] -> [ no Gator | Puddle | Gator | ... | Wall]
[ Swamp | no obstacle | ... | no obstacle | Player ] -> [ Puddle | Gator | ... | no obstacle | Player ]
(kill the player)
horizontal [ Gator | > Player ] -> [ Gator | ]
horizontal [ Gator | < Player ] -> [ Gator | ]
vertical [ Gator | > Player ] -> [ Gator | ]
vertical [ Gator | < Player ] -> [ Gator | ]
horizontal [ Gator | < Player ] -> [ Gator | Player ]
horizontal [ Gator | > Player ] -> [ Gator | Player ]
vertical [ Gator | ^ Player ] -> [ Gator | Player ]
vertical [ Gator | v Player ] -> [ Gator | Player ]
horizontal [ Gator | ... | Player ] -> [ > Gator | ... | Player ]
horizontal [ Player | ... | Gator ] -> [ Player | ... | < Gator ]
vertical [ Gator | ... | Player ] -> [ > Gator | ... | Player ]
vertical [ Player | ... | Gator ] -> [ Player | ... | < Gator ]
late horizontal [ Gator | no Obstacle | ... | Player ] -> [ | DoneGator | ... | Player ]
late horizontal [ Player | ... | no Obstacle | Gator ] -> [ Player | ... | DoneGator | ]
late vertical [ Gator | no Obstacle | ... | Player ] -> [ | DoneGator | ... | Player ]
late vertical [ Player | ... | no Obstacle | Gator ] -> [ Player | ... | DoneGator | ]
[ > Player | Wall ] -> [ Player | Wall ]
==============
WINCONDITIONS
=============
Some player
All player on target
=======
LEVELS
=======
message Michael is wandering the gator infested streets.
section Level 1
##########
#........#
#........#
#.P......#
#........#
#........#
#........#
#.G......#
#..G.....#
#O..G....#
##########
message Gators move faster through puddles.
section Level 2
###############
#...O.........#
#..GGG........#
#..UUU........#
#.............#
#.............#
#.............#
#.............#
#.............#
#P............#
###############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment