Build a basic 3D racing game using HTML and JavaScript. Requirements:
- Use a JavaScript 3D graphics library (such as Three.js) for rendering.
- Implement a player-controlled car with keyboard controls (arrow keys or WASD).
- Design a simple racing track.
- Add start and finish lines.
- Display speed and lap time on screen.
- Basic collision detection with track boundaries.
Optional features:
- Obstacles or checkpoints
- Sound effects
- Responsive layout
Provide source code and instructions for running the game.