The only way to get this achievement is through spawning Prime Matters. Prime Matters have a small chance of spawning from a Ghost of a Ghost which likewise have a small chance of spawning from a Ghost. In order to spawn ghosts you must place down a Battlefield and kill any creature with a soul in its radius. It is recommended to have as small of a deck as possible in order to maximize the potential drops of cards not in your deck.
You also have to do this on Act 2 or beyond so that the Prime Matter has the ability of dropping a random card, though it is recommended against doing it on Act 4 as Prime Matter might have an ability that can one shot kill you. Since a bit of luck is required it is recommended to do this later on in the game after you have levelled up your town and have good gear equipped like Vampire Chairs in order to survive running the loops. Make sure to leave some space open to place the cards.
I personally did this after I had levelled up my whole town and I did it on Act 3 with the Rogue. It took about an hour and a half to get, my card loadout was Oblivion, Battlefield, Grove, Spider Cocoon, Suburbs, Forest, River, and Village.