Prepare a deck of cards

I’m new to VASSAL and have the following problem: For a game setup I want to prepare a deck of cards with a specific card on top of the deck, another one somewhere in the middle and a third one at the bottom. All the other cards should be randomly shuffled. How can this be accomplished?

Greetings, Peter

You should work with intermediate decks — so you can shuffle only the deck parts you want separately shuffled each time. You can script the drawing and shuffling of cards, or let the player follow a series of instructions. An example module you can look at (there should be more) is Pandemic.

Thank you very much, I will have a look at Pandemic.