From cbea4b90f26cf450a45d24d9b46f4f88a6d4d8a7 Mon Sep 17 00:00:00 2001 From: Kevin Schellberg Date: Sun, 4 Feb 2024 19:26:05 +0100 Subject: [PATCH] Joker --- build/test/out/c/quizduell.o | Bin 11262 -> 11350 bytes build/test/out/test_quizduell.out | Bin 116043 -> 116043 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 | 3 +++ 7 files changed, 7 insertions(+), 4 deletions(-) diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index aa7a443d0d33c8fb457b2d0b0cd614be32fa9921..a79f19b3883498b2030a31c27bd1217a3c9f2351 100644 GIT binary patch delta 349 zcmewtel3DCrHzjP1g=fwlonLrVPJ4!VqmaQ1dB1mOf=1AOqsY)opldT)s=~7<=F&S z7#LXiCw@|66%l4&=$I_asLaM93RJE(*^N<&iAj2L7NZ*54;cmq2ldI*80EOu0L{~o zWnc(VpS+JziSf$hhm7h>vI>*AnA8~GY&K-#;8AbhTfzu5p;XYLm-PWN1A|BB!51J0 zyk?x>(RhRdXh3vaeC*-L0eo{9Wj4R%d(N!qm#>hUUzDnlSeBTXlbDo~s*s#mlA4}h zl$lzrr{JELo2rmsmRbb$$L32yvltm0C+CXTGG# zRz{i07iGj5S8RSMGmD9nXBsQ-#HXyBhMQaE3m7;5P-tQ1VFU&b(9;Yo44gchOH}qT gv&sNPVkVnwtY_k6ndm4o`H#jt#x@h_Y+rHzjP1nMSoN(&0`Ffh0Nf?GEEkg6=z(y zSyOfv6BFmO&1d8b7&lugwlizVE|PjnQS9HKc7=z`Ch$xHzA COHl*> diff --git a/build/test/out/test_quizduell.out b/build/test/out/test_quizduell.out index 5a5dbe495698a1b0a18c5302d9b75224aa309b27..0b0021cef1137c6de1c5665bdbbafb04a66841e7 100755 GIT binary patch delta 9354 zcmc&&dsvj!)_>OvqaY%KAOaGMB8vB+#5;l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KoIcDP0)xRWqsX94 zH^bYS;p{S65oC2UBpC4`)n9?xrQ|*2O*iWdSU+47iyb7QljQ+;RyAo*58lXoQz0b(A3Mji0XbYovf%dHhm|g{H6Qeg7-DYH23$%V6 z&|etcV3fKJXl*sntBihfp^AsVnXAEdF?yL%*?OQC9s>H7QSy4AYssWl?3v`UpUm2Nd zfo5;Ujy_yVKC*oWmB^V}a8YS0)(4zllv`F6yw5JZ}bwRelRVAGFYPj^=N#Q{je0%T-rYhxCmD&xxNG9y0$fR1$;Jk)iz;4M7$3dsL;z#KM zW5(Czo#XZvm?ml6iI;Y={COuO;zc`h7ml`UIcpbfj4s0Ad#C;U-nd8M?RJNG2#mM< zaTg`3U4?RZBMpvr@6rwj#nq&+L_0T>bMnDP`Y5^;?^!)oVPWO^vf@=sn%%Nf@Db7^ zSM8?!pjuZ99>{7KO!DL1$Tv?0?4gVyW>=!9$r|=q=2ncGXwm5>AKpWwFt$^BFvMp0 z;U2uWaRn3*Mp@6|y!=8?Mo_t19+&!{ZZhR@H2S?PejIOuczGOJbfYV);>D{gD$#4G zTdz%h6{SOd|2PJa=N7S7D17Cjy_6VjbZe0hL#HdMHV!aN^6XwDXOe;YkVBD7+=q** zd!hS;;gu^l?n77Sw1~Vu_-_>q+4Ads$l4?mB!pc)BoVD#ejsr&SGy&)4hyD9`t0W# zxFyyOL$WN{kCHda1N)IiqkIV>*i__Pjoh0V|M%79Cx6o?k5%HPn6=$#+;~LWakeAy zw#bhlf?8d%*Hl)lTvDbe+ogXKMP_!nt%@OoQ5%;lXM8W1X4i(QTwPUOzNA9g@3t1^ z!RJPyT;D{4gT0IHo;NEjT?Mik7S!c~CZyLPM;_H?yW}YHDspwUv|anzahlFragen; i++) { char benutzerAntwort[10]; printf("\nQuestion %d:\n%s", i + 1, kategorie->fragen[i].frage); + char jokerAntwort[10]; + printf("Your answer: "); scanf("%s", benutzerAntwort);