finished game loop