Skip to content

Instantly share code, notes, and snippets.

@thacuber2a03
Created August 31, 2020 21:49
Show Gist options
  • Save thacuber2a03/e3bd51696c3300b9d1c3d00fd2d1c8e5 to your computer and use it in GitHub Desktop.
Save thacuber2a03/e3bd51696c3300b9d1c3d00fd2d1c8e5 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 Sokoban
author Tha Cuber
homepage www.puzzlescript.net
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Target
DarkBlue
.....
.000.
.0.0.
.000.
.....
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
Player
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
Crate
Orange Yellow
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
=======
SOUNDS
=======
Crate MOVE 36772507
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
####..
#.O#..
#..###
#@P..#
#..*.#
#..###
####..
######
#....#
#.#P.#
#.*@.#
#.O@.#
#....#
######
#######
#p.*.##
#.**.##
#..#..#
##....#
##...o#
#######
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment