Skip to content

Instantly share code, notes, and snippets.

@increpare
Created July 1, 2026 19:53
Show Gist options
  • Select an option

  • Save increpare/a00a3517b4ee3cd6bb304ff85ac9ecee to your computer and use it in GitHub Desktop.

Select an option

Save increpare/a00a3517b4ee3cd6bb304ff85ac9ecee to your computer and use it in GitHub Desktop.
The Naked Labyrinth (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title The Naked Labyrinth
author Ali Nikkhah
homepage itch.io/draxes
run_rules_on_level_start
norepeat_action
========
OBJECTS
========
Background
lightblue
Target
darkblue
.....
.000.
.0.0.
.000.
.....
Wall
grey darkgrey
10110
11111
01010
11111
01001
Character
blue #E0AC69
.....
..1..
..0..
.....
.....
CharacterMover
grey
.....
.....
.....
.....
.....
EmptyCell
grey
.....
.....
.....
.....
.....
Pur
#36160d #592525 #422103 #663C24
.202.
.0202
.2020
.0202
.1313
Prd
#36160d #592525 #422103 #663C24
.....
.0202
.2020
.0202
.2023
Pdl
#36160d #592525 #422103 #663C24
.....
2020.
0202.
2020.
3202.
Pul
#36160d #592525 #422103 #663C24
.202.
2020.
0202.
2020.
3131.
Pud
#36160d #592525 #422103 #663C24
.202.
.020.
.202.
.020.
.202.
Prl
#36160d #592525 #422103 #663C24
.....
20202
02020
20202
31313
Purd
#36160d #592525 #422103 #663C24
.202.
.0202
.2020
.0202
.2023
Prdl
#36160d #592525 #422103 #663C24
.....
02020
20202
02020
10201
Pudl
#36160d #592525 #422103 #663C24
.202.
2020.
0202.
2020.
3202.
Purl
#36160d #592525 #422103 #663C24
.202.
20202
02020
20202
31313
Purdl
#36160d #592525 #422103 #663C24
.202.
20202
02020
20202
32023
Pn
#36160d #592525 #422103 #663C24
.....
.020.
.202.
.020.
.131.
FullGround
#36160d #592525 #422103 #663C24
02020
20202
02020
20202
02020
Edge
#36160d #592525 #422103 #663C24
.313.
.....
.....
.....
.....
FullEdge
#36160d #592525 #422103 #663C24
13131
.....
.....
.....
.....
Pillars
#a66317
0...0
.....
.....
0...0
0...0
GoldTop
#a66317
.....
.....
.....
.....
0...0
Au
white
.....
..0..
.0.0.
.....
.....
Ar
white
.....
..0..
...0.
..0..
.....
Ad
white
.....
.....
.0.0.
..0..
.....
Al
white
.....
..0..
.0...
..0..
.....
Player
Red
.....
.....
.....
.....
.....
=======
LEGEND
=======
└ = Pur
│ = Pud
┐ = Pul
C = Prd
- = Prl
D = Pdl
F = Purd
T = Prdl
A = Pudl
W = Purl
+ = Purdl
, = Pn
. = Background
# = Wall
P = Character and Player and CharacterMover and FullGround and Pillars
E = Player
Q = Fullground and Target and Pillars
* = Fullground and Pillars
O = FullGround
Tile = Pur or Pud or Pul or Prd or Prl or Pdl or Purd or Prdl or Pudl or Purl or Purdl or Pn
Pu = Pur or Pud or Pul or Purd or Pudl or Purl or Purdl or Pillars or FullGround
Pr = Pur or Prd or Prl or Purd or Prdl or Purl or Purdl or Pillars or FullGround
Pd = Pud or Prd or Pdl or Purd or Pudl or Prdl or Purdl or Pillars or FullGround
Pl = Pul or Prl or Pdl or Purl or Prdl or Pudl or Purdl or Pillars or FullGround
Ground = FullGround or Pillars
Arrow = Au or Ar or Ad or Al
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Edge, FullEdge
FullGround, Pur, Pud, Pul, Prd, Prl, Pdl, Purd, Prdl, Pudl, Purl, Purdl, Pn
Target
Pillars
Character, Wall
Player
Au, Ar, Ad, Al
EmptyCell
CharacterMover
GoldTop
======
RULES
======
[ Character Pillars ] [ action Player no Character EmptyCell ] -> [ Character Pillars ] [ Player ]
[ Character Pillars ] [ action Player no Character no EmptyCell ] -> [ Character Pillars ] [ Player EmptyCell ]
[ action Player Character CharacterMover Pillars ] -> [ Player Character Pillars ]
[ action Player Character no CharacterMover Pillars ] -> [ Player Character CharacterMover Pillars ]
[ Arrow ] -> []
[ < Player EmptyCell | Tile ] -> [ Tile | Player EmptyCell ]
[ > Player EmptyCell ] -> [ Player EmptyCell ]
up [ Player EmptyCell | Tile ] -> [ Player EmptyCell | Tile Ad ]
right [ Player EmptyCell | Tile ] -> [ Player EmptyCell | Tile Al ]
down [ Player EmptyCell | Tile ] -> [ Player EmptyCell | Tile Au ]
left [ Player EmptyCell | Tile ] -> [ Player EmptyCell | Tile Ar ]
down [ > Player Character CharacterMover Pd | Pu ] -> [ > Player > Character > CharacterMover Pd | Pu ]
left [ > Player Character CharacterMover Pl | Pr ] -> [ > Player > Character > CharacterMover Pl | Pr ]
up [ > Player Character CharacterMover Pu | Pd ] -> [ > Player > Character > CharacterMover Pu | Pd ]
right [ > Player Character CharacterMover Pr | Pl ] -> [ > Player > Character > CharacterMover Pr | Pl ]
down [ > Player Character CharacterMover | no Pu ] -> [ Player Character CharacterMover | ]
left [ > Player Character CharacterMover | no Pr ] -> [ Player Character CharacterMover | ]
up [ > Player Character CharacterMover | no Pd ] -> [ Player Character CharacterMover | ]
right [ > Player Character CharacterMover | no Pl ] -> [ Player Character CharacterMover | ]
[ > Player no Character no EmptyCell ] -> [ Player ]
[ > Player Character no CharacterMover ] -> [ Player Character ]
[ > Player stationary Character ] -> [ Player Character ]
[ Player Character > Tile ] -> [ > Player > Character > Tile ]
[ Edge ] -> [ ]
down [ Pd | ] -> [ Pd | Edge ]
[ FullEdge ] -> [ ]
down [ Ground | ] -> [ Ground | FullEdge ]
up [ Pillars | ] -> [ Pillars | GoldTop ]
==============
WINCONDITIONS
==============
all Character on Target
=======
LEVELS
=======
message Move ahead my child.
(You Can Move)
###
#e#
p-q
###
Message Or any which way you want.
(You Can Move Up)
###
#e#
#cq
p┐#
###
Message Press X to access the special powers of the golden pillars and shape a path for yourself. Press X again to move.
(This is Not a Puzzle)
####
#┐eq
p-c#
####
Message There were here once thoughts that I had.
(A Puzzle Arises)
#####
#c│-q
p-e┐#
#####
Message Not very refined thoughts, but now I've lost them.
(The Occasional Symmetry in Things)
#####
#a││q
#c*┐#
p│ec#
#####
Message The special order and symmetry that I at times had the pleasure to build into my thoughts help me recover them better.
Message But then again, they also do help to distort.
(The Order Matters)
#####
#│││#
#┐*└#
pdecq
#│││#
#####
Message Maybe my distorted thoughts from the past are closer to the truth at this point in my life.
Message Walking through the empty halls and corridors or my ornamented thoughts
(The Number Matters)
#####
#│││#
#┐o└#
pdecq
#│││#
#####
Message What can I use my past thoughts for but to just decorate the current empty halls of my mind.
Message Would it make me feel better?
Message It would help me get rid of my past thoughts. Sometimes things won't leave you until you find a use for them, however useless.
(Interesting)
###q##
#e-┐##
#│#,,#
p┐c,,#
######
(Interestinger)
###q###
#┐,│###
#,#│,##
p--e,,#
##,,#,#
###,,,#
#######
Message Final level ahead, thank you for playing.
(Solvable)
#######
#c-d││#
p┐#e#cq
#││└-┐#
#######
Message You did it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment