Cleand up game code.