Skip to content

Instantly share code, notes, and snippets.

@increpare
Created May 10, 2024 15:13
Show Gist options
  • Save increpare/2b1305941d5f1e9e31197236d09c75c2 to your computer and use it in GitHub Desktop.
Save increpare/2b1305941d5f1e9e31197236d09c75c2 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 Monophobic Multiban
author increpare
homepage www.sneezingtiger.com/sokoban/levels/microbanText.html
(Based on my favourite set of sokoban levels: microban by David Skinner.
www.sneezingtiger.com/sokoban/levels/microbanText.html
)
========
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
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
pushable = wall or crate
=======
SOUNDS
=======
Crate MOVE 36772507
endlevel 83744503
startgame 92244503
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate
======
RULES
======
[ > Player | pushable | pushable ] -> [ > Player | > pushable | > pushable ]
[ > pushable | pushable ] -> [ > pushable | > pushable ]
==============
WINCONDITIONS
==============
all Target on Crate
=======
LEVELS
=======
message level 1 of 10
..........
..........
..####....
..#.O#....
..#..###..
..#@P..#..
..#..*.#..
..#..###..
..####....
..........
..........
message level 2 of 10
######
#....#
#.#P.#
#.*@.#
#.O@.#
#....#
######
message level 3 of 10
.............
.............
....####.....
..###..####..
..#.....*.#..
..#.#..#*.#..
..#.o.o#p.#..
..#########..
.............
.............
message level 4 of 10
########
#......#
#.O@@*P#
#......#
#####..#
....####
message level 5 of 10
.#######
.#.....#
.#.O*O.#
##.*P*.#
#..O*O.#
#......#
########
message level 6 of 10
######.#####
#....###...#
#.**.....#P#
#.*.#OOO...#
#...########
#####.......
message level 7 of 10
#######
#.....#
#.O*O.#
#.*O*.#
#.O*O.#
#.*O*.#
#..P..#
#######
message level 8 of 10
..######
..#.OOP#
..#.**.#
..##.###
...#.#..
...#.#..
####.#..
#....##.
#.#...#.
#...#.#.
###...#.
..#####.
message level 9 of 10
#####.
#O..##
#P**.#
##...#
.##..#
..##O#
...###
message level 10 of 10
......#####
......#O..#
......#O#.#
#######O#.#
#.P.*.*.*.#
#.#.#.#.###
#.......#..
#########..
message congratulations!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment