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 characters
<html> | |
<head> | |
<title>Game</title> | |
<script> | |
var g, lt = Date.now(); | |
var scene = []; | |
function step() { | |
var ot = lt; |
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 characters
// ------------------------------------------------------------------------------------------------------------- | |
// 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 |
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 characters
abc | |
foo bar (widget dongle) | |
def | |
baz mud | |
wibble wobble | |
spaz |
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 characters
foo bar (widget dongle) | |
baz mud | |
wibble wobble | |
spaz | |
-- or -- | |
{foo bar (widget dongle); baz mud} {wibble wobble}; spaz |
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 characters
implementation console trace[] Hi @#two; | |
infrastructure affix[] [ foo[] a b c d [two: implementation console explode[] Yo!] ]; |
OlderNewer