From 07f04b916782ef759431fe6a9df1faaebb4e3547 Mon Sep 17 00:00:00 2001 From: Daniel M Date: Thu, 8 Feb 2024 11:18:29 +0100 Subject: [PATCH 1/8] startgame --- src/main/duellist-spielesammlung-projekt.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/duellist-spielesammlung-projekt.c b/src/main/duellist-spielesammlung-projekt.c index 9aa1d88..a3f70a9 100644 --- a/src/main/duellist-spielesammlung-projekt.c +++ b/src/main/duellist-spielesammlung-projekt.c @@ -310,6 +310,17 @@ int minesweeper() { char** minefield = create_minefield(height, width, unknown_character); char** mines = create_minefield(height, width, 0); distribute_mines(mines, height, width, num_mines); + while (1) { + + printf("Enter 'row column' to uncover (to quit enter '0 0'):\n"); + if (scanf("%d %d", &row, &column) != 2) { + printf("Incorrect input!\n"); + return 1; + } + + row--; + column--; + return 1; } From 00eea748afac7428d9a639fe4df91c0c89cb9945 Mon Sep 17 00:00:00 2001 From: Daniel M Date: Thu, 8 Feb 2024 11:25:01 +0100 Subject: [PATCH 2/8] add end_check --- .../out/c/duellist-spielesammlung-projekt.o | Bin 8764 -> 12700 bytes .../test_duellist_spielesammlung_projekt.out | Bin 93872 -> 97038 bytes .../test_duellist_spielesammlung_projekt.pass | 2 +- src/main/duellist-spielesammlung-projekt.c | 26 ++++++++++-------- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/build/test/out/c/duellist-spielesammlung-projekt.o b/build/test/out/c/duellist-spielesammlung-projekt.o index ca060d17e06c82ffb39012b25447f3a4d8eac70e..5896d7c0f54b4a3262a16711d5b6cbb8edef5f8d 100644 GIT binary patch literal 12700 zcmcIqdvH`$nm_mUBbTHh4GEAy0<9zhqj?~R$V*-gBCiY(F%E9i>F#v5cDiFfATUV~ zTXx9yqQ-G|)QXB@IW_LEHCnsHAYnBiE9y?oGVZGAT9%_Y1%}$CT(&@EhW&l#oO`-E z36Fo~R{GxW{J!V;&f}hQZdPkWj4szLjLqbfRjW+~+LN3Xw|&Ko{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?<{Z6Trc-oQu4N= zrhLa+mgc-1t5=+zY{O~CzaFZ_z7!^0dsMJJmYGkyY(GEt38J$sR zEnbP6Oxp0mNNG1!Flu2GX0)5pQAU>--IFNepS4tYYm$*INeIdxSh5Ov83gp>vp0#+ zbdzUpOtSc4-{F*>l5-4u{LpX4$R)6fj2^1-h@JXCP5IotrU&aKJr-4Dd@j);GX~PK z0*V%VY*Ld9svMN-bCZ&vOI9I2Itz5IHmZ-*I$i5}6S3~(MpL$wEOa_^vbIC$i|RxF E0a8-9{{R30 diff --git a/build/test/out/test_duellist_spielesammlung_projekt.out b/build/test/out/test_duellist_spielesammlung_projekt.out index 003d98bb0a5ae79b61e2be147fa74eec1b6ae8c4..ee9da08b7c947b6508d083435b6e0174e3758670 100644 GIT binary patch delta 13175 zcma)C3tUuH{y*o;FphvcB7=r_MPSwa#h>1TxWkU`XgvT#yK2-(y2Tq@hRs_pXw?w88Z_rYDsx6x4} zYtVAJEX3S7x~90Owuq2?4+vUud*ZI;-89teLI9e3aR=hA=LR;L?&J$t9Noh=;d3uP zfY0anA6RJGoA-gzN(m{(^LgAZmxcIbjY&zCk*^1f2Lg7-!$^6QF2rlsP_%u3`Qtg1 z=j!6<2wtfR_4)#RVu1kvNIc)E+rvz2c&dIb`~7O(tREk?V>KZSH)!35r*mTTa86F^ zV~lw8{$e%%LT_f%R`Vflxn2}BNFX4+&&=jUZsF{+GH!DVWyi|+({2$gaTkBXEg?K# znEOuOOQsOAFSFi4n)ETfy4ld0mHoJ3*tCu^;L9zONfX>PXPbriSuK_?ux4Prhw;%I zU=db)diUkQ@}<7skg1S7U&dD(hPkf=p(#A3m#*ed7_!*JGJf9hz*JA5h@r95d-E$w zLZlTYPV|0UDhqyf2>wO7egcNNf*YIO6W~Y{JYLFo4KlMGrTomGP*z>azZq1;qDuKf z4@XPtYm7s}dfH4b#4HodUg`_4)pF*uH;TRUw3GFaP0{!>sSE11|35gexrx6DKO6+N_N{>f%*5A8xJ zRm&sh@#SHmvF?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84gmcASob66(kR&&q*BlHa;o*h^($-YKL{F<q6vglNJlV`3|9>3a%zw!&!jp2zm-Lfz=Ne(IW)*~ zE1Z!^SAPC*&Ovy}iYV(YUm7b&ZJ_keq9`>4i?U zf_wvVw3UcopWw&XxWcrwx~%ELa(Aomp(B2`#|YVDXrsRs3G$)BbsET53Y}>n z;t=%^Cu#s=CN|5CFH4xGh^n zx#@U70n^`&L<$oe*xT%$lR@I_E!&9Zr2<7M&=db$?J=Qm1QyQ~?;VR(GXg zAZHbhMuY5CSY=89bJ3f*5FEwIa^=1pvAIP9gXTGdozsw58;G5-mjK1G**7Jgs_ zSN8Rx#cTINg-#5JSTU|xX^VgeF}RIEzED!+UMzGJ<5UIGs?b>pQmRO?Rr+i`4J!Fc z0k=ZUfD~OB>;us%a_Rz6&ZY|>dli1Z4wNz$(CC(LArXh8=Y;$W@|7YrU${Tf>b{I3 zL1GkHB!U#f51@P!G8yDPnjTIv1EfUZc~J;ZuM-(f4YducDw`V1rTYtL(#U0yYMhS~ z_#rDm`V<{$k*1em7Hozf?pgO7cY>6*x|3Hyw2G|X0>R6OTh@OD5r=D+ybLl1#MQHY zkkzg3o_}gln2DuOv7(VYboI5K*u{dWaR1BpWoT&2sCt=x4?A$a`YW7BP%TBL8Eph5l` zMNaKf&|=hTKOFQaCe_;@dlkL@7$gcFT|3Q}AjJxudmy!~?n^|4$tg@5FvDx^$QS9 zf#Yo$Qu56rp@hSw^bkb3S$pGGoVOIYhk}U1m0}9WT!qdw>B}e4KO+Pw&Md@6R9jh3 zTFV`?R=8<^&QXQ&dJxC@6MZD)Wst^J_mOy85JivAf+!cFFp&$XQje*6v#a% SN$mcEkuLV`&RkB Date: Thu, 8 Feb 2024 11:30:13 +0100 Subject: [PATCH 3/8] quit --- .../out/c/duellist-spielesammlung-projekt.o | Bin 12700 -> 12916 bytes .../test_duellist_spielesammlung_projekt.out | Bin 97038 -> 97038 bytes .../test_duellist_spielesammlung_projekt.pass | 2 +- src/main/duellist-spielesammlung-projekt.c | 13 +++++++++++++ 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/build/test/out/c/duellist-spielesammlung-projekt.o b/build/test/out/c/duellist-spielesammlung-projekt.o index 5896d7c0f54b4a3262a16711d5b6cbb8edef5f8d..ccc3f25ecb04a25f6ad07906d3ce22a42a9e2f90 100644 GIT binary patch delta 2432 zcmY*bZERCj7=F)PTP|#aefDF$y({jcER1d%L^46Pg>EuIQAikx36$QlmUQhbw=N4} ze-KO-#8?i~iBmCVDnAspGKnM@A!z)7=r4pUhTspu5fStUDiPn)bNj-YG<)9Xec$Ii z@44rmZX)uRF?TI11@XC+o9nH-wgBLJ2A~EC9CYO#9I*EzaXj~S!@RM102S2$2U>FH zbo+IrCv!Ifj)V08&8=K#`n(Anz^52?wDKNypR&G@?_kZ!bB+7}YjzxN1X$ggKgk>m z*zf#I#akP{wl$Wa$`!HL{?PR3>PB^c=o0?1VWz8?*>g)VtC8p}62}q1OwGQ~r9D^J zXz0?u&~yPz&wTjJ>3pKHjI9eL&1l*mNT-JVkyIixm<;&Mls}VWiFhJq6$~hhn22zM^YIv9I%V_f^-TzJ7cNgErao7bbCCSFo5yf zuF^-R$-`99Lt)h^xsFY)YDKCWNBT@=5^kKx!ZGmhC)~bl(t!gNMwpx>HaSboid3g2 z2C||uA^mPqIvq|LTVm1pK+GgI<}R?qal?!eX+Uix9SxgNF&Lk5yRyzX=%FyexKsl< zf)&|Z!*MefPXZg48}oEs;R(DZ4R7@x$1~i4#;)Ql!qXwk6KFRv(}Nkoz9HF|_Aiq6 z3lewZO(a!(j0VO&KI-weZznVRXPL1gTU}ubUXnQzn=W|#+3TVSC4eOa#AD$$(qVks zyJcO%drASghy|xGE!-q!VhFU`B>?L&BiQF98`JFQaj78DV^)&FqTTijR{MIyX$TDt znIpiqVKxi9P`(oj*hHsVw6e{zBF~+uLt{2^?qnB6D)_on;k40{Ng%mNl(eAIQw60% zq_oLW(%LW?!ldxpF9l6)xq_oVAXqfJS+YYI`gpllU$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6%=>!6~V@R!bU;g4&*jY z!d4C2j`>cV2}SlOmG;X0_Rtf#N7B=T4%q$Q!$IzqqIb)F{VI^HQgl#|SqLLc3r8B- zQFNCSg`3wO)^^QdqJu-&VliijP>^%V$fM=c(=%B(iMRE@_9|wUxSW>&HL^3|XwNm& zYLZ&|N8sRg=`<-#=@)@$<|K^2S&#;VQP$no$YQ#WMp>I4h3~!kjWoud&@~!h$Miqh zLZqdpoj5$5-Y(bfdL_UYz7PpL1n1hZ5lF8f0}%2W8EUdchQSuvt%-b6tEF}Bp1`qQ zjn)$qg2MmFguRrfc}5qI@8*R_L+k}nA8jGF((Zaxf_F48Vsp{ph9!7W+n*!lx1+O8 z_fJG|(&2LdrqfCde|wTUHhN~2-VH8?T6QFd6t=MC*3u3*r%jOak|9K+h@Jt&@3osO zAh(R@ETRt)@w+KHs^Bdrlwp@7N+4<%s00ho0u(JrG5rdnvxt7hy6ebQz#F5+G_JV#f$U<3TgIuEt+vGJJoC54=^9`^8*JT1&GOT&*OY$&KZ$Cd diff --git a/build/test/out/test_duellist_spielesammlung_projekt.out b/build/test/out/test_duellist_spielesammlung_projekt.out index ee9da08b7c947b6508d083435b6e0174e3758670..eee50c89a4fb36eae79fad40a144f431f8656f8d 100644 GIT binary patch delta 6256 zcmZ8k3s{ub(f;OR7nVE7ZDAK!0bv0_PzZ{Ei?DzOl@(AC6p4bM%O$u}lZuictw=z~ zphpwpuQ9f!(Kfm%m>LrdNsUj;U-IYbHKa}I8f`;be=pT!J7;e~_IbYVoOx&FJu`D| z-}c;*_S}*7?iA(6`*tmMT66;XE*}w7>hW1v3r(*tP2 zR7r`b*oa+{RQLwZO62e%UXmoke)N#$d+Ig_!Z}HlKtIzzaE&xnjM;$Or6HpG27FN( z3S00^X}sbfS+(Din2PcR;ZR1KM(C78nTnT?&jB<`BMO{Ie`t*+TjTsV+5~Y0JMFGS3txFR$;xgH5%J}ty z&@tTNX7Um#5UtESN(C?xrO9_ahPuYUPNUW}&JC)u$uFpIQ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R Date: Thu, 8 Feb 2024 11:31:32 +0100 Subject: [PATCH 4/8] quit2 --- .../out/c/duellist-spielesammlung-projekt.o | Bin 12916 -> 12952 bytes .../test_duellist_spielesammlung_projekt.out | Bin 97038 -> 97038 bytes .../test_duellist_spielesammlung_projekt.pass | 2 +- src/main/duellist-spielesammlung-projekt.c | 5 ++++- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build/test/out/c/duellist-spielesammlung-projekt.o b/build/test/out/c/duellist-spielesammlung-projekt.o index ccc3f25ecb04a25f6ad07906d3ce22a42a9e2f90..b5320eb3d383c57914284f84f085f1a733df72fe 100644 GIT binary patch delta 259 zcmey8G9#7Chmo5B1Y~q4a!GNr2rw|5VPs&?nW$ULcwyo~byf{w28L}D&nh$So%m6m zb&Wg&gV$tPMtROWK?H8q{6_Ev3V~eJ3kW({}QIx^Cs*7+RJeA@PrAQcL;JbF);~j zJ}T_Z%viTsP<%QEFB8yZFtBLzR{0(lk;x1|3)q_2n9G`&x%HGmyvWVoDl3`9>Oe+0 n@^Q2>Iq|YGS1}&tVF5aKGlzN&JJ8(8ZF;{Lmu+s;|I7pcx229RmRA;Q2JdshIb%6>4gUjZw|9BJ7C70*XvFm-h4rjn~CWS|K_{G-pq^{n>EF!bMS&(00T2N zpOx=n;bN|wz`(@9$jqa+Iag&RlSl^8feem(9IZ@FysXSAj7ND`ST^gZ*RTW4n!HNy N7vr4GOZ7i90RR#LK@R`` diff --git a/build/test/out/test_duellist_spielesammlung_projekt.out b/build/test/out/test_duellist_spielesammlung_projekt.out index eee50c89a4fb36eae79fad40a144f431f8656f8d..30b253c8f1abc16b2d34cd75cc786ab88b8e568d 100644 GIT binary patch delta 4123 zcmZ8jdsNhQ7XRI01_tFZG`w^ehWAr&M!>;fa0o_1QyCQmL4k})1R)(tH$ei~q6rwh z+L!Wi)N0pG>XBv>tF>^&)NMPlo!We5bdnsGI?-y1nP>KXXBdQje|#UGd++ByzW4i` z>AWrJye+Z31a;l*OWp2I7j<8L3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_spielesammlung_projekt.out | Bin 97038 -> 98062 bytes .../test_duellist_spielesammlung_projekt.pass | 2 +- src/main/duellist-spielesammlung-projekt.c | 29 ++++++++++++++++++ 4 files changed, 30 insertions(+), 1 deletion(-) diff --git a/build/test/out/c/duellist-spielesammlung-projekt.o b/build/test/out/c/duellist-spielesammlung-projekt.o index b5320eb3d383c57914284f84f085f1a733df72fe..8bbf2dc84b4eb0eb9e6cd101e8de5794555378c6 100644 GIT binary patch delta 1176 zcmaKreMl2w9LJyMcC9gAuUSck-t3$&F{frhF9g<>NCuUzv=?Hz%QW3gH_adhE=xIz z)ga$1L-7A#G@Qq})D!5=Lhf+PJ zVkk(?h~$X&Rtsz|D@2{-U1|m1LCoBGoJDqW+4v!Gan`_^8CEEVL89tlPt}R$tKnO6 z%mt&k*D)tK!kP%H&QHaks2V?&l#6*P<%D{4>%@hXQ0*S?OjjG)1r{=E;+gZmAX9R} z{zwcA$H0gN23X-7CEuvz@vyXSZfW*oLRxR7kP2r=1lk}u7Sv6Wu)vRm%D8K#5YBOtmiZ< zYgw!hu=%rp6y=(BYlBnvqsJ$Wh=&X1Y;q&39Of!<;GnmIZ}zwO_>&@hd>x|b;fr~f z$Ia)s%|?WFdz<{tp8p~UGPVKE$5>5vxY~HX=ajeA=l8gLVpAvY;+q>hB1D$AiY}j- zuktpvi|$0e&fD55*7=$`&4}chMwn7ges9{VV}=>IVC_vqlKTF}uNU%c)(IB36RS{A zHV`6+VX?kTKc=mB^nQcw$Uk|EDM>Q~4Ihgc0oKtHU9F)@mr$dF^TW1UMlXAXJ|UH}?zr)EC|2SC|0@Co%sLB)odq25bS zHjT?jjW^*z#hTcuS3$iI>OBLssz}?cP?P24NBO_l73xE(AVY=q_yaj$T}=vX=kaTD N-*yJK$XwB7<}VK$Jca-O delta 606 zcmcbTIU|+Jhmo5B1Y~q4a!CoY2rw|5VPs&?Q3ne$I8HQ8XNv#|To9bNNR3THn1NxN z=EQSKOnYS~eo|vwBhSF#r88NMQI2aF3s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U zaMy8FF7>l?e0MITta(V10+Eh7(?KfbpAiF3OZmfG7U}YGDMI2oNwk;p&^(Igsg7^T zW7&S2N7&fzLK}YwDX3hlTl?C|_4-oYpGVfzL+KXQ-X&Q{$7AzZC%Bh!SVDf)W!#T? zmw;h5)|83DG?nuFB~*wW9dBDAPF*SgeF-}UPG$VuQkLR(VJHuD`RH_OmrIHv8^YTk z=^uQtW!$@f;*ds^%)w2P(sX=P0cBmS1s`P-%EcQ0q#J^uk{sXzAs diff --git a/build/test/results/test_duellist_spielesammlung_projekt.pass b/build/test/results/test_duellist_spielesammlung_projekt.pass index 4f971f9..bdcfc4b 100644 --- a/build/test/results/test_duellist_spielesammlung_projekt.pass +++ b/build/test/results/test_duellist_spielesammlung_projekt.pass @@ -75,4 +75,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.043742199999996956 +:time: 0.04494909999993979 diff --git a/src/main/duellist-spielesammlung-projekt.c b/src/main/duellist-spielesammlung-projekt.c index b426da5..2f95108 100644 --- a/src/main/duellist-spielesammlung-projekt.c +++ b/src/main/duellist-spielesammlung-projekt.c @@ -340,7 +340,36 @@ int minesweeper() { if ((row == -1) && (column == -1)) { break; } + // Check field boundaries + if (row >= height || row < 0) { + printf("Row must be between 1 and %d!\n", height); + continue; + } + if (column >= width || column < 0) { + printf("Column must be between 1 and %d!\n", width); + continue; + } + + // Did you land on a mine? + if (field_check(minefield, mines, height, width, row, column) == 0) { + // Show the mines + show_minefield(mines, height, width); + printf("Row: %d Column: %d was unfortunately a mine!\n", row + 1, column + 1); + break; + } + // Are you done? + else if (end_check(minefield, mines, height, width)) { + // Show the mines + show_minefield(mines, height, width); + printf("Great! Solved correctly!\n"); + break; + } + // Show current field to continue playing + else { + show_minefield(mines, height, width); + } } + return 1; } From c4a6c0a8779d0cf27b4cbef33be2c2a6b7aaa56d Mon Sep 17 00:00:00 2001 From: Daniel M Date: Thu, 8 Feb 2024 11:36:38 +0100 Subject: [PATCH 6/8] free_minfield --- .../out/c/duellist-spielesammlung-projekt.o | Bin 13524 -> 13872 bytes .../test_duellist_spielesammlung_projekt.out | Bin 98062 -> 98608 bytes .../test_duellist_spielesammlung_projekt.pass | 2 +- src/main/duellist-spielesammlung-projekt.c | 11 ++++++++++- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/build/test/out/c/duellist-spielesammlung-projekt.o b/build/test/out/c/duellist-spielesammlung-projekt.o index 8bbf2dc84b4eb0eb9e6cd101e8de5794555378c6..8177a072c6a453d32e18af9d1d5c0b104f18549b 100644 GIT binary patch delta 3812 zcmY+Hdu&tJ9mjv?+A#*_pxt=g#i$7r`kYMGGwW^AaPs5(*T9vTcNrJIUaMkhg=ea}7DzY$06_G0bC)vR%wEX4lCr zqSjbhC!Y~>+~dgDUPttHqb}i{I3b=cmQNb4Z-vHUlLvhJl|B}8iqm5>YOlVc%)PNm z0q5da;Sc`;S6)6Db1Lt+Tva+M3gy|-j>vx|r=~_@*Tx>cI2OBda#^(*FuJ+2(#Nl_b0Y0<9LMwxO*i03rIyG{3PnyJ{{8&^b*9C&c;sQAmSeq?3 zEB3@w$@o?h=TySV8ANY5ROR1eR(`YcIo%og&CV>#?l*@qlZ>3xZ?1u56;_x_U|FRV z`4zAPUm)H;+&7dg8YJ;?fjR4bs+8ZW3@)$7(0b5U^MjhhylPEG4`W%*0H*eu_GAKE zm{TbBR%IxATop5WJ~FM?k!i&&%jq|F#j*-j=@;^)2YdSxJ*i}Rb83jyRKQesr4vIb z786t+A58WRnfoQz2mRSN)>E(4Azh916fDbLu`4~4O5=1K(hIRJXfFA)y5S8~$FRTm zU|$xXj_T>BR!o0W*wcn+cyCm;bkEN=#*O%vSAfoaWHmOW@L z!PD9|grv@@X!hHSJ0>g$mGPixSaeR*R~|0{cG^9d1{LJhp9MXoSQ@c;(e9SM~t+u+i#4pD-1m&bT^Z zIvkdh!fpM%gNgRx48%1mq#hkUgl}>96RxzzsuXI3GX|$>@)2EdD6|OTJSC#ZwJxm= zzz)l7DBS(<%>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cTO1F2WUH4MTPJQMT*NcAGQKW>R{eJk+u1;0E>dJyH-JqhHPB6fq*$`fK0NQFYD zS-f70{C){RwmS;GFImh@J**jiEq~7}QwmEh4cT?Oq=7hfpIO?2<^qX&6QQS9*`a}}OTxD`eB Uazsn|KQ`k>tbS7q{WSRh0hdh5bpQYW diff --git a/build/test/results/test_duellist_spielesammlung_projekt.pass b/build/test/results/test_duellist_spielesammlung_projekt.pass index bdcfc4b..876525d 100644 --- a/build/test/results/test_duellist_spielesammlung_projekt.pass +++ b/build/test/results/test_duellist_spielesammlung_projekt.pass @@ -75,4 +75,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.04494909999993979 +:time: 0.043835999999828346 diff --git a/src/main/duellist-spielesammlung-projekt.c b/src/main/duellist-spielesammlung-projekt.c index 2f95108..d3f4e78 100644 --- a/src/main/duellist-spielesammlung-projekt.c +++ b/src/main/duellist-spielesammlung-projekt.c @@ -308,6 +308,16 @@ int end_check(char** minefield, char** mines, int height, int width) { return 1; } +void free_minefield(char** minefield, int height) { + int i; + // Free each vector + for (i = 0; i < height; i++) { + free(minefield[i]); + } + free(minefield); + minefield = NULL; +} + int minesweeper() { int height, width, row, column; printf("Enter the height of the game field:\n"); @@ -369,7 +379,6 @@ int minesweeper() { show_minefield(mines, height, width); } } - return 1; } From a14138e3c13ac05a9579132df3c2aa4ef58e5669 Mon Sep 17 00:00:00 2001 From: Daniel M Date: Thu, 8 Feb 2024 11:38:25 +0100 Subject: [PATCH 7/8] get memory --- .../out/c/duellist-spielesammlung-projekt.o | Bin 13872 -> 13888 bytes .../test_duellist_spielesammlung_projekt.out | Bin 98608 -> 98608 bytes .../test_duellist_spielesammlung_projekt.pass | 2 +- src/main/duellist-spielesammlung-projekt.c | 1 + 4 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/test/out/c/duellist-spielesammlung-projekt.o b/build/test/out/c/duellist-spielesammlung-projekt.o index 8177a072c6a453d32e18af9d1d5c0b104f18549b..390f04a06c661f5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4qPGo22eMRg4cxavx- zI?JrektRZf*=EFST*g*S2fd<){y_}n+bn2f-%N)K;LrBzX(R3IoE|R7uFN4d1`%{> zJEnpa>(hgl*(E_4w6Mw~zSB7aY3O0MX$h%JoeaLR)VbU&Edf-rI}}A3M^&oa!j&b9 zN?sGnxKuoAv+pwYS2FYOTx=Hb_$BsKoJ-7zS+#*ZNhU{fHZ_I9l(Qu%P*l}WXjbEf zlgTi(XgH!Lq-_MUfRMfs$TDuVY`9e=A=N{OIRH8RhvB~kEZ{m_=P}%2$IKZ}Y7K4d z_&kcKja{DyhEZ+w6MsO@hN%~Vv+Nwv9cIVU!Jz0V9`485K@hB2)qJvjgYBLVlW6Fs z!9P=^Fkgxtr1t3`sYJ+qZAC!=`EFwo8DwE(g&Ab;$~I@f0%%}A5vaI0!p%-cLD{ gGv9o2DrZIc1O~D#`IO=^b~>N#q; Date: Thu, 8 Feb 2024 11:39:52 +0100 Subject: [PATCH 8/8] get memory_mines --- .../out/c/duellist-spielesammlung-projekt.o | Bin 13888 -> 13912 bytes .../test_duellist_spielesammlung_projekt.out | Bin 98608 -> 98608 bytes .../test_duellist_spielesammlung_projekt.pass | 2 +- src/main/duellist-spielesammlung-projekt.c | 1 + 4 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/test/out/c/duellist-spielesammlung-projekt.o b/build/test/out/c/duellist-spielesammlung-projekt.o index 390f04a06c661f5b65e2deaa9ab4ea77f37265a9..c4f8ca157d31be18a2193977aae32e3aa6ada235 100644 GIT binary patch delta 230 zcmX?*b0de-hmo5B1XfJsl;&I_$iQ%hk%2*HqHZx`!Ni5?tRbQd3{n%%Dl?i*{HV@q zuLP8zEXyd*`HF>sAs)zkFxiz+nbC7{CZjrI>Ewxw>Z~)>85mw|-pd%s&lozHU+@lN z#pXAHDU9;nt}i-WR9L!Q-*mF5ym(p{F#>gpGmq^~dmMIHG#TA7@9SzVf$nNKqvc09_%0(8@6 W0WCQW#)Xshjeaw}+N^CX$_xNUB}7L6 delta 208 zcmcbSb0CM)hmo5B1SU-6l;)fu$iQ%hk%2*EqHZx`%*2K2tPY|K3``TxDl;lg{HV^V zt;E2vWwI=zJm(7*1_o~+@5E$RMrB6h$(fAmjPa8vGODvSt1~cM+Ps%Bke|_cGQZ#* z#eH)RB*)mC1>h)uox4c_-6h$D=$fESoj7P*;ter0K7If A_5c6? diff --git a/build/test/out/test_duellist_spielesammlung_projekt.out b/build/test/out/test_duellist_spielesammlung_projekt.out index e93a10bbd3bcfc3682bd8e623ef3217167b68504..202fa72e13505c0351b90040fa759f51200ef51e 100644 GIT binary patch delta 4237 zcmZ8k3sh5A7JVlq5|M8M0*0UA7l>dYAhZHTAq4z_ihw`^3LQ~ER2ZG92rV*}VI08& zUa;!m)YVE`9c)^#?bL}?Yn|3rtad5&Q(dFe_$^&^)K)v0a~}j@-denS@80L^bMEit z(evuKo>#}Uyau_gO$#NfPPcyhCfqQ;0(}5K;`0tqAPD26OW+IqqjWm7;W4QXyo}#U zb&!G1GNTKW3&JUBh(M2Z4;IP%;R0@!DdA(>C7YwnB(~wM)GA~M!oI|Mz0f2Lu{vat z?E&2~DXX(&iK`r~fh*%j8%yVb)%HHGAo~io12+0#d#)X!V^#%zi8z zr*c|Le3M^@70R)F+-yj~i{myLoe8828ZB;H4pWXi)fN&sZaue3B;I(JqMxGZ3J#O^ z5H4@}jDr!w;8A3bI-31yM!W?94xg zn2nq<4EqUuSsc$WF(6VgyC z-(07lci?6h%8~CtD$ep!xM+vW#b6;=?4<~IA3{WFDfRDY>vDXW*2xBHz!xcO*ah>O?Wu)QJY#3~?#Je4}@X$FJ?VarJ!wJ4lTD}5K zeB?}{Tt0e=P2SUi^7ozrt@zYC5VFjEK57T0eko0+;u>trKGAHr2K}@y!=hnmQYu57 zIA3cOe&<0_QC#YAwjewzw2Imq4t$S$mG$rv2Kq(#Bof(daOO!J``KnApBK1EC>Hto zNSw3r_kJ;S{15rP4EY%8zuV{NV)0aPd%uUGeK@y&3$OZXd|nnwQEcEp&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n#cvr+j1%5&f-t}~u7o!!u*WKBrlxUt6$zhVD^`oyY+X%U g81pZrpuVi6kigljxsbNFj-4u`OX=Rbw+K-6KPf2&)Bpeg diff --git a/build/test/results/test_duellist_spielesammlung_projekt.pass b/build/test/results/test_duellist_spielesammlung_projekt.pass index d908e27..2f9ec3f 100644 --- a/build/test/results/test_duellist_spielesammlung_projekt.pass +++ b/build/test/results/test_duellist_spielesammlung_projekt.pass @@ -75,4 +75,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.04344689999993534 +:time: 0.04444100000000617 diff --git a/src/main/duellist-spielesammlung-projekt.c b/src/main/duellist-spielesammlung-projekt.c index 2cacb1a..d0a7c8b 100644 --- a/src/main/duellist-spielesammlung-projekt.c +++ b/src/main/duellist-spielesammlung-projekt.c @@ -380,6 +380,7 @@ int minesweeper() { } } free_minefield(minefield, height); + free_minefield(mines, height); return 1; }