From 2913d506dd29667a0ab1bf95fe4d7c254847795d Mon Sep 17 00:00:00 2001 From: Kevin Schellberg Date: Sun, 4 Feb 2024 19:14:13 +0100 Subject: [PATCH] Kategorienauswahl --- build/test/out/c/quizduell.o | Bin 8073 -> 8464 bytes build/test/out/test_quizduell.out | Bin 112855 -> 112890 bytes build/test/results/test_casualQuiz.pass | 2 +- build/test/results/test_quizduell.pass | 2 +- build/test/results/test_timequiz.pass | 2 +- build/test/results/test_wwm.pass | 2 +- src/quizduell.c | 17 +++++++++++++++++ 7 files changed, 21 insertions(+), 4 deletions(-) diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index 9e897dff8fc25e698a480a70ac480b82695331bf..06e8cb12c1efdf193b2b912ac14a0ca0686796e6 100644 GIT binary patch delta 2730 zcmZ9Oe{54#6vxkfudnUe^>^uy{p#3Q$COP(CL0^j!GJEXg&&HDA)~mmO_u=O1~Sot zMB+j;cGr+V7Q+$)CWI&f42g!4!c_;r-6G{J z#J>d0PSj<(QUfWaQNK+G@H%tj6^*L|z#bfB$@YL0eV z%u5d6Nbb8;o*ZuXCJ!vdA0&s*-=xt@^P)K};l%{a$y6^U3gr*_8)9t4NXc`S7VY1A zQW#^}3-q^6P8z-1;eQaHm*=cW?a#?P+GLNdMSF(KbyC=SHTk#c`P!Zocjd`~=VZEI zg=k0Gq22pS);JnUgx~t6Uw4REpl{N)iB-a`8}>OCU919-1CD0jb-czBoEH6e;sj@& zI^(Fc_~z17v5lcjZHYYTjzktBT`07f*MZnY9&Fd;&+bmwIIgS#!gP9MyC>nIdQ;6S z4||pfpSr9QQ64nw;;8VZXswl+`+E%xPOP=`R{++3wK4@}ZLsQRPeI3Boj@5p|9Q$XeY2ezN#yR$;SEL5g z-CHxgX(-~=!T@SwG>VJje)&N}1qoUXXG_&wL+Re`^tyCr%V4^Db1Fl%q$g&t4#cNs zt_oqLO_-?D%ma^4)hLpy{nc&mEtynz8f;ax3R=#t)6TXvD9fwQAge=J5xthIE@hSL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1WayTJI=$jRK)kDR-yeW(Y@S&Ujznk9!x{iCP zW9?DRq4e5l#%PVoB!SJcoG2YRWg3Qp4V%)-rG<1R9RR|cV``(Dqas^P8KYzbh+3gE zz1*r83dVSaqtFpzeL@7^TX{HijpeKH23cSbdqvYkcnC#piKr0|MV^xd+K`ea9U^Uj zv?oZLChb+y&X9H~PvVCpet{&<)B@{d{fmfW4X7nJiM&Lw5WPY44$(5vN|EvwsK??{ z30sM}iTa58iM~Qo3;dI`n?z1aDW8`pOf*NdASrL|bD6{yqANuEWTlyYT||9E{X~OA z-ym%_BmO4Mg3q+d;w1{(aDFAmNjyt*foO&33em?z2e3p{mL8&hqCuh@(RzvUa2>J6 zT&sq!I+aF8N|_pVfb)Qc)lee&M%-pYSE3+sp6D3X zs7f<~r2JkZ?PsE!WKCfas)!yW6)`|`lxUJDKSL-3<;~O0Lr`g|ajbTiBHBsRK-5fh zfT)Y8o2ZxQenk$PPQH9>!dE#i<|_T>e`A+esvKtZ!iXoWvW}f%f4p(vO(fZ{U_fK? z^Fc0hYg;Z3|!G^C+4dr{sY^_1i}CS diff --git a/build/test/out/test_quizduell.out b/build/test/out/test_quizduell.out index 36079241acb9c925682909269bfbdbb88234f2a5..deb4ec75f1bc899ff9b23a1958f9c5c8f6ce5088 100755 GIT binary patch delta 13815 zcmc&)d0bRSw!YO(Ba28QTZ0SW1{y_-8;fWo0J!HSm2 zGb5QeiIeRSNup*kkQg0;T7&4s#f z#_W8JK9;TGPvCDq-ip69%{TOObfW_oD9TO0Q%q45yB^rSe!ikuY@u0O6~)$jkI|m5 zwZon5iDq8u-G{B@d%X+Uyym}q2QhYpclH>gGZpf9pHb{@yu_zO*Wbe5^%)jbR)CQA zCLxx=_iY5O3-yNB(`sLf9_<^szwZoVAK2Iot#2vHu9kHM`{Cy0zGE4?%a8aau^;%C zesPR*o&O}ZfKT?H#f~)}@Q>25cK%vGEIY~n9Pj|!-0a)y5@YZ4_P{Xzm-7_mR22>9 zC}+m7m^x}#P`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qcDpfoXLl52Cn^gIU$k_uzUTObkY7 zT$lNBI4EyS&b>Bwz?@Vf?I%+oMWjQZ>g}qT75CS!uB*g}=3-!!#Y3h?i7OFItCIID zV&L9=>?{F8m%C;*#ArkxW``A&^EXXB_!cm$8v9Q01u&bG*pGp6KT-9MA8ZCC=yxDP z7Txau4u&o_b1R0v_>`Fi$aMlA(>;p6_@Pi!ifRfNT43^^$DIo%T}jCjFlCC&Ixt0w zVeMNxQJ}n+_C4k%k&qIQ1x&n>$hBbHYeeq%kqqyfvsN(Y$scY5iLjT! z;FA0?9%Vg?jzyW%1u**+6W2%v8t$!p8%(P*@1R%|kfJpVOpQxsMQtT&9?PdpY1{w^ X)i*fTChf!@9^=pWp17x#9|-#|3r?-c diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 3054f36..9269d11 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016471099999989747 +:time: 0.01702869999996892 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index b2a7928..3e03b02 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.030837499999961437 +:time: 0.031989800000019386 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index 5c20d1a..b5df176 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01623769999991964 +:time: 0.016469199999960438 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index b1bec0d..8e470eb 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01627900000005411 +:time: 0.016439999999988686 diff --git a/src/quizduell.c b/src/quizduell.c index 6ddb0e4..feb71a3 100644 --- a/src/quizduell.c +++ b/src/quizduell.c @@ -63,6 +63,23 @@ void quizduell() { printf("Your selection: "); scanf("%s", auswahl); + int auswahlIndex = -1; + + for (int i = 0; i < MAX_CATEGORIES; i++) { + if (kategorien[i].fragen != NULL && strcmp(auswahl, "Mountains") == 0) { + auswahlIndex = 0; + break; + } + else if (kategorien[i].fragen != NULL && strcmp(auswahl, "Cooking") == 0) { + auswahlIndex = 1; + break; + } + else if (kategorien[i].fragen != NULL && strcmp(auswahl, "Sports") == 0) { + auswahlIndex = 2; + break; + } + } + return; }