Help with game

Hi, I’m makeing a car game, now I have the cars, and streets, but how do I make the buildings solid?¡ and how do I make it so when the get to the end of the screen it “swings” to the next, also how do I make it so if the car hits the walls like 6 times it catches a fire and blows up?¿ E-mail me at chode_phreak@hotmail.com