Refactored a bit
This commit is contained in:
parent
99f5c6cd6e
commit
5379f50802
8 changed files with 534 additions and 449 deletions
24
ui.h
Normal file
24
ui.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#pragma once
|
||||
|
||||
#include "types.h"
|
||||
#include "config.h"
|
||||
|
||||
extern void initBoard( void );
|
||||
|
||||
extern void updateBoard(
|
||||
const wins_t wins,
|
||||
const board_t board,
|
||||
const int column
|
||||
);
|
||||
|
||||
extern int askColumn(
|
||||
const board_t board
|
||||
#ifndef ONLYPUT
|
||||
,const move_t move
|
||||
#endif /* ! ONLYPUT */
|
||||
);
|
||||
|
||||
#ifndef ONLYPUT
|
||||
extern move_t askMove( void );
|
||||
#endif /* ! ONLYPUT */
|
||||
Loading…
Add table
Add a link
Reference in a new issue