There is an offline mode to play against bots, but it’s practically useless aside from testing decks. To get packs, you need coins that you get from completing quests such as winning 2 matches with two certain classes or dealing 100 damage to heroes or something. Those can only be completed against real people.