Skip to content

Instantly share code, notes, and snippets.

View selfsame's full-sized avatar

Joseph Parker selfsame

View GitHub Profile
@selfsame
selfsame / gist:2789cf328df7a3175207
Last active August 29, 2015 14:10
galactopedia.in
"galactopedia" by Joseph Parker
Book 1 - Rules
[TODO
software should not be in scope unless the computer is carried (equiped) by actor.
understand "enter [software] [anything] on [computer]" - will have to break into player command parsing and I6 code
standard folders and software should be assembly parts
software should be kinds, for easy instantiation and assignment
equipment slots for phones
galactopedia
An Interactive Fiction by Joseph Parker
Release 1 / Serial number 141128 / Inform 7 build 6L02 (I6/v6.33 lib 6/12N) SD
test chamber
A plain white chamber, brightly lit.
dungeon planet
An Interactive Fiction by Joseph Parker
Release 1 / Serial number 141124 / Inform 7 build 6L38 (I6/v6.33 lib 6/12N) SD
Dark Hallway
You tread lightly on the dirt floor of this stone hallway. A dim glow is coming from a chamber to the east.
>go east
"dungeon planet" by Joseph Parker
Chapter 1 - Rules
Section 1(a) - Substance
[via http://inform7.com/learn/eg/rota/source.html]
A material is a kind of value.
The materials are stone, crystal, glass, wood, paper, bronze, copper, tin, silver, lead, iron, steel, dirt, sand, clay, flesh, bone, leather, cotton, sustenance and air.
#!/usr/bin/env python
from PIL import Image
import sys, os, errno
import json, re
mimes = {"py", "hs", "js","clj","cljs"}
args = sys.argv[1:]
1 PRINT "<!DOCTYPE html>"
2 PRINT "<html>"
3 PRINT "<head>"
4 PRINT "<style>"
5 PRINT "body{font-size: 20px; line-height: 14px; word-wrap:break-word;}"
6 PRINT "</style>"
7 PRINT "</head>"
8 PRINT "<body>"
9 PRINT "<hr>"
1 #!/usr/bin/env python
2
3 def string_to_comp(s):
4 try:
5 return globals()[s]
6 except:
7 return False
8
9 class C():
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIBwsLQGh4hA8VEXeiENcEWQUHxSIU9BcEwDbdXYku6KOoibmrGZRx/h06bzMO5e5OtPgVAfXYPLb6SwaqrVoE4uMFxsRkweOjnyS9AUbc99VLOe89AtqZOqeXkRxx01CshmhuxoIaHfkQ9qa411zJZpTwGRB02QWogqmMtab9DoHw== rsa-key-20141020
(ns biology.squid
(:use hard.core hard.input hard.tween unity.messages)
(:require unity.core))
(defn squid-start [this])
(defn squid-update [this]
(let [h (get-axis :horizontal)
v (get-axis :vertical)
(ns biology.core
(:use hard.core hard.input hard.tween unity.messages)
(:require unity.core))
(defn scene-spermwhale [_]
(add [(find-name "Main Camera") :y] -3000 3 (fn [_] (load-scene "spermwhale"))))
(defn scene-options [_]
(add [(find-name "Main Camera") :x] -20 1 (fn [_] (load-scene "spermwhale"))))