From 2ad3ee70822d76b22d70d3afbdec758533aa8f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hendrik=20Vo=C3=9F?= Date: Mon, 29 Jan 2024 17:32:27 +0100 Subject: [PATCH] =?UTF-8?q?=C3=9Cbergabeargumente=20f=C3=BCr=20'choose=5FF?= =?UTF-8?q?igure()'=20=C3=9Cberarbeitet,=20Hendrik=20Vo=C3=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/test/results/test_schach.pass | 2 +- src/main.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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++; }