added player-obstacle collision detection