refactored player radius and collision detection code, and made trail width a separate const