You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
403 B

#ifndef LABYRINTH_H
#define LABYRINTH_H
#include <stdbool.h>
#define MAXZEILEN 10
#define MAXSPALTEN 10
#define WEG '0'
#define MARKIERT 'X'
typedef char lab[MAXZEILEN][MAXSPALTEN];
int printlabyrinth(lab laby, int hoehe, int breite);
void wegsuchen(lab laby, bool* done, int y, int x, int ziely, int zielx);
void labyrinthschritte(lab laby, int hoehe, int breite, int schritte, int versuche);
#endif