diff --git a/build/test/results/test_schach.pass b/build/test/results/test_schach.pass index 5ba1b22..3e0bcda 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: 1.0768611999810673 +:time: 0.051523500005714595 diff --git a/src/main.c b/src/main.c index 743359a..62113e5 100644 --- a/src/main.c +++ b/src/main.c @@ -12,9 +12,9 @@ int main() { print_Schachfeld(Spielfeld, x, y); if(spieler % 2 == 0){ - //weiß - } - else{ //schwarz + choose_Figur('w', Spielfeld);//weiß + } else { + choose_Figur('s', Spielfeld);//schwarz } spieler++; }