Added 10 more gists.
This commit is contained in:
3
SarahTheSpaceSpy.coffee/README.md
Normal file
3
SarahTheSpaceSpy.coffee/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
A short story about a programmer, written in programming.
|
||||
|
||||
Forked from [ncase/SarahTheSpaceSpy.js](https://gist.github.com/ncase/6451ba18325edac8681d)
|
94
SarahTheSpaceSpy.coffee/SarahTheSpaceSpy.coffee
Normal file
94
SarahTheSpaceSpy.coffee/SarahTheSpaceSpy.coffee
Normal file
@@ -0,0 +1,94 @@
|
||||
StartDayAgain = ->
|
||||
|
||||
do sarah.wakeUp
|
||||
|
||||
# What if my life was like a movie? In space?
|
||||
|
||||
sarah.goto "Bathroom"
|
||||
sarah.exit sarah.pajamas
|
||||
sarah.clean sarah
|
||||
sarah.clean sarah.teeth
|
||||
sarah.enter sarah.clothes
|
||||
|
||||
# I'd jump into my spaceship, and fly off to
|
||||
# Astroexplorer Headquarters, reporting for duty.
|
||||
|
||||
sarah.goto "Garage"
|
||||
sarah.enter sarah.car
|
||||
sarah.goto "Monolith Software Corp."
|
||||
sarah.exit sarah.car
|
||||
sarah.goto "My Cubicle"
|
||||
|
||||
# And I'd be the most popular gal on board.
|
||||
# Everyone would love Agent #001, SARAH THE SPACE SPY
|
||||
|
||||
if sarah.meets "coworker" then sarah.say "Hi." else sarah.say null
|
||||
sarah.enter sarah.cubicle
|
||||
|
||||
# Yes, Agent #001 uses her hacking skills to break into
|
||||
# alien computer networks, steal their secret technology,
|
||||
# and help humanity take over the galaxy!
|
||||
|
||||
until isCurrentTime "12:30"
|
||||
if numTasksLeft > 0 then do sarah.work else do sarah.pretendToWork
|
||||
|
||||
# Hold up, gotta refuel my engines.
|
||||
|
||||
sarah.exit sarah.cubicle
|
||||
food.enter sarah
|
||||
sarah.enter sarah.cubicle
|
||||
|
||||
# And, back to my mission! You think SARAH THE SPACE SPY
|
||||
# would simply walk away from a long list of impossible tasks?
|
||||
# Ha! I may rest, but I do not give up.
|
||||
# AGENT #001 NEVER GIVES UP.
|
||||
|
||||
until isCurrentTime "17:00"
|
||||
do sarah.pretendToWork
|
||||
|
||||
# Even though SARAH THE SPACE SPY could take on the whole
|
||||
# universe by herself, she's loyal to the human race.
|
||||
# She's selfless. Always ready to take one for the team.
|
||||
|
||||
until isCurrentTime "17:15"
|
||||
do sarah.pretendToWork
|
||||
|
||||
# Thanks to SARAH, humanity is safe once again. All in a day's work.
|
||||
# Now, it's time to fly back to my planetary base station.
|
||||
|
||||
sarah.enter sarah.car
|
||||
sarah.goto "Home"
|
||||
|
||||
# Fade to black. Roll credits.
|
||||
|
||||
sarah.exit sarah.car
|
||||
sarah.goto "Living Room"
|
||||
|
||||
# Yeah. That would be a great movie. I'd totally watch it.
|
||||
|
||||
sarah.watch "Classic Sci-fi Shows on Netflix"
|
||||
sarah.watch "Space Documentaries on YouTube"
|
||||
sarah.watch "funny cat gifs"
|
||||
|
||||
# One day, I'll write up that sci-fi young adult novel.
|
||||
# I swear! I made it my New Year's Resolution again this year,
|
||||
# because I haven't given up. Agent #001 never gives up.
|
||||
|
||||
sarah.goto "Bathroom"
|
||||
sarah.exit sarah.clothes
|
||||
food.exit sarah
|
||||
sarah.clean sarah
|
||||
sarah.clean sarah.teeth
|
||||
sarah.enter sarah.pajamas
|
||||
|
||||
# I'm just too busy... There's no time right now.
|
||||
# I just gotta keep on working, keep on moving up,
|
||||
# and one day, I'll have all the free time in the world!
|
||||
# Then... Then, I can start living my life.
|
||||
|
||||
sarah.goto "Bedroom"
|
||||
do sarah.sleep
|
||||
|
||||
# ...one day.
|
||||
|
||||
do StartDayAgain
|
Reference in New Issue
Block a user