Mechanics of drawing cards in Wingspan

I’m creating a module for Wingspan, but I haven’t implemented the mechanics of drawing cards yet. If you know how to do this, please help me.

What part of drawing cards are you having trouble with? Have you created a Deck? If not that is probably the first thing you should do.