Skip to content

Instantly share code, notes, and snippets.

Created November 17, 2014 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4fb2ca45ffb02f2509b5 to your computer and use it in GitHub Desktop.
Save anonymous/4fb2ca45ffb02f2509b5 to your computer and use it in GitHub Desktop.
var GameController = function () {
Arduino.on(Arduino.ARDUINO_GOAL, function (team) {
goal(team);
});
Arduino.on(Arduino.ARDUINO_IS_STOPPED, function () {
_stop(currentGame, true);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment