Commit 07e0ff3f authored by Terence Martin's avatar Terence Martin

Re-enable the ability of the computer to take turn

Now that we have fixed the underlying issue, we can proceed with
allowing the computer to take a turn again when it becomes its turn,
since the balls are actually there now.

The rest of the code should work as we want it to from this point, but
I'll check anyway.
parent 52d8f9d0
......@@ -4906,7 +4906,7 @@ var nurdz;
if (this._maze.contents.visibleBallType != game.PlayerType.PLAYER_COMPUTER)
this._maze.contents.swapVisibleBalls();
// Tell the computer that they're starting their turn now.
// this._computer.ai_startingTurn ();
this._computer.ai_startingTurn();
break;
}
};
......
......@@ -546,7 +546,7 @@ module nurdz.game
this._maze.contents.swapVisibleBalls ();
// Tell the computer that they're starting their turn now.
// this._computer.ai_startingTurn ();
this._computer.ai_startingTurn ();
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment