Browse Source

refactoring: commend a function

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

5
src/main/c/Georg/tictactoe.c

@ -149,6 +149,11 @@ void printBoard(){
printf("\n"); printf("\n");
} }
/**
* Get a the user input and parse it.
* @param input
* @return a array with the x and y direction where the user wants to set the marker.
*/
int* getMarkerParameters( char* input ){ int* getMarkerParameters( char* input ){
int* array = (int*)malloc(2 * sizeof(int)); int* array = (int*)malloc(2 * sizeof(int));

Loading…
Cancel
Save