add    pause    game   function