Last active
December 17, 2015 22:09
-
-
Save brine/5679952 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. paste this def below in the dev console | |
def setup(group): | |
starting = group[0]._id | |
count = 0 | |
group.shuffle() | |
for c in group: | |
c.moveToTable(c.width()*(c._id - starting), c.height()*count) | |
count += 1 | |
2. Load a deck | |
3. Trigger the function by pasting this call below into the dev console (replace group name with whatever the group is called): | |
setup(me.piles[groupname]) | |
4. Repeat steps 2 and 3 until you're convinced the shuffler isn't faulty |
you can do both as long as your groupname is one word. Otherwise you have to do the longer way of me.piles[groupname], such as me.piles["Discard Pile"]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
seems to be me.groupname now.