Comparing version
{ | ||
"name": "cheshire", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Turn based boardgame framework based on websocket", | ||
@@ -5,0 +5,0 @@ "main": "server/Cheshire.js", |
@@ -7,3 +7,3 @@ var Storage = require('./data'); | ||
this.rule = Storage.defaultRule; | ||
console.log('master is : ' + this.users[0]); | ||
this.isPlaying = false; | ||
@@ -10,0 +10,0 @@ } |
@@ -71,3 +71,3 @@ var Storage = require('./data'); | ||
self.event.on('startGame', function(eStartGame) { | ||
console.log('Cheshire user attempt to start a game'); | ||
console.log('Cheshire user attempt to start a game in the room - ' + JSON.stringify(self.room)); | ||
if (self.room && self.room.isMaster(self)) { | ||
@@ -74,0 +74,0 @@ return self.room.startGame(); |
Sorry, the diff of this file is not supported yet
47296
0.21%289
0.35%