Star Apocalypse is the reinvention of the 4X genre. The game is a real time game of intergalactic civilization, using the computation power of modern computers to run advanced simulations on cultural, technological and societal interaction and development.
This is the full Combat Prototype sourcecode, released under LGPL license. Open it with Visual Studio C# 2010. The sourcecode is partially documented, and requires openTK (Open Toolkit) to run. Feel free to learn from it, use it and build upon it! Open the archive with winrar or 7zip.