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.
25 lines
445 B
25 lines
445 B
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
|
|
int main() {
|
|
/* int x = 8;
|
|
int y = 8;
|
|
int spieler = 0;
|
|
char** Spielfeld = create_Schachfeld(x, y);
|
|
while (checkmate() == 0){
|
|
print_Schachfeld(Spielfeld, x, y);
|
|
if(spieler % 2 == 0){
|
|
|
|
choose_Figur('w', Spielfeld);//weiß
|
|
} else {
|
|
choose_Figur('s', Spielfeld);//schwarz
|
|
}
|
|
spieler++;
|
|
}
|
|
|
|
free_Schachfeld(Spielfeld, x);
|
|
|
|
return 0;
|
|
*/
|
|
}
|