private void PlayAgentMove(JObject cellNumAsJObj) { if (cellNumAsJObj["cellNum"] .ToString().Trim().Equals("reset")) { game.Reset(); return; } int cellNum = int.Parse(cellNumAsJObj["cellNum"].ToString()); //Console.WriteLine(cellNum); game.PlayAgentMove(cellNum); }