Skip to content

Instantly share code, notes, and snippets.

@increpare
Created April 22, 2024 17:59
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/90cd3a4c315b6b8eb7058577c9a65968 to your computer and use it in GitHub Desktop.
Save increpare/90cd3a4c315b6b8eb7058577c9a65968 to your computer and use it in GitHub Desktop.
Autopush (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....#
...#########
######
#....#
#....#
#....#
#....#
######
######
#....#
#....#
#....#
#....#
#....#
######
#######
#.....#
#.....#
#.....#
#.....#
#.....#
#######
###########
#.........#
#.........#
#.........#
#.........#
###########
########
#......#
#......#
#......#
#......#
#......#
#......#
########
#####..
#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 4 [ no wall no player no crate ] -> [ crate ]
choose 4 [ 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