Usually, if you lose your connection during gameplay, your cards continue to play as if you are still online. Even if your cards win, you will receive the rewards in your account.