|
|
| Author |
Message |
Jorbes
Joined: 14 Feb 2006 Posts: 187 Location: Netherland
|
Posted: Mon May 01, 2006 5:29 pm Post subject: How to shuffle? |
|
|
As the "what is the best program when it comes to shuffling the library"-debate continues I need some advise.
What exactly would be the best way to shuffle the library as "real" as possible?
I dont know how mws/appr do it, but the way we figured it was this:
repeat the following 20 times for 1 shuffle of the library
[randomize library by picking cards from it one by one randomly and stacking them to create a pile]
any ideas / feedback on how it can be done / should be done also?
please put your ideas in pseudo code like i did, so i know what you're saying  |
|
| Back to top |
|
 |
NahHolmes
Joined: 13 Jan 2005 Posts: 561
|
Posted: Mon May 01, 2006 5:45 pm Post subject: |
|
|
| I used to have to program crap for a computer class. First off you have to understand there is no "Random" in computers. You seed the random integer to time since dos was created or whatever (which is basically a realy big fairly random number) then it goes to some list of fairly random numbers in a databank somewhere. I had to write a program to play Poker or some crap and the way I did the shuffler was to have to cards start out mixed up, (The cards would basically be assigned randomly to numbers then the numbers would again be randomized resulting in a severly random deck). I ran this program modified (basically in "debug" mode if you will) to make sure it was sufficently random and could never detect any sort of pattern through many many tests. Of course the problem with Magic is you basically have between 4 and 20 of the same cards in a deck. This can make a randomized deck seems less random when you draw 3 forests in a row when this can infact be compared to drawing three Spades in a row during a game of cards. |
|
| Back to top |
|
 |
Stryfe-
Joined: 25 Feb 2006 Posts: 72
|
Posted: Mon May 01, 2006 6:11 pm Post subject: |
|
|
| nahholmes your just sexy |
|
| Back to top |
|
 |
NahHolmes
Joined: 13 Jan 2005 Posts: 561
|
Posted: Mon May 01, 2006 6:25 pm Post subject: |
|
|
| Stryfe- wrote: | | nahholmes your just sexy | Now that's random. Write that into the MWS shuffler and you got something. |
|
| Back to top |
|
 |
Jorbes
Joined: 14 Feb 2006 Posts: 187 Location: Netherland
|
Posted: Mon May 01, 2006 6:39 pm Post subject: |
|
|
| NahHolmes wrote: | | I used to have to program crap for a computer class. First off you have to understand there is no "Random" in computers. You seed the random integer to time since dos was created or whatever (which is basically a realy big fairly random number) then it goes to some list of fairly random numbers in a databank somewhere. I had to write a program to play Poker or some crap and the way I did the shuffler was to have to cards start out mixed up, (The cards would basically be assigned randomly to numbers then the numbers would again be randomized resulting in a severly random deck). I ran this program modified (basically in "debug" mode if you will) to make sure it was sufficently random and could never detect any sort of pattern through many many tests. Of course the problem with Magic is you basically have between 4 and 20 of the same cards in a deck. This can make a randomized deck seems less random when you draw 3 forests in a row when this can infact be compared to drawing three Spades in a row during a game of cards. |
and your point being?
i've know for over 12 years now that computers can't "do" random, but for the sake of not going off topic, i'd like to just think that they can. (guess that was doomed to fail) |
|
| Back to top |
|
 |
NahHolmes
Joined: 13 Jan 2005 Posts: 561
|
Posted: Mon May 01, 2006 7:23 pm Post subject: |
|
|
| Jorbes wrote: | | NahHolmes wrote: | | I used to have to program crap for a computer class. First off you have to understand there is no "Random" in computers. You seed the random integer to time since dos was created or whatever (which is basically a realy big fairly random number) then it goes to some list of fairly random numbers in a databank somewhere. I had to write a program to play Poker or some crap and the way I did the shuffler was to have to cards start out mixed up, (The cards would basically be assigned randomly to numbers then the numbers would again be randomized resulting in a severly random deck). I ran this program modified (basically in "debug" mode if you will) to make sure it was sufficently random and could never detect any sort of pattern through many many tests. Of course the problem with Magic is you basically have between 4 and 20 of the same cards in a deck. This can make a randomized deck seems less random when you draw 3 forests in a row when this can infact be compared to drawing three Spades in a row during a game of cards. |
and your point being?
i've know for over 12 years now that computers can't "do" random, but for the sake of not going off topic, i'd like to just think that they can. (guess that was doomed to fail) | My point being I basically answered the question and thus the whole point of this thread then you come along and make a stupid post like I didn't just to say you knew about computers not being able to make random numbers. I'm sure 75% of the people here know that factoid it's a nerd forum after all. |
|
| Back to top |
|
 |
Jorbes
Joined: 14 Feb 2006 Posts: 187 Location: Netherland
|
Posted: Mon May 01, 2006 7:46 pm Post subject: |
|
|
| NahHolmes wrote: | | My point being I basically answered the question and thus the whole point of this thread then you come along and make a stupid post like I didn't just to say you knew about computers not being able to make random numbers. I'm sure 75% of the people here know that factoid it's a nerd forum after all. |
So basically you're saying that there is no point in writing a good shuffle method since computers can't do random?
If so and if everyone here knows that, how come people still keep complaining about the way appr./mws shuffles? |
|
| Back to top |
|
 |
ElvishGod
Joined: 12 May 2005 Posts: 3009
|
Posted: Mon May 01, 2006 8:04 pm Post subject: |
|
|
Okay: here's the deal
MWS is far more random, and intricately programmed.
Apprentice automatically avoids land clumps... Which makes it even less random. |
|
| Back to top |
|
 |
Jorbes
Joined: 14 Feb 2006 Posts: 187 Location: Netherland
|
Posted: Mon May 01, 2006 8:15 pm Post subject: |
|
|
| ElvishGod wrote: | Okay: here's the deal
MWS is far more random, and intricately programmed.
Apprentice automatically avoids land clumps... Which makes it even less random. |
I assume you have seen the source code for mws?
anyhoe, what would be the best way to shuffle?
split up in 2 piles and merge, followed by partial randomize of 2card pairs? |
|
| Back to top |
|
 |
ElvishGod
Joined: 12 May 2005 Posts: 3009
|
Posted: Mon May 01, 2006 8:24 pm Post subject: |
|
|
Jorbes, for all your shuffler questions on MWS (And any other MWS needs)
Message this guy:
Strovil |
|
| Back to top |
|
 |
Jorbes
Joined: 14 Feb 2006 Posts: 187 Location: Netherland
|
Posted: Mon May 01, 2006 8:27 pm Post subject: |
|
|
| ElvishGod wrote: | Jorbes, for all your shuffler questions on MWS (And any other MWS needs)
Message this guy:
Strovil |
I dont care about mws really, i just wanted to ask for help on a good (something everone is happy with) method for shuffling a deck. |
|
| Back to top |
|
 |
Laplie League Staff
Joined: 31 Aug 2004 Posts: 527
|
Posted: Mon May 01, 2006 10:49 pm Post subject: |
|
|
this is not another MWS vs Appr shuffler debate so please don't turn it into one.
back when I played IRL, i used to split my deck into 6 piles, then shuffle them with each other a few times. Then with the full deck do a few ripple shuffles. Then a few overhand shuffles. Then a final ripple.
I was never superstitious about the way i shuffle or how I shuffled. I usually just shuffle until i felt like it was randomized enough. And my superb deck making skills meant I was almost never screwed. |
|
| Back to top |
|
 |
Trotsky1
Joined: 12 Apr 2005 Posts: 322
|
Posted: Tue May 02, 2006 1:48 am Post subject: |
|
|
You can actually set how your deck is shuffled in mws there is an option somewhere, which allows you to choose between full randomization and real life mode. Deep Analysis, under Statistical analysis tab.
Further the settings tab allows you to supposedly set exactly how the deck is shuffled. |
|
| Back to top |
|
 |
nico Administrator
Joined: 28 Oct 2003 Posts: 708
|
Posted: Tue May 02, 2006 8:26 am Post subject: |
|
|
Jorbes, there is no way you can make a shuffler that everyone is happy with. People just like to blame outside factors when they lose, instead of their own folly. (hmm, where did I read that again?)
Greetz Nico |
|
| Back to top |
|
 |
Strovil
Joined: 11 Mar 2005 Posts: 575
|
Posted: Tue May 02, 2006 9:21 am Post subject: |
|
|
The MWS Shuffler article on MWSGames.com.
I do not know pseudo-code, but the article has the actual code for the MWS Shuffler.
It also makes the argument that any attempt to make a shuffler less random, such as to replicate a real shuffle, violates the rules of Magic.
As the rule goes, if you notice a difference between your shuffle and MWS's shuffle, then you are not shuffling correctly.
In real life, I pile shuffle to count, riffle shuffle 4-5 times, side shuffle until it "feels right," riffle 4-5 more times, and then pile shuffle to count once more. |
|
| Back to top |
|
 |
|