|
@ -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)); |
|
|
|
|
|
|
|
|