Skip to content

Instantly share code, notes, and snippets.

View devyn's full-sized avatar
🚴
does the Highway Code apply to the Information Superhighway?

Devyn Cairns devyn

🚴
does the Highway Code apply to the Information Superhighway?
View GitHub Profile
@devyn
devyn / game.html
Last active December 10, 2015 23:59 — forked from anonymous/game.html
<html>
<head>
<title>Game</title>
<script>
var g, lt = Date.now();
var scene = [];
function step() {
var ot = lt;
@devyn
devyn / gist:7520392
Last active December 28, 2015 15:19 — forked from anonymous/gist:7518312
// -------------------------------------------------------------------------------------------------------------
// simpleStarTrekSK - The program skeleton for a simple star trek game. The student must complete the game
// according to the lab instructions. The bulk of the game must be defined in the function
// starTrek(), to be defined by the student including any necessary other functions. As students
// implement the required code, they should add their attributions to the change log below,
// as well as add comment headers explaining each function they write and include attributions
// for any new code and functions they add.
//
// Written: E. Basiachvili, Langara College, 2011 used with permission by below
// Changes: P. Baker, Langara College, October 2013, comments added, minor modifications, starTrek() function
abc
foo bar (widget dongle)
def
baz mud
wibble wobble
spaz
foo bar (widget dongle)
baz mud
wibble wobble
spaz
-- or --
{foo bar (widget dongle); baz mud} {wibble wobble}; spaz
implementation console trace[] Hi @#two;
infrastructure affix[] [ foo[] a b c d [two: implementation console explode[] Yo!] ];