Browse Source

Level auf Wände prüfen und in Array schreiben

main
fdai7103 2 years ago
parent
commit
abf07daff1
  1. 4
      src/Paper-Bin.c

4
src/Paper-Bin.c

@ -218,6 +218,10 @@ void Generatefield() {
field[20][1] = windForce < 0 ? (windForce * -1 + '0') : (windForce + '0');
}
if (wallX > 0 && wallY > 0 && wallLength == 1)
{
field[wallX][wallY] = '_';
}
}
void addScoreboard()

Loading…
Cancel
Save