[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [DL] Card Dealer



If you already have the random card generator (which seems to me to be the
difficult bit, but then, I'm a database analyst, not a true programmer),
then halting repetition seems to be a matter of putting the pulled card(s)
into a set or table (see, database thinking) in which any following cards
have to be "Null" to be valid pulls. They could be reset with a "shuffle"
button, but I'm sure you already have that.

Dammit, I hope my meaning is getting through. I'm just not a programmer, but
I could design it in Access, easy as anything.

I hope that helps, or that someone else can help more.

Derek Bass

------Original Message------
From: "Nick Zachariasen" <zacharin@pluto.dsu.edu>
To: "Deadlands" <deadlands@gamerz.net>
Sent: April 1, 2001 2:01:07 AM GMT
Subject: [DL] Card Dealer


Well, I've made a card dealer program in VB, but I can't figure out how to
keep the program from drawing the same card twice.  If anybody would be
willing to take a look at the source code and offer any suggestions, I'd
appreciate it.  I figured on submitting it to PEG as a utility mainly for
Marshals who have to do draws for Mysterious Pasts and VotWW, as well as
players of Hucksters so they can cast hexes repeatedly without the group
having to wait for the player (or someone else) to reshuffle the deck.  I
tried looking at the source for the DLCG, but I just can't figure out how
James cook did it.

Nick Zachariasen
Editor Emeritus
Trojan Times

_______________
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup