diff --git a/build/test/out/c/schach.o b/build/test/out/c/schach.o index 1af8e21..a743862 100644 Binary files a/build/test/out/c/schach.o and b/build/test/out/c/schach.o differ diff --git a/build/test/out/c/test_schach.o b/build/test/out/c/test_schach.o index 8fff046..60c946a 100644 Binary files a/build/test/out/c/test_schach.o and b/build/test/out/c/test_schach.o differ diff --git a/build/test/out/c/test_schach_runner.o b/build/test/out/c/test_schach_runner.o index 75c2454..16d09b9 100644 Binary files a/build/test/out/c/test_schach_runner.o and b/build/test/out/c/test_schach_runner.o differ diff --git a/build/test/out/test_schach.out b/build/test/out/test_schach.out index fc31bee..b721ff3 100644 Binary files a/build/test/out/test_schach.out and b/build/test/out/test_schach.out differ diff --git a/build/test/results/test_schach.pass b/build/test/results/test_schach.pass index 7837dbb..5ba1b22 100644 --- a/build/test/results/test_schach.pass +++ b/build/test/results/test_schach.pass @@ -31,4 +31,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.13926199998240918 +:time: 1.0768611999810673 diff --git a/src/schach.c b/src/schach.c index ed65230..e799e42 100644 --- a/src/schach.c +++ b/src/schach.c @@ -62,14 +62,14 @@ int read_input(){ } -void choose_Figur(){ +void choose_Figur(char active_Player, char** spielfeld){ int x,y; - printf("X-Koordinaten der Figur der bewegt werden soll eingeben:\n"); + printf("Spieler %c ist an der Reihe!\nX-Koordinaten der Figur die bewegt werden soll eingeben:\n", active_Player); - x = read_input(); + x = read_input(); printf("X-Koordinaten der Figur der bewegt werden soll eingeben:\n"); diff --git a/src/schach.h b/src/schach.h index 8bd499e..2394525 100644 --- a/src/schach.h +++ b/src/schach.h @@ -8,7 +8,7 @@ char** create_Schachfeld(int , int ); void free_Schachfeld(char** , int ); int checkmate(); int read_input(); -void choose_Figur(); +void choose_Figur(char, char**); diff --git a/team.md b/team.md index f3f5d6e..68f653d 100644 --- a/team.md +++ b/team.md @@ -1 +1,2 @@ Luis Hahn, fdai7834 +Hendrik Voß, fdai 7723