From 55c2643cf9b6a53d750df5302eab123f569f0a55 Mon Sep 17 00:00:00 2001 From: fdai7103 Date: Wed, 8 Feb 2023 19:51:40 +0100 Subject: [PATCH] Bereich der Zufallszahl eingrenzen --- build/artifacts/release/Paper-Bin.out | Bin 17080 -> 17120 bytes build/release/Paper-Bin.out | Bin 17080 -> 17120 bytes build/release/out/c/Paper-Bin.o | Bin 8216 -> 8920 bytes src/Paper-Bin.c | 5 +++++ 4 files changed, 5 insertions(+) diff --git a/build/artifacts/release/Paper-Bin.out b/build/artifacts/release/Paper-Bin.out index 11872241d3a6ea15d6b7d4dfdbea0a8d8773453b..7e55fa3c6fdcf86eace952845cd85d21f1576c5d 100644 GIT binary patch delta 3625 zcmaJ^4Nz3q6@K@z57-sl1$J3jkiSF}2)m#nAQuYb-bxoErm@X*JHo|2rA&jJEuvip7pnkbXFJt?h1xsm zec<`3KB#&=q3TcZo-9%lYf$ZP)Uh=xI%r6u<5GoT*@KAy!DoFa4jlY*cReD*#2?Dy=CC>Zxh^`rtEt@69o?Qko4TQ1UPo3e;g87o;V0DSk1VN2v)jSu9nfze2mw zpQ29m8|Y?2K}*GBh-dv5gpBr;=lKGcA)D;JX;BYEpbD$-OYh`iEogq}6tpx<>E01! z%_-;w^S)1EE0sZaKy(KU=9fQ$Ih^d5df*xZ-7hslGeH|Vf-bP?U!jm(+b=i$e%scq zEnDU88yVgABfQ<+-=*jDd6$hUOGdqY-G4Q(zMOt<wlK(S@S)0VYV^rMvoA&mLRBBB# z{TyUvuRjnwMr*B)i+{+aW7a40eYtw2p8kX{<{a+=4CMTkqfmt*g`?X!8vlSSwnxOT z?^BU&dO?B~Xg(vDKj}i+j{BjIyE4d7y~LfzwTNTDw2TMulg~C)EPFs7+6s)1<_Lm! zK(4(-M3 z(6}?kFSSGEdpc}Zq&5zBF|X7DMUl2mCtu={%-3OPN5fq?#uOe)eF&>R5v2F+2`xvF`{MZNRiwwJ34*UWNs;oPl=N&WRcuqBDN?O!H)ku- za@9ptB!d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xxXTQePZiuupdyS6W<~SF&)4o3N9qMvf}$MW7ocbCZmUt7^(&>gOOXB|k p-D{{yoRT1}hivpyW1}W!QDak;W%E)UdzSV?`VenA8#&ml=RZPn9@78- diff --git a/build/release/out/c/Paper-Bin.o b/build/release/out/c/Paper-Bin.o index 9fd3747d36f6f0e4ceea08bedc107bc217c7726e..0e586ade2460450332625c13eb0fcf7700db3b33 100644 GIT binary patch literal 8920 zcmbtYeQaCR6~A^uo0harAnO7x^lb>1s??+f1}U(Gw5Cs6%Br%AG8KYjKi8&?9qboK zwl)=W&3Jk^ip1E^prT_N+q8esq@psd%}1vu?KBk7H27m^-Lyf{bW#Qp@~GGBocr#v zPhRt&)sFmp@BQ6#&OKlEzK;W;_WS%kpCIyyuZYTsP$71$t@K-Ew^ghZE5t{E>p$tx zt$$kkOIB~u4i)vtgdHmBkxAW})JM-$>FcoZ>%K|7&`_fnu0UZJofO{!zQPV4$mB+R zAf`v&{!E$OQpPW3{Ffy&e_89?BGy-@ckn&oVmtftu2c$hu-v$;ZLf>j3nOf@9XQ+ zN6%`bpHx|+qyJgE?zGi0XK$agPLKY*+IM>0q!pTz?ADkb8PgLZdt$MeK02k17X8*+ zC@^7#O7`}WH33QWP54IEjaeO~nOiP%jokh@|G*!HhEDMSXyc*MQZzp_^?7KhR;+O+ zCZTfxikZ-OXjXPM*`ZlkZRakf+O%9~)|cBqyJlb_7di*MbE^i9AomR0R8rs|F5NmaLeR3(djo+?v4PUZ|f+O%3C=t_-ISU6`Ne)i-?%=Ep-tzidkI zFJ@ZhHfXkGIa+V&ky)rZ4{Mt#U%ts_YQRK)E>uD@8wP$`S(SK{C*|SEa&NrC>@1rf z>ATYD<%-J&YAah~CZOOEpCt_>uKB>h+rV{RUEr5==xb17vIE5fhZG!DUhXV7s-SpE zK1Y2^s5Ec_GeE=Qz^{kcMrK|8sdE|xJ*wN)H#Whlx)myJ94ULse0Fw^m7ju~l;@qY z*9-YsL@mb7LR9#N6nS3q*h<0e=%Q}1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zMaB6^>0gzeBi*u~`SY58S@Z8|{H*G#5UK@;mB4tVB?C%_P;Zq#Q=Buw{m>Jfk=vjn zWI=oASm$p2^C)f^j#X+oO0UN07gC1|{x0KJF#Ky64_R`VbfjFjg<{e!8sANDy2_Hz zD18)u#PvsNomYB-bms-;8)Uv$86INzipFX3FuWd;)mG*Sy}49L6|+9Aaq^<2?yA_$ z`1GQf%DWlg&G6S4PRj-yB!_G~qXLH!FoAlR0}s@<4t~;s|7-6~0UWrAKXxC!aV_!0 zeTFrBiTV_gx&hP=A1k*4S}ZHw$*dG+3l5U!9eA@1ikOxp#qe)yoH{_?lEMG6@t|JUH7+M%n?YB@~@0}Az(yG^fyFThf*CDSlpXURUL7f7ey zqZb2(vhYtJt8ue$ImHqp$M}4oXBeN?a|0@)R%VG=sac=tXv+@VG%-Zy3yR4;VLyt5 z#;MwR9A@{nGMx8nkBvY1e;~S2N%lGtnAa)I0`b@BICMlU@Wk3P=F0E01F6VVrn%-Sk1PJ)OsC)DL%Xy5xuPvM{8Q4X!JG=uNh{7X5G@r&Jx>Nw#?trFN(kwASzN X_Rv>~5`%Z@clZ)f`{}5_tg-(9V0XKw diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index c7ad559..811c761 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -49,6 +49,11 @@ void loadLevel() { case(6): tmpX = rand() % 17; tmpY = rand() % 10; + while (3 >tmpX) + { + tmpX = rand()%17; + } + break;