So your question is how to start ? What end to tackle first ?
Maybe first, create a card sprite, will the whole deck as the animation. Then try to make a function that would spawn a single card, random or specific (specific frame to show ?).
Next step is spawning the deck at the bottom.
Then handle the click on a single card (the movement you want) to the top space.
The IP verification is more to be handled on the PHP side of the site.
Then maybe, start by doing some tutorials, it will maybe help understands how the layers of making your game could be set.