-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.h
44 lines (40 loc) · 947 Bytes
/
functions.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
38
39
40
41
42
43
44
#pragma once
void turn_left(int arr[3][4]);
void turn_right(int arr[3][4]);
void trn(
int side
, int dir
, int arr_1[3][4]
, int arr_2[3][4]
, int arr_3[3][4]
, int arr_4[3][4]
);
void set_b(
int i
, int j
, int arr_1[3][4]
, int arr_2[3][4]
, int arr_3[3][4]
, int arr_4[3][4]
);
void set_w(
int i
, int j
, int arr_1[3][4]
, int arr_2[3][4]
, int arr_3[3][4]
, int arr_4[3][4]
);
void show(int c[6][7]);
void full(
int arr_1[3][4]
, int arr_2[3][4]
, int arr_3[3][4]
, int arr_4[3][4]
, int c[6][7]
);
void black_turn(int i, int j, int arr_1[3][4], int arr_2[3][4], int arr_3[3][4], int arr_4[3][4], int c[6][7], int turn);
void white_turn(int i, int j, int arr_1[3][4], int arr_2[3][4], int arr_3[3][4], int arr_4[3][4], int c[6][7], int turn);
int get_side();
int get_dir();
int check_end(int c[6][7]);