Finish game code