Created
September 22, 2018 20:49
-
-
Save trptcolin/5dfea41d317a6adb7f7874ae78e210f0 to your computer and use it in GitHub Desktop.
Revisions
-
trptcolin created this gist
Sep 22, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ Play this game by pasting the script in http://www.puzzlescript.net/editor.html This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,150 @@ title Zombie Invasion author Owen homepage www.puzzlescript.net ======== OBJECTS ======== Background (special, automatically placed in its own layer) darkgreen 00000 00000 00000 00000 00000 Player (Required by game) PINK ..0.. 00000 ..0.. .000. .0.0. Zombie gray ..0.. 00000 ..0.. .000. .0.0. Goal black 00000 00000 00000 00000 00000 Wall GREEN 00000 00000 00000 00000 00000 ======= LEGEND ======= . = Background P = Player * = Zombie G = Goal # = Wall ========= SOUNDS ========= Player Move 92281305 EndLevel 31700902 ================ COLLISIONLAYERS ================ Background Goal Player, Zombie, Wall ====== RULES ====== [ Zombie | ... | Player ] -> [ > Zombie | ... | Player ] [ > Zombie | Wall ] -> [ < Zombie | Wall ] [ > Zombie | Player ] -> [ Zombie | Zombie ] message You got bitten! You're a zombie now. Press r to restart! ============== WINCONDITIONS ============== some Player on Goal ======= LEVELS ======= ############# #...........# #...........# #.........G.# #....*......# #...........# #...........# #..P........# #...........# #...........# ############# message You escaped! For now... ############# #...........# #...........# #.........G.# #....*......# #.......*...# #...........# #..P........# #...........# #...........# ############# message Whew, that was a close one! But there are more coming! ############# #...........# #...........# #.........G.# #....*......# #.......*...# #...*.......# #..P...*....# #...........# #...........# ############# message Nice, you're still among the living. Look out behind you! ############# #...........# #...........# #......*..G.# #....*......# #.......*...# #...*.......# #..P...*....# #...........# #.*..*...*..# ############# message Wow, you escaped unscathed!