Skip to content

Instantly share code, notes, and snippets.

@LiamKarlMitchell
Created September 24, 2025 10:10
Show Gist options
  • Save LiamKarlMitchell/cc79344571a5fde5b7e46451fa218460 to your computer and use it in GitHub Desktop.
Save LiamKarlMitchell/cc79344571a5fde5b7e46451fa218460 to your computer and use it in GitHub Desktop.
Twin Escape (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Twin Escape
author Human & Claude
homepage www.puzzlescript.net
========
OBJECTS
========
Background
lightblue
Wall
brown
Player1
red white
.000.
.010.
00100
.010.
00000
Player2
blue white
.000.
.010.
00100
.010.
00000
Box
orange
Exit1
lightgreen
Exit2
darkgreen
Portal1
purple
Portal2
pink
=======
LEGEND
=======
. = Background
# = Wall
1 = Player1
2 = Player2
B = Box
E = Exit1
F = Exit2
P = Portal1
Q = Portal2
Player = Player1 or Player2
Exit = Exit1 or Exit2
Portal = Portal1 or Portal2
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Exit, Portal
Player1, Player2, Wall, Box
======
RULES
======
[ > Player1 | Box ] -> [ Player1 | Box ]
[ > Player2 | Box ] -> [ Player2 | Box ]
[ > Player1 | Wall ] -> [ Player1 | Wall ]
[ > Player2 | Wall ] -> [ Player2 | Wall ]
[ > Player1 | Player2 ] -> [ Player1 | Player2 ]
[ Player1 Portal1 ] -> [ Player1 Portal2 ]
[ Player2 Portal1 ] -> [ Player2 Portal2 ]
[ Player1 Portal2 ] -> [ Player1 Portal1 ]
[ Player2 Portal2 ] -> [ Player2 Portal1 ]
==============
WINCONDITIONS
==============
all Player1 on Exit1
all Player2 on Exit2
=======
LEVELS
=======
########
#1.....#
#......#
#....B.#
#......#
#.....2#
#.E...F#
########
########
#1.....#
#......#
#.B..B.#
#......#
#.....2#
#.E...F#
########
########
#1.....#
#..B...#
#......#
#...B..#
#.....2#
#.E...F#
########
########
#1.B...#
#......#
#......#
#......#
#...B.2#
#.E...F#
########
########
#1.....#
#.P....#
#......#
#....Q.#
#.....2#
#.E...F#
########
########
#1.....#
#.P.B..#
#......#
#..B.Q.#
#.....2#
#.E...F#
########
##########
#1......E#
#........#
#..B..B..#
#........#
#P......Q#
#........#
#..B..B..#
#........#
#2......F#
##########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment