|
@ -18,8 +18,6 @@ var room = function(capacityP, pass, owner) |
|
|
//name of the room
|
|
|
//name of the room
|
|
|
this.roomName = owner.name; |
|
|
this.roomName = owner.name; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//list of words used in the game
|
|
|
//list of words used in the game
|
|
|
//7 for now will change later to be room specific
|
|
|
//7 for now will change later to be room specific
|
|
|
this.words = utils.getRandomWords(7); |
|
|
this.words = utils.getRandomWords(7); |
|
@ -429,4 +427,4 @@ io.on('connection', function(socket) |
|
|
|
|
|
|
|
|
http.listen(port, function() { |
|
|
http.listen(port, function() { |
|
|
console.log('listening on *:3000'); |
|
|
console.log('listening on *:3000'); |
|
|
}); |
|
|
|
|
|
|
|
|
}); |