initial commit of poker game

This commit is contained in:
Edward Yang
2015-03-20 14:21:44 -07:00
commit cd7f17778f
147 changed files with 10833 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
module.exports = function(app){
return new Remote(app);
};
var Remote = function(app){
this.app = app;
this.tableService = app.get('tableService');
};
var remote = Remote.prototype;
/**
* Remove member/player from table
*
* @param {string} uid user id
* @param {string} sid server id
* @param {string} tid channel id
* @param {function} cb callback
*
*/
remote.removeMember = function(uid, sid, tid, cb){
this.tableService.removeMember(tid, uid, cb);
};