AnnaConnect/ui.h
2025-06-06 21:31:59 +02:00

24 lines
395 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 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 */