Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created June 12, 2019 20:10
Show Gist options
  • Save jcmiller11/3e85be0137d0c6235436740b3ce270ba to your computer and use it in GitHub Desktop.
Save jcmiller11/3e85be0137d0c6235436740b3ce270ba to your computer and use it in GitHub Desktop.
Blockswap Tester (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Blockswap Tester
author JC
homepage www.puzzlescript.net
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Player
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
RedBox
Red
00000
0...0
0...0
0...0
00000
YellowBox
Yellow
00000
0...0
0...0
0...0
00000
BlueBox
Blue
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
Box = RedBox or YellowBox or BlueBox
. = Background
P = Player
R = RedBox
Y = YellowBox
B = BlueBox
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Player, Box
======
RULES
======
[box ][ action player] -> [player ][ box]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
..........
......Y...
..P...R...
......B...
..........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment