Added output handling for finished games