AnnaConnect/ui.h

21 lines
337 B
C

/* 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 move_t move,
const int column
);
extern int askColumn(
const board_t board,
const move_t move
);
extern move_t askMove( void );