diff --git a/src/main/c/Georg/tictactoe.c b/src/main/c/Georg/tictactoe.c index 535475d..3d6d591 100644 --- a/src/main/c/Georg/tictactoe.c +++ b/src/main/c/Georg/tictactoe.c @@ -95,6 +95,11 @@ void initializeBoard( bool board[BORAD_SIZE][BORAD_SIZE] ){ } } +/** + * The function checks if the user has written a valid command + * @param input + * @return 1 for a valid command and 0 for an invalid one. + */ int handleGameInput( char* input ){ if( strstr(input, "set") != NULL ){ return 1;