change GameOver Condition to object detection instead of velocity