game loop complete