Commit 5e6214da authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

Merge branch 'ttt' into 'master'

add getBoardSquare

See merge request configs/ec327/hw-configs/hw3!2
parents e4f4f24a 26fa65ff
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"];
}