Sure! Here's an example of a simple physics simulation game where you can destroy buildings in a city, similar to City Smash. The game utilizes JavaScript and is implemented as a single HTML file enclosed in script tags:
City Smash Simulator
In this game, buildings are randomly generated within the city. You can click and drag buildings to move them around. When a building collides with another building, it gets destroyed and turns red for a brief moment before being removed from the simulation.
Please note that this is just a simplified example and you can further enhance the game by adding more features, graphics, sound effects, levels, etc., based on your requirements and creativity.