|
@ -189,6 +189,8 @@ void handleGame(){ |
|
|
int* params = getMarkerParameters( input ); |
|
|
int* params = getMarkerParameters( input ); |
|
|
setBoardMarker( GAME.board, params ); |
|
|
setBoardMarker( GAME.board, params ); |
|
|
free(params); |
|
|
free(params); |
|
|
|
|
|
|
|
|
|
|
|
printBoard(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -201,6 +203,8 @@ int startGame( int code ){ |
|
|
bool board[BORAD_SIZE][BORAD_SIZE]; |
|
|
bool board[BORAD_SIZE][BORAD_SIZE]; |
|
|
initializeBoard( board ); |
|
|
initializeBoard( board ); |
|
|
|
|
|
|
|
|
|
|
|
printBoard(); |
|
|
|
|
|
|
|
|
while( GAME.currentState == 1 ){ |
|
|
while( GAME.currentState == 1 ){ |
|
|
handleGame(); |
|
|
handleGame(); |
|
|
} |
|
|
} |
|
|