Commit 26fa65ff authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

add getBoardSquare

parent 21da515b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -200,6 +200,10 @@ int getCols(GAME_CODE theGameCode) {
  return strToInt(parseGameStatus(theGameCode)["cols"]);
}

int getInARow(GAME_CODE theGameCode) {
  return strToInt(parseGameStatus(theGameCode)["inARow"]);
}

string getBoard(GAME_CODE theGameCode) {
  return parseGameStatus(theGameCode)["board"];
}