Skip to content

Instantly share code, notes, and snippets.

@increpare
Created July 1, 2024 14:01
Show Gist options
  • Save increpare/7db356596feea9817d0330e0336a9682 to your computer and use it in GitHub Desktop.
Save increpare/7db356596feea9817d0330e0336a9682 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
(backup levels pre-editing)
(16358 interesting maybe! but easy NEEDS TO BE TIDIED UP)
.#.#..#
#.....#
.p.*@o#
.#####.
#...#..
(above but simplified)
......
.p.*@o
.#####
#.....
(5465 not too hard - bottom of level can be trimmed off)
o..p#
##*.o
.**o.
#.##.
##...
(28101 easy but kinda fun?)
#...*o
#####.
##....
.o@...
.#*.##
..p...
(53865 almost pleasing!)
....#
#@.##
#.#..
#..#.
.*#.*
..#.o
#.k#.
(45771 pleasing - not too hard - extra crud though?)
..#.#
.#...
..@oo
.#**#
###.p
(20764 messy but kinda fun!)
o.##.
##*o.
##.*o
#*#..
...p#
(SOLALA LEVELS)
(a bit trivial?)
...###.
....##.
.p.*@o.
....##.
...###.
(13705 - not trivial - not *very* interesting, hmm)
#####.
#.o.##
#..o.#
##.#.#
.##*.#
p*##.#
#..###
(15714-fine? not 100% characterfull but ok to figure out)
.po..
#**##
o##..
*.##.
o.##.
(2792 ok? not awful )
p#o.
.*..
o**#
..o.
(27999 but simpified)
.#..#
.*.#.
..o@.
p#..#
#....
(10986 ok? tricky! solvable! some unnecessary crud?)
.#...#
###*..
.#*#..
o.#p#.
##.o..
(7082 - somehwatcute)
#.#o
.@*#
p..#
.*##
...o
(6672 - somehwat pleasing switcharoo)
o..p##
##.*..
....##
..#@#.
#.....
(10724 - can be thought through - and took a bit of thinking, but not horrific)
o...#
#.**.
.*.##
o#p..
.#..o
(47513 not very "conceptual", but something I could work out...not ferociously hard)
o...#
p##*#
*#*o#
.#..o
#....
(14778 not to hard - fine? not great though)
.##.k
.#.#*
o#.*.
*..o.
.....
(59323 easy but ok?)
......
..##..
.#.@*o
k*.#.@
.##...
(26315 easy but ok!)
.#...o
#.*#.o
##*..p
..###.
.....#
(17389 easy but ok?)
o.p.##
o*.#..
#.#.#.
.#*.#.
##...#
(17290 okay early level maybe? biit trivial but not complex)
p##...
...#..
.*..*#
#.#...
o.#.o.
(14687 no big concept, but looks pleasing. so lala)
#p##..
#.###.
#o....
..**.o
.##..#
(27999 easy but not awful)
.#..#
.*.#.
..o@.
p#*.#
o#...
.p.....
...*@@o
.######
#....##
(very solala)
(61254 maybe too easy/simple - but something to think about at least)
oo..#
..###
..**#
.#*..
.#.k#
(83918 not trivial but not very interesting)
.#.o.#
.o.#*.
@*.*#p
.##.##
.#o.#.
(90942 busy work)
###o.o
#.*#..
.#.#*#
.###*p
o..*o.
(135935 v. easy)
##.#o
###..
.*.o@
.#.##
p*..#
..#.#
#.#..
(bad levels)
(55767 conceptually uninteresting / reminds me of microban 1)
.o*o.
@.*##
#....
p#.@.
...##
(68359 very slightly tricky but no real concept - and maybe a bunch of junk blocks)
.#...
.@.#.
p.#@o
#@.*.
..#..
(56900 trivial)
o....
.@#..
.#*#.
#.*.p
###o.
(16321 trivial)
##..#
p..*#
.#**o
oo#..
#...#
(36561 trivial)
#.*#o.
.##.o.
....*.
.*.o.@
..###p
(69995 bad uninterseting)
o#.oo#
@*#*..
..*..p
###...
#.....
(5894 trivial)
....*o
.*#..#
..#...
#.#*#.
#oo*po
(10531 trivial)
......
.##.#k
..#.#.
#*o*..
@o..*.
(21556 kinda trivial)
.o.p#.
...**.
*o*.#.
o#o##.
..#..#
(1658 trivial)
.p.#.#
o#.o.#
....*#
.#.*..
.#....
(19402 trivial )
##p..o
.#..#.
#...*.
.*##.o
....#.
(16195 too easy I think - nice starting confivuariong)
...o..
##.*#.
####po
..*.##
....#.
(19595 trivial)
.p.###
.#.*.#
.#*##.
.##.#o
....o.
(21681trivial)
.o...#
#..@*#
#.##p#
..##..
......
(12525 bad)
..###p
oo#.#.
#.#.*.
.#.#*.
#.##..
(13764 bad - one cvrate didn't need to be moved at all)
#.#...
##@.#.
..##*p
.o.##.
...#.#
(3180 trivial)
..#o..
.**.##
..##.#
..p.#.
#o####
(3311 messy)
.#....
#.####
.#*#o.
..*#.o
.p..#.
(3668 bad)
..#.o.
#..*p.
.#*#..
.####.
..#o..
(68261 trivial )
..#oo.
.*.##.
k.**.#
##.o*#
##....
(81327 triival)
#.##o.
..#..#
..**##
.k*.##
#o.*o.
(18616 trivial almost)
....#.
o@o..#
**####
..#..#
...#.#
.p#...
(20088 trivial)
.o*.p#
#.##..
..#.#.
.*o*#.
##.o..
..##..
(32072 too easy)
##.o..
#.*@#.
##....
....##
p##.#.
#o*...
(64125 meh not great)
.....
.#**#
oo.#.
p*#.#
.##.o
(4510 - bad/boring)
k...
.*#o
.**.
.o##
(48518 - mildly diverting - not trivial - but hmmm)
.#..#
.*.##
o..@.
.#.@p
.#..#
(10364 - bit easy)
...o#
..o*#
#*.##
..*#.
#po#.
(20356 - honestly the above one is better)
####.o
#..#..
#.*###
p*...#
#o...#
#..###
####..
(LEVELS TO TEST:)
message level 1 of 10
####..
#.O#..
#..###
#@P..#
#..*.#
#..###
####..
(3261 - trivial)
######
#p.oo#
#.#..#
#..*.#
#..*.#
#o.*.#
######
(11735 - trivial)
######
##.*o#
#.#..#
#.*p.#
#.@..#
#..o.#
######
########
#...####
#...####
#.p.*@o#
#......#
#......#
########
(16518 trivial :[ )
#.###.#
.#.#...
#p#*@o#
#.#...#
#...##.
(above but tidied up)
......
.p.*@o
.#####
#...#.
.......
.......
.p.*@o.
.......
.......
message level 2 of 10
######
#....#
#.#P.#
#.*@.#
#.O@.#
#....#
######
(6073 - trivial)
..####o.o
###..####
#..*.p..#
#.#..#*.#
#....#..#
#########
(10224 - bit easy - might spoil level 1 variant if it comes before?)
..####...
###..####
#.....*.#
#.#*p#.o#
#...o#..#
#########
(14202 - slightly less trivial)
o.####...
###.*####
#....p*o#
#.#..#..#
#....#..#
#########
(17491 - trivial)
..####..o
###..####
#.*....p#
#.#..#*.#
#.o..#..#
#########
(19712 - boring)
..####..o
###..####
#.@#.#*.#
#.#..#.p#
#...##..#
#########
message level 3 of 10
..####...
###..####
#.....*.#
#.#..#*.#
#.O.O#P.#
#########
########
#......#
#..***k#
#......#
#####..#
ooo.####
(5147)
########
#....*o#
#.*.@..#
#......#
#####po#
....####
message level 4 of 10
########
#......#
#..***p#
#......#
#####..#
ooo.####
########
#......#
#.O@@*P#
#......#
#####..#
....####
(14429 trivial)
########
#.o..o.#
#.*.p..#
#....*.#
#####..#
o*..####
(26502 trivial)
########
#...*.o#
#.*..o.#
#o..p..#
#####*.#
....####
message level 5 of 10
.#######
.#.....#
.#.O*O.#
##.*P*.#
#..O*O.#
#......#
########
message level 6 of 10
######.#####
#....###...#
#.**.....#P#
#.*.#OOO...#
#...########
#####.......
(13522)
######.#####
#....###...#
#.**.....#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#
...###
(14496 - trivial)
#####.
#...##
##..##
##.*.#
.##.o#
o*##.#
.p.###
message level 10 of 10
......#####
......#O..#
......#O#.#
#######O#.#
#.P.*.*.*.#
#.#.#.#.###
#.......#..
#########..
message congratulations!
....
....
....
....
.....
.....
.....
.....
.....
......
......
......
......
......
.....
.....
.....
.....
.....
.....
.....
......
......
......
......
......
......
(
choose 3 [ target ] [ no target no wall no player ] -> [ ] [ target ]
choose 3 [ crate ] [ no wall no player ] -> [ ] [ crate ]
choose 1 [ player ] [ ] -> [ ] [ player ]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment