source/rover.c
void rover_left(struct Rover* rover) {
    if (rover->x >  ROVER_LEFT_BOUND) {
        if (rover->move_counter == ROVER_INVERSE_SPEED) {
            rover->move_counter = 0;
            rover->x--;
        } else {
            rover->move_counter++;
        }
    }
}
/* move the rover left or right */
move the rover left or right
move the rover left or right
void rover_left(struct Rover* rover) {
    if (rover->x >  ROVER_LEFT_BOUND) {
        if (rover->move_counter == ROVER_INVERSE_SPEED) {
            rover->move_counter = 0;
            rover->x--;
        } else {
            rover->move_counter++;
        }
    }
}
void rover_left ( struct Rover * rover ) { if ( rover -> x > ROVER_LEFT_BOUND ) { if ( rover -> move_counter == ROVER_INVERSE_SPEED ) { rover -> move_counter = 0 ; rover -> x -- ; } else { rover -> move_counter ++ ; } } }
move the rover left or right
move the rover left or right