@ -31,6 +31,50 @@ int feld(char prifield[]) {
printf("\n");
}
ranvers = rand() % 5;
int randirect2 = rand() % 2;
if (randirect == 0) {
if (randirect2 == 0) {
co = co + 10 * ranvers;
a = 1;
if (randirect2 == 1) {
co = co - 10 * ranvers;
a = 2;
if (randirect == 1) {
a = 3;
a = 4;
if (randirect == 2) {
co = co + ranvers;
co = co - ranvers;
if (randirect == 3) {
return 0;