Started adding parsing of command-line options

This commit is contained in:
AnnaSnoeijs 2025-06-06 21:31:59 +02:00
parent 89712fc9dc
commit bf1ae99a9a
4 changed files with 56 additions and 15 deletions

View file

@ -69,6 +69,7 @@ void initBoard( void ){
void updateBoard(
const wins_t wins,
const board_t board,
const move_t move,
const int column
){
int height = board.height [ column ];
@ -111,8 +112,8 @@ void updateBoard(
}
int askColumn(
const board_t board
,const move_t move
const board_t board,
const move_t move
){
int column;
for(;;){