Started adding parsing of command-line options
This commit is contained in:
parent
89712fc9dc
commit
bf1ae99a9a
4 changed files with 56 additions and 15 deletions
|
|
@ -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(;;){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue