Skip to content

Instantly share code, notes, and snippets.

@gamesbyangelina
Created February 12, 2025 12:43
Show Gist options
  • Save gamesbyangelina/fb360994eef72ed557ce45b77a3e553a to your computer and use it in GitHub Desktop.
Save gamesbyangelina/fb360994eef72ed557ce45b77a3e553a to your computer and use it in GitHub Desktop.
Creative Coding: Escape From Bush House (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Creative Coding: Escape From Bush House
author Mike Cook
homepage www.possibilityspace.org/cc
========
OBJECTS
========
Background
lightblue blue
11111
01111
11101
11111
10111
Stairs
darkgrey grey black
22222
22210
21010
01010
01010
Hamburger
brown orange yellow red green lightbrown
.511.
11151
23443
00000
15115
Wall
grey lightgray
00010
11111
01000
11111
00010
Player
black orange white darkblue lightred
.111.
.444.
22222
43334
.3.3.
Crate
orange brown darkbrown
10001
02110
01210
01120
10001
Box
orange brown darkbrown
10001
02220
10001
11111
21112
Notice
orange brown darkbrown
11111
10001
11111
..1..
.111.
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
& = Box
O = Stairs
T = Hamburger
N = Notice
=======
SOUNDS
=======
Crate move 36772507
================
COLLISIONLAYERS
================
Background
Stairs, Hamburger, Notice
Player, Wall, Crate, Box
======
RULES
======
[ > Player | Crate ] -> message Hmm. Perhaps we need a RULE to help us push things like this Crate?
(soln: level 1)
( [ > Player | Crate ] -> [ > Player | > Crate ] )
[ > Player | Box ] -> message Hmm pushing this one won't help... maybe we need a RULE that lets us pull Box objects?
( soln: level 2 )
( [ < Player | Box ] -> [ < Player | < Box ] )
( [ Player Hamburger ] -> message Maybe we can turn this Hamburger into the exit? See if you can edit the 'WINCONDITION' section. )
[ > Player | Notice ] -> message I forgot to finish this level, can you do it for me please?
==============
WINCONDITIONS
==============
all Player on Stairs
(soln: level 3)
( all Player on Hamburger )
=======
LEVELS
=======
######
#.O..#
#....#
###*##
#....#
#.P..#
######
########
#..#O#.#
#..#&#.#
#......#
#.P....#
#......#
########
########
#....#O#
#.T..###
#......#
#.P....#
#......#
########
########
#O.#...#
##.##.##
#..#N..#
#.####.#
#.P#.P.#
########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment