Browse Source

Ball erzeugt und dessen Funktionsweise getestet

main
fdai7037 2 years ago
parent
commit
7ff1818329
  1. 6
      src/Paper-Bin.c

6
src/Paper-Bin.c

@ -15,6 +15,9 @@ void buildBin(int width, int heigth){
int main() int main()
{ {
int ballX = 7;
int BallY = 23;
while (1) while (1)
{ {
system("clear"); system("clear");
@ -27,6 +30,9 @@ int main()
} }
} }
field[ballX][BallY -= 1] = 'O';
buildBin(10,10); buildBin(10,10);
for (int i = 0; i < 29; i++) for (int i = 0; i < 29; i++)

Loading…
Cancel
Save