2022-06-21 15:53:54 +02:00
|
|
|
#ifndef JEU_H
|
|
|
|
#define JEU_H
|
|
|
|
#include "graphics.h"
|
|
|
|
|
2022-06-21 20:08:52 +02:00
|
|
|
void menu();
|
2022-06-21 15:53:54 +02:00
|
|
|
|
2022-06-21 22:23:08 +02:00
|
|
|
void init_board(int[15][15], int, int);
|
2022-06-21 15:53:54 +02:00
|
|
|
|
2022-06-21 22:23:08 +02:00
|
|
|
void draw_board(int[15][15], int, int);
|
2022-06-21 15:53:54 +02:00
|
|
|
|
2022-06-21 20:08:52 +02:00
|
|
|
void draw_player(int[15][15] ,int, int);
|
2022-06-21 15:53:54 +02:00
|
|
|
|
2022-06-21 22:23:08 +02:00
|
|
|
void play(int[15][15], int*, int, int, int);
|
2022-06-21 20:08:52 +02:00
|
|
|
|
2022-06-21 22:23:08 +02:00
|
|
|
int end(int[15][15], int*, int, int, int);
|
2022-06-21 20:08:52 +02:00
|
|
|
|
|
|
|
int replay(int winner);
|
|
|
|
|
|
|
|
void menu();
|
|
|
|
|
|
|
|
int test_x(int[15][15], int, int, int);
|
|
|
|
|
|
|
|
int test_y(int[15][15], int, int, int);
|
|
|
|
|
|
|
|
int test_xy(int[15][15], int, int, int);
|
|
|
|
|
|
|
|
int test_yx(int[15][15], int, int, int);
|
2022-06-21 15:53:54 +02:00
|
|
|
|
|
|
|
#endif
|