CitySim.js is a 3D SimCity clone written using Three.js.
Want to know how I made this? Follow the YouTube tutorial series here
https://dgreenheck.github.io/citysim-js/
This code is covered by the MIT License. TLDR; you can do whatever you want with it!