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

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main() {
  4. /* int x = 8;
  5. int y = 8;
  6. int spieler = 0;
  7. char** Spielfeld = create_Schachfeld(x, y);
  8. while (checkmate() == 0){
  9. print_Schachfeld(Spielfeld, x, y);
  10. if(spieler % 2 == 0){
  11. choose_Figur('w', Spielfeld);//weiß
  12. } else {
  13. choose_Figur('s', Spielfeld);//schwarz
  14. }
  15. spieler++;
  16. }
  17. free_Schachfeld(Spielfeld, x);
  18. return 0;
  19. */
  20. }