I am trying to get the movey++ variable to increment when move_x is ≤-24. I am trying to get a tank to move up a mountain. let me know if you need more code.
if (move_x <= -11 && move_y >= 11)
{
turn_tank = 1;
move_y = 11;
move_x--;
}
if (move_x <= -24)
{
move_y++;
turn_tank = 0;
move_x = -24;
}
cout << move_x << " " << move_y << endl;
move_x--;
move_y++;
break;