Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Last active February 18, 2021 13:54
Show Gist options
  • Select an option

  • Save jcmiller11/d1e4c3c24ddd931f7f846cd5e788862a to your computer and use it in GitHub Desktop.

Select an option

Save jcmiller11/d1e4c3c24ddd931f7f846cd5e788862a to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Split on Grid
author jc
homepage www.puzzlescript.net
========
OBJECTS
========
Background
lightgreen
Grid
black white
00000
01110
01110
01110
00000
GridUL
black white
00000
01111
01111
01111
01111
GridUR
black white
00000
11110
11110
11110
11110
GridDL
black white
01111
01111
01111
01111
00000
GridDR
black white
11110
11110
11110
11110
00000
Player
red
=======
LEGEND
=======
. = Grid
Q = GridUL
W = GridUR
A = GridDL
S = GridDR
P = Player and Grid
BigGrid = GridUL or GridUR or GridDL or GridDR
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Grid, BigGrid
Player
======
RULES
======
[> Player BigGrid|Player BigGrid|no Player Grid] -> [BigGrid|BigGrid|Player Grid]
late [Player BigGrid|BigGrid] -> [Player BigGrid|Player BigGrid]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
P.QW..QW..QW..QW..QW..
..AS..AS..AS..AS..AS..
QW..QW..QW..QW..QW..QW
AS..AS..AS..AS..AS..AS
..QW..QW..QW..QW..QW..
..AS..AS..AS..AS..AS..
QW..QW..QW..QW..QW..QW
AS..AS..AS..AS..AS..AS
..QW..QW..QW..QW..QW..
..AS..AS..AS..AS..AS..
QW..QW..QW..QW..QW..QW
AS..AS..AS..AS..AS..AS
..QW..QW..QW..QW..QW..
..AS..AS..AS..AS..AS..
QW..QW..QW..QW..QW..QW
AS..AS..AS..AS..AS..AS
..QW..QW..QW..QW..QW..
..AS..AS..AS..AS..AS..
QW..QW..QW..QW..QW..QW
AS..AS..AS..AS..AS..AS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment