Generally speaking, the first step would be to get permission from the author of the book series. A game based on a book would be considered a "derivative work" under the Copyright Act, so you could not legally create it without the author granting you a license to do so. There are exceptions to this rule - such as parody or using non-copyrightable portions of the work to create a new work - but generally you must get the rights to use the author's work before you begin creating your game.
If it is not your series, then you will not be able to do so without permission from the intellectual property rightsholder for the book series. You may be able to get a license for it, but if you don't have experience in making card games (which judging from your question it sounds like you don't) they will not be likely to grant it -- the risk to their brand from you changing the "universe" of the story (e.g. plot, characters etc.) in a way they didn't intend, not to mention bad press if your game is not very good, is simply too much for any sane company to allow. Making a card game that can actually sell well is just as difficult to design as any computer game. It's likely they'll go with professionals for that sort of thing.
Still, it can't hurt to ask, but if they say no you are pretty much out of luck.
The author is a Maryland attorney; however no answer given on Avvo is intended as legal advice or intended to create an attorney-client relationship.
Our Rating is calculated using information the lawyer has included on their profile in addition to the information we collect from state bar associations and other organizations that license legal professionals. Attorneys who claim their profiles and provide Avvo with more information tend to have a higher rating than those who do not.What determines Avvo Rating?Experience & background
Years licensed, work experience, educationLegal community recognition
Peer endorsements, associations, awardsLegal thought leadership
Publications, speaking engagementsDiscipline