Browse Source

Werte für ballposition global erstellt

main
fdai7172 2 years ago
parent
commit
db6a942ae1
  1. 5
      src/Paper-Bin.c

5
src/Paper-Bin.c

@ -3,6 +3,9 @@
char field[23][29]; char field[23][29];
int Ballx = -1;
int Bally = 27;
void buildBin(int width, int heigth){ void buildBin(int width, int heigth){
field[width][heigth] = 'V'; field[width][heigth] = 'V';
field[width+1][heigth+1] = '\\'; field[width+1][heigth+1] = '\\';
@ -55,8 +58,6 @@ int main()
} }
void getStartPosition() void getStartPosition()
{ {
int Ballx;
int Bally;
while (Bally == -1) while (Bally == -1)
{ {

Loading…
Cancel
Save