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.

14 lines
403 B

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