# Auto-Shuffle decks at the start of a game

**URL:** <https://forum.vassalengine.org/t/auto-shuffle-decks-at-the-start-of-a-game/10321>\
**Category:** Module Design\
**Created:** [March 29, 2020, 10:50am UTC](https://forum.vassalengine.org/t/auto-shuffle-decks-at-the-start-of-a-game/10321 "2020-03-29T10:50:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![C36](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/c/9f8e36/32.png) [@C36](https://forum.vassalengine.org/u/C36)\
**Post date:** [March 29, 2020, 10:50am UTC](https://forum.vassalengine.org/t/auto-shuffle-decks-at-the-start-of-a-game/10321/1 "2020-03-29T10:50:31Z")

</div>

How can I get all decks of my module shuffled automatically at the start of a game?

---

<div class="post-metadata">

**Author:** ![tar](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/tar/32/21_2.png) [@tar](https://forum.vassalengine.org/u/tar)\
**Post date:** [March 29, 2020, 7:25pm UTC](https://forum.vassalengine.org/t/auto-shuffle-decks-at-the-start-of-a-game/10321/2 "2020-03-29T19:25:32Z")

</div>

Depends a bit on exactly what deck behavior you want.

The simplest to do is to just set the deck property “Re-shuffle” to  
“Always”. That gives you a random draw from the deck.  
This will work for you as long as you don’t care about the order of cards  
at all.

If you need to return cards that stay in order at the top of bottom of the  
deck, then it will be more complicated.

On Sun, Mar 29, 2020, 7:42 AM C36 via messages [messages@vassalengine.org](mailto:messages@vassalengine.org)  
wrote:

> How can I get all decks of my module shuffled automatically at the start  
> of a game?
> 
> * * *
> 
> Read this topic online here:  
> [Auto-Shuffle decks at the start of a game](https://forum.vassalengine.org/t/auto-shuffle-decks-at-the-start-of-a-game/10321/1)
> 
> * * *
> 
> messages mailing list  
> [messages@vassalengine.org](mailto:messages@vassalengine.org)  
> [vassalengine.org/mailman/listinfo/messages](http://www.vassalengine.org/mailman/listinfo/messages)
