player avoids obstacles on left and right

Spring yet to be implemented