This is a Unity project which allows you to simulate a collection of gas particles in a 2D box using Monte Carlo statistics.
Any version of Unity should work: https://unity3d.com/get-unity/download/archive
It is functional in 2018.2.16f1
For viewing code you can use Unity’s Mono, or you can use Visual Studio: https://www.visualstudio.com/downloads/
Window -> Grapher will display energies
Values can be adjusted in RunScript.sh, using the sliders, or on the _Manager GameObject