Skip to content

Instantly share code, notes, and snippets.

@increpare
Created April 23, 2024 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save increpare/4a264973233c23c37ab8e63b2b4e2762 to your computer and use it in GitHub Desktop.
Save increpare/4a264973233c23c37ab8e63b2b4e2762 to your computer and use it in GitHub Desktop.
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title I'm nobody special
author increpare
homepage www.increpare.com
(
levels are rifs on those from David Skinner's Microban
www.sneezingtiger.com/sokoban/levels/microbanText.html
)
========
OBJECTS
========
Background
darkgray gray
11111
01111
11101
11111
10111
Target
darkblue
.....
.000.
.0.0.
.000.
.....
Wall
darkgray black
00010
11111
01000
11111
00010
Player
black orange white blue
.000.
.111.
22222
.333.
.3.3.
pushCrate
orange
00000
0...0
0...0
0...0
00000
pullcrate
green lightgreen
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
crate = pullCrate or pushcrate
. = Background
# = Wall
P = Player
* = PushCrate
@ = PushCrate and Target
$ = pullcrate
% = pullcrate and Target
O = Target
=======
SOUNDS
=======
Crate MOVE 36772507
endlevel 83744503
startgame 92244503
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate
======
RULES
======
[ > Player | pushCrate ] -> [ > Player | > pushCrate ]
[ < player | pullcrate ] -> [ < player | < pullcrate ]
==============
WINCONDITIONS
==============
all Target on Crate
=======
LEVELS
=======
message level 1 of 10
####..
#.o#..
#..###
#%p..#
#..*.#
#..###
####..
(ok!)
#########
#.......#
#...#...#
#..%*%..#
#..%o%..#
#...p...#
#.......#
#########
(elegant)
.......#####
.......#...#
########.#.#
#o.o.$.*...#
####.#.#...#
...#..p....#
...#########
######
#....#
#....#
#....#
#....#
######
######
#....#
#....#
#....#
#....#
#....#
######
#######
#.....#
#.....#
#.....#
#.....#
#.....#
#######
###########
#.........#
#.........#
#.........#
#.........#
###########
########
#......#
#......#
#......#
#......#
#......#
#......#
########
(839 - so la la - really hard for me for some reason at first, but not conceptually interseting)
######
#$...#
#..@##
#...p#
#..o.#
######
(1370 boring)
######
#....#
#*o$o#
#o*.$#
##...#
#o.p.#
######
(17544 possible to work out in advnace, which is good, but execution isn't interesting)
######
#.o..#
#$p.*#
#.*oo#
#o...#
#.$#.#
######
(77070 interseting to think about but execution not so interesting)
######
#po.o#
#.*.o#
#....#
#..*.#
#.o$$#
######
(tidied up - pretty ok?)
######
#..###
#o..##
#.p*.#
#.o.$#
#%...#
######
(12640 meh okay?)
######
#@..o#
#$@p.#
#...*#
#$.o.#
#%..o#
######
(2312 kinda trivial /uninterseting to think about)
#######
#..o..#
#...$.#
#$.o%.#
#...@.#
##.p..#
#######
(107816)
######
#.o..#
#o*p$#
#o.oo#
#*$@.#
#$...#
######
(5009 trivial)
###########
#...#.....#
#.o*#o.*..#
#$.op.#.%.#
#...#.....#
###########
######
#.o$.#
#.$.@#
#@$*.#
#....#
#op..#
######
#####..
#o$.##.
#p...##
##....#
.##.@.#
..##..#
...####
(only interesting if you know the original version)
########
#......#
#.o@%*p#
#......#
#####..#
....####
(not much going on)
.#######
.#.....#
.#.o$o.#
##.*p*.#
#..o$o.#
#......#
########
(not interesting)
######.#####
#....###...#
#.$$..p..#.#
#.*.#ooo...#
#...##..####
#########...
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.*.*.*.#
#.#.#.#.###
#.......#..
#########..
..........#####
..........#...#
###########.#.#
#oo.o.$.*.*...#
#####.#.#.#...#
....#....p....#
....###########
..........#####
..........#...#
###########.#.#
#oo.o.$.*.*...#
#####.#.#.#...#
....#....p..#.#
....#######...#
..........#####
......###..
......#.###
......#o..#
......#o#.#
#######o#.#
#.p.$.*.*.#
#.#.#.#...#
#.......###
#########..
....#####..
....#...#..
....#.#.###
....#..o..#
....###o#.#
#######o#.#
#.p.$.*.*.#
#.#.#.#...#
#.........#
###########
message congratulations!
(
choose 5 [ ] -> [ wall ]
choose 1 [ no wall ] -> [ player ]
choose 1 [ no wall no player no crate ] -> [ pushcrate ]
choose 1 [ no wall no player no crate ] -> [ pullcrate ]
choose 2 [ no wall no player no target ] -> [ target ]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment