-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_cal_move.h
37 lines (31 loc) · 1.25 KB
/
ft_cal_move.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_cal_move.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: taekklee <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/07/01 21:05:48 by taekklee #+# #+# */
/* Updated: 2023/07/02 18:45:17 by taekklee ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_CAL_MOVE_H
# define FT_CAL_MOVE_H
# define HIGH_DEPTH (7)
# define MID_DEPTH (5)
# define LOW_DEPTH (2)
# define RANGE (7)
# define TARGET_LEN (4)
# define TRUE (1)
# define FALSE (0)
typedef struct s_board{
char **map;
int *null_cnt;
int *cand_arr;
int depth;
size_t cand_sz;
size_t h;
size_t w;
} t_board;
int ft_cal_move(t_info *t_maps, int move);
#endif