Move countdown into game loop