From 957fc8e95da5ae7bfaa2f366122af437fef61fba Mon Sep 17 00:00:00 2001 From: Daniel M Date: Mon, 5 Feb 2024 16:13:16 +0100 Subject: [PATCH] =?UTF-8?q?Die=20Stellen=20inerhalb=20des=20Spiele=20felde?= =?UTF-8?q?s=20werden=20zu=20gef=C3=BCllt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- duellist-spielesammlung-projekt.exe | Bin 42607 -> 42607 bytes .../src/duellist-spielesammlung-projekt.c | 9 +++++++++ 2 files changed, 9 insertions(+) diff --git a/duellist-spielesammlung-projekt.exe b/duellist-spielesammlung-projekt.exe index 23c9ab324d0c49fb9e42dd68dc107caf38cc1e09..7c6b5a1faa29cfa8c4878deda95feb7ce35448c4 100644 GIT binary patch delta 2394 zcmZ8i4Nz276n^*emR;m;ku}NPblC+HVFheg30QpmJYX7A)H2Iy0FBB7U5Q38kaad1 zmJMAzYTBPTW@A|sx{ZNlp^#{jl2c|`6V+O;VVkyM%5d~`?&7Y}oq6}2^PT^5?>q1J zLHhe3b+=OYSV!BUuvN=Q$K?ZL6t<9!MCJLHk8vIXP>kM)ttH{DJ~Uuh8NKLXT#Uw8%uPEVkRxUvCkdGY+2G}=%`QnDJ3A-UyWG| zU>5NVM)Pr82UWYSEEwRHDrH!Viz(Xo)^D>9e>=MoYm7n-%iw7TjD9Vk;!)14%rqYtIeHi_mHYQ3VUT=`U*uhUkHsh&z|tZ^*J!^p6{1 zL-4*}BW@b64hVe#-)8~^c>NBaUOJ`-WLm-8EJx4nMM=8bQ=JRnMxGLd{qzI#DuX>h6|3u~wTLsQ>O|DC9 zxm*_|YhDfTBjlM;G_`BdRQyMl9sLO_`!X+&P-kCzA#rJ1hCMa0Qlj>WFJ;+1zGPfO z=!-2zcO+_}Dbm-G<^+!Od*bGn@YJUBJTh;LH|bH7i;u-4%WvbG%a2jD(1K`1kt2-m z@5}!risy9*SKxCTnsT%XJ5syh)tvc?tMAG3Uidse9(*|h6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q|r zxf>U*Rb_NW&U#3jQv#hrQ7B$C@y-#&FQ~jH-be=HjnG~-7N%B(ICJJ6j*aBY9y1PS zBP2XX7Eoz0I^$CV=n2bwPu#+)F3RJ_Sk1y)CvkNsPBkMXD@vEI#I)LRvwD#U*79mA zB4&>dAp!I@<`@g@)yL>wD6JXAiUYx1ucpOtutvk&L43gf#F~7ZtcmM2i78mz5PgYP zpx%%8=n1S_Uop<@$NAjsL!tUmU#!owH3SqJ2GiYs19v^oUGZ}B%5dZ^B5_I|;tO_! zLPl+VG{MVsczI`)&{8|ddLqG5_p9uAB-&w)Ee6h1%i;3IU^rcu0hd2=F*3qaEP=xt z3ldx7eKcHgHJ%NJ+K2cQE%17M0duRp)1rpW^&f7ujQ4r*xI-A1g4gfM+)pA>KMc8u zNY60j29MId8a053*^l`2-FTJYRN%VZ!WA6N1)VE4t&!7#Y*^xI`Cz}5ZJrlCuKHnv4O@PNKdwiG`gE*+d~)YBN~Z%j*6cqwr=@uv^X zl^%rf{k62Jyd2SmkY`V0dv#E2SF?*cXtmcyZ5>8?8?#M^iQAq)zJr@TJ}iF{{h+tl-U3P diff --git a/duellist-spielesammlung-projekt/src/duellist-spielesammlung-projekt.c b/duellist-spielesammlung-projekt/src/duellist-spielesammlung-projekt.c index 8c41295..b386993 100644 --- a/duellist-spielesammlung-projekt/src/duellist-spielesammlung-projekt.c +++ b/duellist-spielesammlung-projekt/src/duellist-spielesammlung-projekt.c @@ -19,6 +19,15 @@ int berechneMinen(int hoehe, int breite) { char** erschafe_minenfeld(int hoehe, int breite, char inerhalb) { char** minenfeld = (char**)calloc(hoehe, sizeof(char*)); + for (int i = 0; i < hoehe; i++) { + minenfeld[i] = (char*)calloc(breite, sizeof(char)); + } + for (int i = 0; i < hoehe; i++) { + for (int j = 0; j < breite; j++) { + minenfeld[i][j] = inerhalb; + } + } + return minenfeld; } int minesweeper() {