Created
June 3, 2022 16:39
-
-
Save jminor/ae11b7140ecdbeca41f1acf963bae7ee to your computer and use it in GitHub Desktop.
Maze Backtracker (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Maze Backtracker | |
author Joshua Minor | |
homepage www.puzzlescript.net | |
realtime_interval 0.01 | |
======== | |
OBJECTS | |
======== | |
Background | |
black | |
White | |
white | |
Wall | |
grey | |
Player | |
red | |
Player2 | |
orange | |
Green | |
green | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
2 = Player2 | |
W = White | |
G = Green | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Wall | |
Player, Player2, White, Green | |
====== | |
RULES | |
====== | |
random [ Player | . | . ] -> [ Green | Green | Player2 ] | |
random [ Player2 | . | . ] -> [ Green | Green | Player2 ] | |
random [ Player | Green | Green ] -> [ White | White | Player ] | |
late [ Player2 ] -> [ Player ] | |
============== | |
WINCONDITIONS | |
============== | |
no Player | |
======= | |
LEVELS | |
======= | |
########################### | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#............P............# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
#.........................# | |
########################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment