Super Planet Crash
A fun game created by Stefano Meschiari, a postdoctoral astronomer at the University of Texas at Austin:
a browser-based simulation that requires players to forge a planetary system capable of surviving at least 500 years
Here’s an article about it in The Verge.
Related: a 3D solar system created with HTML/CSS/JS.