View Single Post
Old 11-30-2012, 09:47 PM   PM User | #4
Kayla12
New to the CF scene

 
Join Date: Nov 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Kayla12 is an unknown quantity at this point
Deal() returns a value 0-51.
randomC() takes the RANDOMCARD and assigns it a card VALUE based on a case switch statement.

playerC[] are the cards, I have an array set up with 0-51 assigning a different card in the deck.

a & randomCard must be equal numbers so I assign the correct card, that is why I do not simply code a = Deal().

If document.write is so obsolete why not inform me of the appropriate code?

Thank you, I think.
Kayla12 is offline   Reply With Quote