Code written in C# for a 2012 game development class