Browse Source

refactoring: comment a function

remotes/origin/georg
KaffeeMaus 11 months ago
parent
commit
8ae3f76065
  1. 5
      src/main/c/Georg/tictactoe.c

5
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 ){ int handleGameInput( char* input ){
if( strstr(input, "set") != NULL ){ if( strstr(input, "set") != NULL ){
return 1; return 1;

Loading…
Cancel
Save