nodegame-client
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -241,3 +241,3 @@ (function (exports, node) { | ||
if (!state) return -1; | ||
return this.diff(state, new GameState()) | ||
return this.diff(state, new GameState()); | ||
}; | ||
@@ -258,6 +258,6 @@ | ||
while (state2) { | ||
if (GameState.compare(state1, state) === 0){ | ||
if (GameState.compare(state1, state2) === 0){ | ||
return idx; | ||
} | ||
state2 = this.next(search); | ||
state2 = this.next(state2); | ||
idx++; | ||
@@ -264,0 +264,0 @@ } |
{ | ||
"name": "nodegame-client" | ||
, "description": "nodeGame client for the browser and node.js" | ||
, "version": "0.1.2" | ||
, "version": "0.1.3" | ||
, "main" : "nodeGame.js" | ||
@@ -6,0 +6,0 @@ , "homepage": "http://www.nodegame.org" |
63495