refactor of files for norminette

This commit is contained in:
2026-03-28 21:44:36 +01:00
parent bf668cf5e6
commit 4150e95378
5 changed files with 136 additions and 100 deletions
+9 -8
View File
@@ -6,19 +6,20 @@
/* By: lud-adam <lud-adam@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/28 13:27:29 by lud-adam #+# #+# */
/* Updated: 2026/03/28 15:26:01 by lud-adam ### ########.fr */
/* Updated: 2026/03/28 21:41:55 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
#ifndef ALCU_H
#define ALCU_H
# define ALCU_H
#include <stddef.h>
# include <stddef.h>
char *read_file(int fd);
int check_input(int fd);
void print_board(int *game_state, size_t nb_line);
int *fill_array(int fd, int size);
int ai(int *gamestate, int nb_line);
char *read_file(int fd);
int check_input(int fd);
void print_board(int *game_state, size_t nb_line);
int *fill_array(int fd, int size);
int ai(int *gamestate, int nb_line);
void game(int *lines, int size);
#endif