SAE11_2023/Snake/Chemin.h

21 lines
453 B
C
Raw Permalink Normal View History

2023-12-16 14:09:34 +01:00
#ifndef CHEMIN_H
#define CHEMIN_H
#include <stdlib.h>
#include <stdio.h>
#include <graph.h>
#include <time.h>
#define H 42
#define L 62
#define DELTO 1000L
2023-12-23 21:21:22 +01:00
#define DELTI 400000L
2023-12-16 14:09:34 +01:00
int Semage(int tab[H][L], int direction, int sxmax, int symax, int *pause, int *fin);
unsigned long TempsArret(int *temoin);
int VerifChemin(int tab[H][L], int x, int y);
int VoirCase(int tab[H][L], int x, int y, int defaut);
2023-12-19 14:18:40 +01:00
int Gagne(int tab[H][L]);
2023-12-16 14:09:34 +01:00
#endif // CHEMIN_H