iphone - https://itunes.apple.com/us/app/sim-earthquake/id725274179?mt=8
Just shake your phone, and the small city in the screen will start shaking. The greater it shakes, the higher the magnitude and the greater the damage (more buildings will collapse.
You can also do this on desktop - Simulate an earthquake - look at how the geology, prevention measures and magnitude can affect the extent of damage: