Files
42-Alcu/inc/alcu.h
T
2026-03-29 18:16:19 +02:00

30 lines
1.2 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* alcu.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lud-adam <lud-adam@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/28 13:27:29 by lud-adam #+# #+# */
/* Updated: 2026/03/29 14:58:00 by lud-adam ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef ALCU_H
#define ALCU_H
#include "vector.h"
#include <stdbool.h>
#include <stddef.h>
char *read_file(int fd);
bool check_input(t_vector *lines);
void print_board(int *game_state, size_t nb_line);
bool fill_vector(t_vector *lines, int fd);
int ai(int *gamestate, int nb_line);
bool game(int *lines, int size);
int *fill_array(t_vector *lines, int *size);
#endif