Skip to content

Instantly share code, notes, and snippets.

@vgel
Created May 14, 2024 22:33
Show Gist options
  • Save vgel/23e9e970375ff1e38c71015ad26c61d9 to your computer and use it in GitHub Desktop.
Save vgel/23e9e970375ff1e38c71015ad26c61d9 to your computer and use it in GitHub Desktop.
AlephNull (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title AlephNull
author @
========
OBJECTS
========
Background
grey
Avatar
purple
.....
.000.
.000.
.000.
.....
PortalIn
blue
.000.
0...0
0.0.0
0...0
.000.
PortalOut
orange
.000.
0...0
0.0.0
0...0
.000.
Fractal
green white
.010.
01010
10101
01010
.010.
GlitchA
darkgrey lightgreen lightblue
00001
00010
01000
00000
00000
GlitchB
darkgrey lightgreen lightblue
10000
00000
01000
01000
00000
WarpA
transparent
WarpB
transparent
=======
LEGEND
=======
. = Background
@ = Avatar
I = PortalIn
O = PortalOut
F = Fractal
A = GlitchA
B = GlitchB
* = Avatar and WarpA
! = Avatar and WarpB
Player = Avatar
=======
SOUNDS
=======
SFX0 12804307
SFX1 84517307
SFX2 30655408
SFX3 46874708
================
COLLISIONLAYERS
================
Background
GlitchA, GlitchB
Avatar
WarpA, WarpB
PortalIn
PortalOut
Fractal
======
RULES
======
[ Avatar ] -> sfx0
(portals)
[ PortalIn Fractal ] -> [ PortalIn PortalOut ] SFX2
[ Avatar PortalIn ] -> [ PortalOut Avatar ] SFX3
(warps)
up [ WarpA ] -> [ WarpB ]
left [ WarpA ] -> [ WarpB ]
down [ WarpA ] -> [ WarpB ]
right [ WarpA ] -> [ WarpB ]
late up [ WarpB ] -> [ Background ]
late left [ WarpB ] -> [ Background ]
late down [ WarpB ] -> [ Background ]
late right [ WarpB ] -> [ Background ]
(recursion)
[ Avatar GlitchA ] -> [ Avatar GlitchB ]
[ Avatar GlitchB ] -> [ Avatar GlitchA ]
==============
WINCONDITIONS
==============
no PortalIn
=======
LEVELS
=======
Message Welcome, Traveler, to the AlephNull Labyrinth!
F.....
......
@F....
......
..I...
......
Message The rules here are but suggestions...
A.....
I.....
@.....
F.....
......
..O...
Message Warp and weft your way through tangles of self-reference!
B...F.
...O..
@@....
I.....
..*...
...F.A
Message But beware - not all is as it seems!
.A..!.F
B.O@...
..@@...
.I@....
.*A....
..B....
Message The only way out is through, within, beyond...
A!!O.FB.
B*@@..A.
.I!@@.!.
...@!B..
F..A*...
.F......
Message Do you reflect the puzzle, or does it reflect you?
.B.FFFF
A*@A..O
*!!@B..
B..@**.
FAI!@..
..B!@..
Message Are you playing the game, or is the game playing you?
O.FB.A..
B..!.*B.
.!!@@*..
..B@@*!F
FA.I@*..
...B@!..
Message In the end, there is no end, only beginnings...
..O.....
B.FFF.B.
.*@@@*..
B*@I@*A.
.*@@@*F.
..AFF.A.
Message Congratulations! You have completed AlephNull.
......
.FFF..
.FOF..
.FIF..
..F...
@.....
Message Or have you just begun? Play again to find out! :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment