Skip to content

Instantly share code, notes, and snippets.

@variousauthors
Created November 18, 2022 23:12
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 variousauthors/ab1eda48c926ac06677da5c25df9b630 to your computer and use it in GitHub Desktop.
Save variousauthors/ab1eda48c926ac06677da5c25df9b630 to your computer and use it in GitHub Desktop.
Ark (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Ark
author Ziggy
homepage arrogantgamer.itch.io
========
OBJECTS
========
Background
#081820 #346856 #88c070 #e0f8d0
33333
33333
33333
33333
33333
Wall
#081820 #346856 #88c070 #e0f8d0
22221
21110
21110
21110
10000
Player
#081820 #346856 #88c070 #e0f8d0
.....
.....
.....
.....
.....
PLeft
#081820 #346856 #88c070 #e0f8d0
22...
21222
21202
21222
22...
PUp
#081820 #346856 #88c070 #e0f8d0
22222
21112
.222.
.202.
.222.
PRight
#081820 #346856 #88c070 #e0f8d0
...22
22212
20212
22212
...22
PDown
#081820 #346856 #88c070 #e0f8d0
.222.
.202.
.222.
21112
22222
Crate
#081820 #346856 #88c070 #e0f8d0
21112
10221
12021
12201
21112
Stairs
#081820 #346856 #88c070 #e0f8d0
33322
33122
32100
12000
10000
Hole
#081820 #346856 #88c070 #e0f8d0
00000
00000
00000
00000
00000
Crumble
#081820 #346856 #88c070 #e0f8d0
33313
32333
33332
13313
32333
=======
LEGEND
=======
. = Background
# = Wall
* = Crumble
P = Player and PDown
C = Crate
O = Hole
S = Stairs
sprite = PLeft or PUp or PRight or PDown
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Stairs, Crumble, Hole
Player, Wall, Crate
PLeft, PUp, PDown, PRight
======
RULES
======
left [ > Player | no Player ] -> [ > Player > PLeft | no Player ]
right [ > Player | no Player ] -> [ > Player > PRight | no Player ]
up [ > Player | no Player ] -> [ > Player > PUp | no Player ]
down [ > Player | no Player ] -> [ > Player > PDown | no Player ]
[ > Player Crumble ] -> [ > Player Hole ]
[ > Player | Crate ] -> [ > Player | > Crate ]
[ > Player | Hole ] -> [ Player | Hole ]
[ > Crate | Hole ] -> [ | Background ]
late [ sprite | ... | Player ] -> [ sprite | ... | Player sprite ]
late [ sprite no Player ] -> [ no Player ]
==============
WINCONDITIONS
==============
All Player on Stairs
=======
LEVELS
=======
(Level0)
..........
.#.....#..
#.#..#.#.#
###.#..##.
#.#.#..#.#
..........
#####.P.S.
#S.OC.....
##########
(easy)
(Level1)
##########
###..#####
##PC.#####
###C.#####
###.C.####
##OC..####
##OOOO####
##S#######
##########
(very easy, no trick)
(Level7)
##########
##########
##########
##########
##########
SOOC.C..P#
.OO.C*C.##
#####...##
##########
(Level6)
##S#######
##.#######
#.O#..####
#P.#...###
#.C.C.C###
##.##C.###
##.#....##
##..OOO.##
##########
(Level23)
##########
##########
#P.#######
#.CC..OOS#
#*C.######
#.#.######
#...######
##########
##########
(simple, classic sokoban)
(Level16)
##########
#...######
#.C.#...##
#...#C#.##
###C....##
##...#####
##.POOOS##
##########
##########
(Level2)
##########
#.*P##.S.#
#.CC##.O.#
#...###O##
###..C...#
##.C.#...#
##..*#####
##########
##########
(Level29)
##########
##########
##########
##P..#####
##.CC*O.S#
####..####
####..####
##########
##########
(Level4)
##########
##########
###P.#####
###.C..###
#SO#.#.###
##O#.#..##
#..C..#.##
#.O.*.C.##
##########
(Level3)
##########
SOO.*....#
.OOCO.#..#
#..#C##.##
#.C.....##
####O.#.##
###.P.C.##
###.....##
##########
(Level28)
##########
##########
###...####
###.#*####
###PCCO.S#
###.#*####
###...####
##########
##########
(Level12)
##########
####.OOS##
####COO###
##*C.C####
##.##.*###
##...CP###
####...###
##########
##########
(Level22)
##########
##########
#P...*####
#.C.CC####
####C*.###
###.O*.###
###...OOS#
##########
##########
(Level5)
##########
##.......#
#OC###...#
#..PC..C.#
#..O#.C.##
###O#...##
###O######
###S######
##########
(Level8)
##########
#........#
.C.####C..
..C..*.PC.
#....#...#
#######O##
######.OOS
######...#
#######..#
(short, thinky, intermediate)
(Level18)
##########
##########
##..#.#.##
#SOO.....#
#####.#C##
#####.*.##
#####CCC##
#####.P.##
##########
(Level10)
##########
###....#S#
#....C.#.#
#.##.C*#O#
#...C..OO#
#####C...#
#####.####
#####.P###
##########
(Level9)
##########
###.C.O###
###.C..###
##..#CC###
##.P.....#
##O####..#
##O.....##
##O#######
##S#######
(a good puzzle for the middle)
(Level19)
##########
###SOO.###
#####O.###
#####O####
##P.#...##
##.CC.C.##
##...#C.##
###.....##
##########
(easy, nothing going on)
(Level11)
##########
##########
#P...#S###
#.CCC#O###
#.C*.#O###
##...OO###
##..#..###
##########
##########
(pretty darn hard!)
(Level13)
##########
#SOOO....#
######...#
#..C*...##
#..C*.*..#
#P.C*..#.#
#..C*....#
##*##.####
##....####
(fix the bottom side bug and flip this level top to bottom)
(Level30)
S#########
O#*******#
...******#
.#C****C*#
O#****##*#
.C.******#
.##******#
..##C*##.#
#..O*...P#
(Level32)
#...#S####
..*C#O#...
.#O...#CC.
.#*#O.#...
.P.#*##.##
.C.......#
#..#O*...#
####*##.##
####....##
(we should pepper these throughout, rather than clump them up)
(Level24)
##########
##########
##...O...#
##.#.#.#.#
##.#C..O.#
##.C.CC#.#
####..P#O#
########O#
########S#
(a fine level indeed)
(Level14)
#..#######
#....#...#
#.O......#
#.#.#C#.##
#C#O...O##
#O##*#*##S
.C#..C..OO
.....P..##
#####...##
(a thinky puzzle, kind of contrived)
(Level17)
##########
###..#####
###.C.####
#..OOO..##
#PCOCOOS##
#..OOOO.##
###.C.####
###...####
###..#####
(very nice, a thinker)
(Level15)
###...####
##.C.C####
##......##
###*#*#*##
#SO.O...##
###*#*####
###...C.##
###P....##
##########
(good solid level)
(Level20)
##########
#OS#######
#O########
.P.*.OC..#
.C.#.*...#
#C.#.##.##
#*##.C..##
#....#..##
##########
(we should pepper these throughout, rather than clump them up)
(Level26)
##########
##########
##...O...#
##.#.#.#.#
##.#...O.#
##.CCCC#.#
##O#..P###
##O#######
##S#######
(Level21)
##########
######...#
##.P**C..#
##.C#..###
##.*#....#
###O..CC.#
##..###..#
##..OS####
##########
(Level27)
##...#####
#..C.#####
#P.C###..#
##.*CO...#
#####.##.#
#####.#.O#
#####.C..#
########OS
##########
(we should pepper these throughout, rather than clump them up)
(this one should come last, since the solution is funny)
(Level25)
##########
##########
##...#...#
##.#.#.#.#
##.#...O.#
##.CCCC#.#
####..P#O#
########O#
########S#
(fix the bottom side bug and flip this level top to bottom)
(Level31)
S#########
O#*******#
...***#**#
.#O**.C**#
.#****#**#
O#C******#
.O*******#
.C##C##..#
#......P.#
(LevelX)
..........
..........
..#.P.....
.#....##..
###.#.#.#.
.#..#.#.#.
..........
..CC.CC...
..........
(LevelN)
##########
#.......##
#...P...##
#.CC.CC.##
#.......##
##OOOOO###
##.....###
##...S.###
##########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment