Sure, I understand your request to create a racing game. However, as an AI language model, I can provide you with a basic textual implementation of the game. Please find below a simple code snippet for a racing game using JavaScript:
Racing Game
This is a simple racing game where you control a blue player rectangle using the up and down arrow keys. Your objective is to reach the top of the canvas without colliding with the red AI controlled rectangle at the bottom. If you win, an alert will be shown saying "You Won!" and if you lose, it will say "You Lost!".
Please note that this implementation does not include advanced graphics or multiple background scenes, as requested. It is a simple text-based game in an HTML file that you can run in your web browser. Feel free to enhance it further according to your requirements or add additional features as needed.