Comparing version 0.1.9 to 0.1.10
{ | ||
"name": "cheshire", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Turn based boardgame framework based on websocket", | ||
@@ -5,0 +5,0 @@ "main": "server/Cheshire.js", |
@@ -48,2 +48,3 @@ var Storage = require('./data'); | ||
if (this.isPlaying) return; | ||
console.log('starting game'); | ||
@@ -69,2 +70,5 @@ var game = new process.EventEmitter(); | ||
rule.emit('game', game); | ||
this.users.forEach(function(each) { | ||
Storage.users[each].post('gameStart', {}); | ||
}); | ||
@@ -71,0 +75,0 @@ var self = this; |
Sorry, the diff of this file is not supported yet
47197
288