-
Notifications
You must be signed in to change notification settings - Fork 0
/
Untitled1.c
51 lines (30 loc) · 1.07 KB
/
Untitled1.c
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
45
46
47
48
49
50
51
//box(30 , 10 , 15 * width , 2 * height , 219);
/*gotoxy(15 * width + 2 , 2 * height + 2);
printf("[1] Load");
gotoxy(15 * width + 2 , 2 * height + 3);
printf("[2] New single player game");
gotoxy(15 * width + 2 , 2 * height + 4);
printf("[3] New Multiplayer game");
gotoxy(15 * width + 2 , 2 * height + 5);
printf("[4] Exit");
*/
gotoxy(0 , 7 * height);
/*for(j = 0 ; j < height ; j ++){
for(i = 0 ; i < width ; i ++){
printf("%d , %d\n" , Block_center_points[j][i].x , Block_center_points[j][i].y );
}
}*/
/*
void create_cellule(tak_Cellulee tak_cellulee[]){
j = rand_int(height);
i = rand_int(width);
tak_cellulee[].place.x = i;
tak_cellulee[].place.y = j;
tak_cellulee[].Energy = 0;
}
*/
for(j = 0 ; j < height ; j ++){
for(i = 0 ; i < width ; i ++){
printf("(%2d , %2d) ----- Block_center_points[%d][%d]\n" , Block_center_points[j][i].x , Block_center_points[j][i].y , j , i);
}
}