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
376 B

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <stdbool.h>
  4. #include <ctype.h>
  5. #include "Spieler.h"
  6. #include "Moving.h"
  7. #include "Dame.h"
  8. bool istzugerlaubt_Dame(char** Brett, int startX, int startY, int endX, int endY, Player player){
  9. // Überprüfe, ob der Zug auf dem Spielbrett liegt
  10. if (endX < 0 || endX >= 8 || endY < 0 || endY >= 8)
  11. return false;
  12. }