|
@ -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) |
|
|
{ |
|
|
{ |
|
|