diff --git a/ttt_interface/ttt.cpp b/ttt_interface/ttt.cpp index 9585fa1f0418597fe679d4095edc14404ac61efa..abd650eca70de3d7172aa340e2e2bf8d1faa9c51 100644 --- a/ttt_interface/ttt.cpp +++ b/ttt_interface/ttt.cpp @@ -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"]; }