Refactored a bit

This commit is contained in:
AnnaSnoeijs 2025-06-06 21:31:59 +02:00
parent 99f5c6cd6e
commit 5379f50802
8 changed files with 534 additions and 449 deletions

18
logic.h Normal file
View 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
);