So here is a high-level overview of how the code works. I go over the structure of the project and discuss the Game class which wraps everything together. Enjoy!
All code here: https://github.com/QuantumInformation/Density-Wars