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