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.
16 lines
376 B
16 lines
376 B
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdbool.h>
|
|
#include <ctype.h>
|
|
#include "Spieler.h"
|
|
#include "Moving.h"
|
|
#include "Dame.h"
|
|
|
|
bool istzugerlaubt_Dame(char** Brett, int startX, int startY, int endX, int endY, Player player){
|
|
|
|
// Überprüfe, ob der Zug auf dem Spielbrett liegt
|
|
if (endX < 0 || endX >= 8 || endY < 0 || endY >= 8)
|
|
return false;
|
|
|
|
|
|
}
|