// wordPotato.js // Created by Mark Brosche on 12/29/2018 // Copyright 2018 Mark Brosche // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // /*This script controls the word-potato game. */ /* global EventBridge Users AccountServices */ (function(){ var POTATO_CHANNEL = "WordPotato", DATABASE_URL, TIMER_SOUND, CLICK_SOUND, EXPLOSION_SOUND, WIN_SOUND, ONE_MINUTE; var _this, injector, phrase, holderID teamOne = [], teamTwo = []; var gameController = function(){ _this = this; } gameController.prototype = { preload: function(entityID){ _this.entityID = entityID; }, mouseReleaseOnEntity: function(id, event){ }, pickTeams: function(){ //create two zone entities, add all the Avatar UUIDs in each zone to a team }, timer: function(){ }, nextPhrase: function(){ }, timerExpired: function(){ }, playSound: function(){ }, awardPoint: function(teamNum){ }, getPotatoHolderUUID: function(){ }, gameListener: function(){ }, gameOver: function(){ }, categorySelect: function(){ }, unload: function(){ } } return new gameController; });