Skip to content

Instantly share code, notes, and snippets.

View sebastianfrelle's full-sized avatar

Sebastian Frelle Koch sebastianfrelle

  • Aarhus, Denmark
View GitHub Profile
var MainModule = (function() {
var alertMsg = "Der er fejl izi game izi lyfe";
function privateGetAlertMsg() {
return alertMsg;
}
function privateSetAlertMsg(newAlertMsg) {
alertMsg = newAlertMsg;
}
require "securerandom"
class Player
def initialize name
@name = name
@games = [] # what are all the games this player has been involved in?
# IDEAS for attributes
# - Time stamp for creation of this player object
# - UUID because multiple players might have similar names