Skip to content

Instantly share code, notes, and snippets.

@chz16
Created October 9, 2025 00:31
Show Gist options
  • Select an option

  • Save chz16/af40f39797a7d2f8728f1a0fdb3f2589 to your computer and use it in GitHub Desktop.

Select an option

Save chz16/af40f39797a7d2f8728f1a0fdb3f2589 to your computer and use it in GitHub Desktop.
Audio-only Microban 1 code
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Audio-only Microban 1
author David Skinner
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.)
========
OBJECTS
========
Background
transparent
(lightgreen green
11111
01111
11101
11111
10111)
Target
transparent
(darkblue
.....
.000.
.0.0.
.000.
.....)
Wall
transparent
(brown darkbrown
00010
11111
01000
11111
00010)
Player
transparent
(black orange white blue
.000.
.111.
22222
.333.
.3.3.)
Crate
transparent
(orange
00000
0...0
0...0
0...0
00000)
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
Solid = Wall or Crate
=======
SOUNDS
=======
SFX0 97211507 (step on grass)
SFX1 9577307 (step on target)
SFX2 97532504 (walk into wall)
SFX3 36772507 (crate push)
SFX4 66873704 (can't push crate)
SFX5 11576105 (crate on target)
SFX6 59300508 (crate off target)
endlevel 83744503
startgame 92244503
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate
======
RULES
======
[ > Player | no Solid no Target ] -> [ | Player ] SFX0
[ > Player | Target no Crate ] -> [ | Player Target ] SFX1
[ > Player | Wall ] -> [ Player | Wall ] SFX2
[ > Player | Crate no Target | no Solid no Target ] -> [ | Player | Crate ] SFX3
[ > Player | Crate | Solid ] -> [ Player | Crate | Solid ] SFX4
[ > Player | Crate no Target | Target no Crate ] -> [ | Player | Target Crate ] SFX3 SFX5
[ > Player | Crate Target | Target no Crate ] -> [ | Player Target | Crate Target ] SFX3 SFX5 SFX6
[ > Player | Crate Target | no Target no Solid ] -> [ | Player Target | Crate ] SFX3 SFX6
==============
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