Create a gist now

Instantly share code, notes, and snippets.

anonymous /game-controller-example Secret
Created Nov 17, 2014

What would you like to do?
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