Skip to content

Instantly share code, notes, and snippets.

@increpare
Created July 1, 2024 14:03
Show Gist options
  • Save increpare/c607af391fbc665cf9245858c060ea63 to your computer and use it in GitHub Desktop.
Save increpare/c607af391fbc665cf9245858c060ea63 to your computer and use it in GitHub Desktop.
DRILL SOKOBAN (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title DRILL SOKOBAN
author increpare
homepage www.sneezingtiger.com/sokoban/levels/microbanText.html
(My favourite set of sokoban levels - here're the first ten of the Microban set.
I tried contacting this guy, but he seems to have vanished from the net. The levels are in lots of places online, so I'm just chancing my arm by including them. BUT BE WARNED.)
color_palette 2
========
OBJECTS
========
Background
lightgreen green
11111
01111
11101
11111
10111
Target
darkblue
00000
0...0
0...0
0...0
00000
Wall
brown darkbrown
00010
11111
01000
11111
00010
Player
darkgray blue lightgray
.000.
01010
.000.
00000
2...2
Crate
white gray
..0..
.111.
01110
.111.
..0..
void
#000000
00000
00000
00000
00000
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
k = player and target
, = void
=======
SOUNDS
=======
Crate MOVE 36772507
endlevel 83744503
startgame 92244503
sfx0 36630504
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate, void
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > crate | wall ] -> [ > crate | ] sfx0
==============
WINCONDITIONS
==============
all Target on Crate
=======
LEVELS
=======
message LEVEL 1/6
(GOOD LEVELS)
(14252 - good level!)
####.o
#.o#..
#p.###
#..**#
#....#
#..###
####..
message LEVEL 2/6
(16358 simplifeid - maybe too simple compared to level 1?)
......
.p.*@o
.#####
#.....
message LEVEL 3/6
(53865 almost pleasing!)
.....
##.##
..#..
...#.
.*#.*
p.#.o
..o#.
message LEVEL 4/6
(5465 not too hard)
o..p.
##*.o
.**o.
#.##.
##...
message LEVEL 5/6
(28101 easy but kinda fun?)
##..*o
#####.
#.....
.o@...
.,*###
..p###
message LEVEL 6/6
(10724 - can be thought through - and took a bit of thinking, but not horrific)
o...#
#.**.
.*.##
o#p..
.#..o
message YOU DRILLED IT ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment