Skip to content

Instantly share code, notes, and snippets.

@lee2sman
Forked from anonymous/readme.txt
Last active August 29, 2015 14:25
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 lee2sman/612ef3bc53e90b037b43 to your computer and use it in GitHub Desktop.
Save lee2sman/612ef3bc53e90b037b43 to your computer and use it in GitHub Desktop.

Play this game here. Puzzlescript code to generate the game below.

title Marathon
author 2sman
color_palette amstrad
background_color black
key_repeat_interval 0.12
norepeat_action
youtube xpBLi65LXko
require_player_movement
========
OBJECTS
========
Player
YELLOW PINK WHITE
.222.
.000.
22122
.222.
.2.2.
Corpse
Red PINK Black
.222.
.000.
22122
.222.
.2.2.
Terminal
Yellow Black Grey
22222
20002
20102
20002
22222
AccessKey
Yellow Black Grey
22222
21012
20102
21012
22222
AccessSuccess
Yellow Pink Grey
22222
21012
20102
21012
22222
Wall
Pink Grey White
02010
10201
01020
20102
02010
Background
Black White
00000
01000
00100
00000
00000
Pfhor
Black Yellow Green
.222.
.010.
.212.
.222.
.2.2.
FirstTurn
Black
=======
LEGEND
=======
P = Player
C = Corpse
f = Pfhor
A = AccessKey
S = AccessSuccess
T = Terminal
# = Wall
. = Background
@ = Terminal and Player
=======
SOUNDS
=======
EndLevel 60201300
Restart 87049908
CloseMessage 3229506
SFX0 40776902
SFX1 83903
================
COLLISIONLAYERS
================
Background
Terminal, FirstTurn, AccessKey, AccessSuccess
Corpse
Player
Pfhor, Wall
======
RULES
======
late [ Player AccessKey ] -> [Player AccessSuccess] SFX1
(Spawn Enemies)
Random [ FirstTurn ] [ no Pfhor ] -> [ FirstTurn ] [ Pfhor ]
[ FirstTurn ]->[]
(Player Movement)
[ > Player | Wall ] -> [ Player | Wall ]
(alien Movement)
[ STATIONARY Pfhor ] -> [ randomDir Pfhor ]
[ Pfhor | ... | Player ] -> [ > Pfhor | ... | Player ]
(alien kills Player)
late [ Player Pfhor ] -> [ Corpse ] SFX0
==============
WINCONDITIONS
==============
Some Player on Terminal
=======
LEVELS
=======
message ...Somewhere in the heavens, they are waiting...
message Today at 0820 hours, the Marathon came under surprise attack from unknown hostile forces. The Marathon has sustained serious damage. The current situation is dire. All personnel are required to arm themselves and fight for their lives.
################
#P............T#
################
message I am Leela, one of the two surviving Artificial Intelligences aboard the Marathon. I have been severely damaged, and am working to understand the current situation. Find the Accesskey and proceed to the teleport terminal. By that time, I should have a better idea of what is going on.
#######################################
#........#####..........#########..T..#
#....###....##......f...#########.....#
#P...######.##..........#########.....#
##########..A#..........####....#.....#
######..................####.####.....#
#...f..#######...............####.....#
#....################....###.####.....#
#f...################....###..........#
#######################################
message <Alert> Security Breach at <294.2.577.456> I am detecting security breaches of the computer system from all over the Marathon. It seems that the aliens have some kind of cybernetic servant capable of interfacing with our systems.
message You must kill all creatures that you find. It is a priority that these creatures be stopped. If they are allowed to continue, my own security will be compromised. I cannot teleport you out of this section from here, so you will have to leave from another terminal after you find the AccessKey.
#############
#..........P#
#.###########
#.#######...#
#...........#
###########.#
#...........#
#f#.#.......#
#.#.#.#######
#......#....#
#.####.....A#
#......#....#
#.###########
#.##.....####
#...........#
#...........#
#.f.........#
#...#####...#
#...#####...#
#...#####...#
#...#####...#
#...#####...#
#...........#
#........f..#
#T..........#
#############
message There is a terminal you must reach to leave this section. Alien infiltration of this area is high; proceed with caution. You may find doors blocked or stairways retracted on the way, because the AI in control of these functions is damaged and behaving erratically. Find the AccessKey, proceed to the terminal and I will teleport you to safety.
#######################################.............
###################f############f###################
###################.############.###################
##T..##########.........########.###################
##...#....#####.........####.........###############
###..#..#...............####.........#####...#######
####.##.#######.........####.........###......#..###
###..#...###########....####................#...T###
##..##...######..##..................####..####..###
##.########......##.....####.........###############
##...#####..###..##.....####.........###############
##.#........###.........####.........###############
##...##############.############.###################
###################.############.###################
###################.############.######
#...................############.######
#.###########################.......###
#.#######A..######.....######.......###
#...........#####..###.######.......###
###########.####..####.######.......###
#...........####.##....######.....f.###
#.#.#.......####.##P.########.......###
#.#.#f###.######.######.............###
#.....##....####..####..#####.......###
#.#####.....#####......######.......###
#...........##################.....####
#####..#########################.######
#####............................######
#######################################
message Sorry to give you the bad news, but you've been kidnapped. You aren't where Leela wanted you to go, and you surely won't get there any time soon. I was watching you 'save the ship, save humanity!' How boring. How clichéd. You'll find this little visit to my playpen much more exciting. Insanely Yours, Durandal
################################
###############P################
##............................##
##............................##
##............................##
##f..........................f##
##............................##
##............................##
##............................##
##............................##
##............................##
###.###.###.###.###.###.###.####
###.###.###.###.###.###.###.####
###.###.###.###.###.###.###.####
###.###.###.###.###.###.###.####
###.###.###.###.###.###.###.####
###.###.###.###.###.###.###.####
###..##.###.###.###.###.###.####
###...#...#...#...#...#...#.####
#####.###.###.#######..##.######
###T#...#.#.#.#.#...#.#f#.#.####
###.###########...#.#.#.#.#.####
###.###.....###.###.#.#.#.#.####
###.###.###.###.###.###.#.#.####
###.....###.....###.......#.####
################################
message Greetings. You're asking yourself: Is this a trap or just a dead end? It is neither. It is a test of patience, observation and intelligence. There is a solution, and I don't even think that its a very difficult one. Insanely Yours, Durandal
################
#P............T#
################
message You have failed in your test. The demo is not complete. There is more for you to do. You must explore everything...Transport when ready.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment