From 4faa73021e8878afa89a82c54428dd9df9f9d1c7 Mon Sep 17 00:00:00 2001 From: Kevin Schellberg Date: Sun, 4 Feb 2024 19:46:01 +0100 Subject: [PATCH] JokerWirdBenutzt --- build/test/out/c/quizduell.o | Bin 11678 -> 11852 bytes build/test/out/test_quizduell.out | Bin 116555 -> 116555 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 | 8 ++++++++ 7 files changed, 12 insertions(+), 4 deletions(-) diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index b58391dad43ba0d431c9c17dd889ca867cf99b51..96f3a8bd888035dae25cef46831d3f8305e665f8 100644 GIT binary patch delta 2426 zcmZ9O4{Q@v9LL|g-s`&3+aK1B?FQRXU~R{rmHz`|fNZQzf})E!W^l_a4u({=YX(uN z2DWU>D#tSf0&65LC;?O~iN+vUqM!scM#LB)0%1}T{DUyS3C`cUyFL~#>AlZ=f4}eV z_ul<^X{_$_GwIKDWFU5&*3t{Ivm}Hn1ca`;bqzIY)0=UPw#P#bWFmA*J5xmJMTBl? zH$2uFCqf%Nv=F;VMJ__OX(b+mTj(n6u{ISVG{Z-?<3js2sI~(xt9|q+cH`IRCG5ec z;OwNMgdDsxK3Uj?g)sufViCP!`LbfuXSZ1I@XSDz_yGc4i6j#O(e{h_<#7ls)9HVK z)FoL?4~lts89gC(I1b+%9Bltw%>z>teVWX}>*)?MRycW|9wlzPlU^b+K1lD8Li{l; zuomKDbhfn_e?|9Nr})QX*1l$}HxPBrFj-j~mHvS4i=$+KO(N>D>5)XT;2)ZqUP~L& zWPjHX<6A?F3xL5`!=$LIUXLV_>j!kBXp>9(&1BZ`Uz1tKUBF=MWm44ji5^KLf1nxZ z%V@7{PH8pV<j6m>P}kwkJG zJ(RBczcuri=bXvR^A0e0_Ax2y`cRJ~lHc5cg*`?0+voVlS{_W$XEHNhFpR$%#=E9b zV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2U#bfw+NLy2xMLlbdAv82^CfXP2T`yBlJ34yV(wwr++)8K#u1;pn-{7!3-*niG8)&x`YGI1NeQPd9WGt# zd3c})DY2atX00gKzCw(0R6UO#m!c`UZ-F0R+ti2Sl+#S{hjl{2@Pk6n8GH*8i>$53 zoBXCl-mJ$*!DczU0k5KZnbp862Q}dU?g@|^fFO9=^++~Aawbpy)Bw+BIrtGC9qZhu z4F)L=m%QcL8N$}f`yS!vVp)$OuY6-k{+a@-Q+h0j(pw{VPGFnElt!{vQ(O={0ejYO z4^NNX>_`+vDI=RWOYf2X1`nfrU=KX-hTnq`TIJb2c#q>!xECZ-))3h)zu3#u15Hk8 zT2-jo1(~!!-D~PJ zG&oRK9KdvE%1002YXGXK(b$sJBS!ezI>3k4oY;&>AU{=uQ2+Sz-ZYWNU)rDJ$4aff2%y3*C<_&M!no?O<1?ksXklNRzHu*3V~-(=o1Tly}*{U=Yx9OBuiQRN|& zipkbPF!zw>Kms>AqL-DI78jJ@mq6)znB%{UPRnCZ6zbzJrSZo@(uo_bzD>*5R#>eC zr7YXheQc1;-LN?>Hy~W#87D<86wUI_P@rZX9oEV-{7EF2DVINqK^Prftt>6Th|yKv Lu>()?mgxTgdLcSZ diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index c1ff0ed..203a45c 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.01736479999999574 +:time: 0.016698599999926955 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index c4c5b9c..1087de5 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.03556579999985843 +:time: 0.03333500000007916 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index eb8593a..ddd66f9 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.01705069999979969 +:time: 0.016289200000301207 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index a6a99ee..b772e98 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.01840379999975994 +:time: 0.01632770000014716 diff --git a/src/quizduell.c b/src/quizduell.c index 0048a09..ab6ee4a 100644 --- a/src/quizduell.c +++ b/src/quizduell.c @@ -38,6 +38,14 @@ int spieleKategorie(Kategorie* kategorie) { printf("\nDo you want to use the joker? (Y/N): "); scanf("%s", jokerAntwort); printf(jokerAntwort); + + if (toupper(jokerAntwort[0]) == 'Y') { + if (kategorie->joker > 0) { + kategorie->joker -= 1; + jokerVerwendet = 1; + printf("Joker inserted! Two incorrect answer options were deleted.\n"); + } + } } printf("Your answer: ");