The source code of AgeOfTech, browse at your leisure.