Added all kinds of code to the game\'s "engine"