Skip to content

Instantly share code, notes, and snippets.

Created August 3, 2015 02:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/feb90e507a5ec41a4519 to your computer and use it in GitHub Desktop.
Save anonymous/feb90e507a5ec41a4519 to your computer and use it in GitHub Desktop.
title
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Herding Cats
author anna anthropy
homepage www.puzzlescript.net
run_rules_on_level_start
========
OBJECTS
========
Background
DarkGreen Green
01000
10010
00100
01001
00010
Player
Brown Pink White
.111.
.0011
.0011
.222.
02220
SleepingCatBlack
Black Yellow
.....
0.0..
101..
00000
.0000
AwakeCatBlack
Black Yellow
0.0..
101.0
00000
.0000
.0..0
SleepingCatTuxedo
Black LightGreen White
.....
0.0..
101..
02002
.0200
AwakeCatTuxedo
Black LightGreen White
0.0..
101.2
02000
.0220
.2..2
SleepingCatTortoiseShell
Brown LightBlue LightBrown
.....
2.2..
101..
02202
.0020
AwakeCatTortoiseShell
Brown LightBlue LightBrown
2.2..
121.0
02202
.0020
.2..0
SleepingCatGrey
Grey LightGreen White
.....
0.0..
101..
00000
.0220
AwakeCatGrey
Grey LightGreen White
0.0..
101.0
00000
.0220
.0..0
Wall
Red DarkBrown
01000
01000
11111
00010
11111
Cat
LightGrey
..0..
0...0
..0..
00000
.000.
Empty
Black
=======
LEGEND
=======
. = Background
# = Wall
P = Player
m = Cat
X = Empty
SleepingCat = SleepingCatBlack or SleepingCatTuxedo or SleepingCatTortoiseShell or SleepingCatGrey
AwakeCat = AwakeCatBlack or AwakeCatTuxedo or AwakeCatTortoiseShell or AwakeCatGrey
WakerUpper = Player or AwakeCat
=======
SOUNDS
=======
Sfx0 9963503
Sfx1 15006104
Endlevel 72533508
================
COLLISIONLAYERS
================
Background
Player, Cat, SleepingCatBlack, AwakeCatBlack, SleepingCatTuxedo, AwakeCatTuxedo, SleepingCatTortoiseShell, AwakeCatTortoiseShell, SleepingCatGrey, AwakeCatGrey, Wall, Empty
======
RULES
======
[ Cat ] -> [ random SleepingCat ]
startloop
late [ WakerUpper | SleepingCatBlack ] -> [ WakerUpper | AwakeCatBlack ] Sfx0
late [ WakerUpper | SleepingCatTuxedo ] -> [ WakerUpper | AwakeCatTuxedo ] Sfx0
late [ WakerUpper | SleepingCatTortoiseShell ] -> [ WakerUpper | AwakeCatTortoiseShell ] Sfx0
late [ WakerUpper | SleepingCatGrey ] -> [ WakerUpper | AwakeCatGrey ] Sfx0
endloop
[ > Player ] [ AwakeCat ] -> [ > Player ] [ > AwakeCat ]
[ > WakerUpper | Wall ] -> cancel
==============
WINCONDITIONS
==============
No SleepingCat
=======
LEVELS
=======
Message Oh, a kitty!
#####
#.#.#
#.m.#
#...#
#...#
#...#
#.p.#
#####
Message Hi, Kitty.
xxx########
####.m....#
#mp......m#
####.m....#
xxx########
Message Oh, hi to you too!
xx#######xx
x##..m..##x
##m.....m##
#.........#
#.........#
#m...p...m#
#.........#
#.........#
##m.....m##
x##..m..##x
xx#######xx
Message Alright, I'm going to do it! I'm going to make friends with every cat!
###########
#m.......m#
####...####
xxx#.p.#xxx
####...####
#m.......m#
###########
Message I might need the cats to help me, though!
xxx#######x
xxx#.....#x
xxx#.....#x
xxx#.m...#x
#######..##
#.........#
#p..m.....#
#.......#.#
######...m#
xxxxx######
Message It could be hard getting around with such a big group!
xxxxx######
xxxxx#...m#
xxxxx#....#
######....#
#m...#...m#
#....#..###
#....#..#xx
#m...#..#xx
###.....#xx
xx#..p..#xx
xx#######xx
xxx##########x
xxx#.......m#x
xxx#.....####x
xxx#.....#xxxx
xxx#...#######
####...#..m..#
#...........p#
#......#..m..#
#......#######
#..m...#xxxxxx
########xxxxxx
xxxx######
#####...m#
#......###
#m.#.p.#xx
#......#xx
##.m.###xx
x#...#xxxx
x#####xxxx
#############
#..m..#.....#
#.....#.....#
#m.......p..#
#...........#
#.....#.....#
###..###..###
#.....#.....#
#...........#
#m.........m#
#.....#.....#
#..m..#..m..#
#############
xxxxxxxxx#########
xxxxxxxxx#m......#
xxxxxxxxx#.......#
xxxxxxxxx#.......#
xx########......m#
xx#m....m###...###
xx#......#m.....m#
xx#......#.......#
xx#m.....#.......#
#######..#...p...#
#m.......#.......#
#................#
#...............m#
#m.......#########
##########xxxxxxxx
Message So many kitties!
#############
#...........#
#...........#
#...mmmmm...#
#...m.......#
#...m.mmm...#
#...m.#.p...#
#...mmmmm...#
#...........#
#...........#
#######.....#
xxxxxx#.....#
xxxxxx#.....#
xxxxxx#..m..#
xxxxxx#######
Message You guys rule.
#########
#mmmmmmm#
#mm...mm#
#m.....m#
#m..p..m#
#m.....m#
#mm...mm#
#mmmmmmm#
#########
Message You win!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment