No jump function for Player. Player can only move left and right to avoid obstacles