Skip to content

Instantly share code, notes, and snippets.

@increpare
Created May 3, 2024 00:10
Show Gist options
  • Save increpare/0d21225dd00664e44c5c2ff90e0b05f9 to your computer and use it in GitHub Desktop.
Save increpare/0d21225dd00664e44c5c2ff90e0b05f9 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 mergecell
author David Skinner
homepage www.puzzlescript.net
run_rules_on_level_start
background_color darkgray
text_color white
========
OBJECTS
========
Background
lightgray
Wall
darkgray
Player
gray gray gray gray
.000.
.111.
22222
.333.
.3.3.
Crate_o
white
00000
0...0
0...0
0...0
00000
crate_b
black
00000
0...0
0...0
0...0
00000
good
#00ff00
.....
.000.
.000.
.000.
.....
bad
#ff0000
.....
.000.
.000.
.000.
.....
noblack_u
black
.....
.....
.....
..0..
..0..
noblack_d
black
..0..
..0..
.....
.....
.....
noblack_l
black
.....
.....
...00
.....
.....
noblack_r
black
.....
.....
00...
.....
.....
nowhite_u
white
.....
.....
.....
..0..
..0..
nowhite_d
white
..0..
..0..
.....
.....
.....
nowhite_l
white
.....
.....
...00
.....
.....
nowhite_r
white
.....
.....
00...
.....
.....
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = crate_o
o = Crate_o
@ = Crate_b
nowhite = nowhite_u or nowhite_d or nowhite_l or nowhite_r
noblack = noblack_u or noblack_d or noblack_l or noblack_r
notoken = nowhite or noblack
crate = Crate_O or crate_b
tag = good or bad
=======
SOUNDS
=======
Crate move 36772507
================
COLLISIONLAYERS
================
Background
nowhite_u,noblack_u
nowhite_d,noblack_d
nowhite_l,noblack_l
nowhite_r,noblack_r
Player, Wall, Crate
good, bad
======
RULES
======
[ tag ] -> []
[notoken]->[]
[ > Player | Crate ] -> [ > Player | > Crate ]
late [crate_o | crate_b ] -> [ good Crate_O | good crate_b ]
late [ crate_o | crate_o ] -> cancel
late [ crate_b | crate_b ] -> cancel
late up [crate_o | ] -> [ crate_o | nowhite_u ]
late up [crate_b | ] -> [ crate_b | noblack_u ]
late down [crate_o | ] -> [ crate_o | nowhite_d ]
late down [crate_b | ] -> [ crate_b | noblack_d ]
late left [crate_o | ] -> [ crate_o | nowhite_l ]
late left [crate_b | ] -> [ crate_b | noblack_l ]
late right [crate_o | ] -> [ crate_o | nowhite_r ]
late right [crate_b | ] -> [ crate_b | noblack_r ]
==============
WINCONDITIONS
==============
all crate on good
=======
LEVELS
=======
(8934)
#######
#.*..p#
#.*..##
#...#.#
##@@..#
#.....#
#######
(not so hard? ok?)
#######
#..*..#
#..*..#
##@#..#
#.@.#.#
#p....#
#######
(3397)
#######
#...*.#
#...*.#
#p.#..#
#@@..##
#....##
#######
(kinda trivial?)
#######
#.....#
##.#*.#
##p.*.#
#@@..##
#.....#
#######
#######
#..#..#
#...**#
#.....#
#..@p##
#..@..#
#######
######
#....#
#@.*##
#p...#
#....#
######
(13771 meh)
#######
#.....#
##@@..#
#.....#
#.#..*#
#.*..p#
#######
(1456 meh)
######
#.p@.#
#.@..#
#*...#
#..*.#
######
(1512 - favourite level yet?)
######
#p@.##
#..@.#
#.*..#
#..*.#
######
(33969 - not terrible)
#######
#...*.#
#..*..#
#.#...#
#@.p@*#
#.@...#
#######
(8623 - not hard but also ok? nice level shape)
######
#...##
#.@..#
#.*..#
#p@..#
##*.##
#*..@#
######
(14908 - not at lal hard)
######
#....#
#..@.#
##*..#
#.@.p#
#.*..#
#*..@#
######
(29841 so so - okay - not trivial?)
######
#..*.#
#p@..#
#@...#
##.*@#
#....#
#*...#
######
(v. simple)
#######
#.....#
#.@.@.#
#.*.#.#
#..*..#
#.p...#
#######
#######
#..#..#
#.@@..#
#.*.#.#
#..*..#
#.p...#
#######
(7050 - HARD!)
#######
#....@#
#.#@..#
#*....#
#.*p###
#.....#
#######
(30053 ok?hmm.)
######
#*...#
#..*@#
##...#
#@...#
#..@p#
#..*.#
######
######
#....#
#....#
#....#
#....#
######
#######
#.....#
#.....#
#.....#
#.....#
#.....#
#######
######
#....#
#....#
#....#
#....#
#....#
#....#
######
########
#......#
#......#
#......#
#......#
#......#
########
####..
#.o#..
#..###
#@P..#
#..*.#
#..###
####..
######
#....#
#.#P.#
#.*@.#
#.o@.#
#....#
######
(37858 - aesthetic? - fun not too hard!)
########
#...@.@#
#...#.##
#..*#..#
#*...@.#
##p*...#
########
(40057 - hard but okish)
########
#.#....#
#@..#.*#
#....#.#
#@*..*.#
#...@p.#
########
(18132 -weiß nicht ob meine Lösung die einzige ist, aber - nicht so schwer und macht bssl spaß (update: ist nicht, die andere Lösung ist nicht so sps̄ aber trotzdem nicht nichts))
########
#..@...#
##...#.#
#.*....#
#*.p..##
#..*##@#
#...@..#
#.#...##
########
(20088 - trivial)
######
#.*..#
#....#
##..p#
#*#.@#
#..@.#
#....#
#*...#
##.@.#
##...#
######
(50960 - trivial)
######
##...#
#.#*.#
#.#p.#
#...*#
##@..#
#@...#
#.@..#
#...*#
#..#.#
######
(32839 - visuall striking but trivial :[)
######
#..#.#
#....#
#.@.@#
##...#
##.###
#..*.#
##.#.#
#..*.#
##.p.#
######
(28849)
######
##.*p#
#.#..#
###*.#
#.#.##
#....#
##...#
#...@#
#.@..#
#.#..#
######
(
choose 7 [ no wall ] -> [ wall ]
choose 1 [ no wall ] -> [ player ]
choose 3 [ no wall no crate no player ] -> [ crate_o ]
choose 3 [ no wall no crate no player ] -> [ crate_b ]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment