Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Coding Help Thread
#13
I've definitely thought of it that way. It just made sense at the time that a card should come out from a deck (a larger unit), which is how I view the relationship for this particular case, and so should a poker hand (5 cards).

It only makes sense though, that a card and a deck are basic building blocks for any card game. A card should have only 2 properties: the value and the name for that value. A deck, I don't know, it probably has more methods than variables. Everything else is Poker-exclusive.
Reply


Messages In This Thread
Coding Help Thread - by Kalovale - 2011-05-21, 11:11 PM
Coding Help Thread - by Tykian - 2011-05-21, 11:18 PM
Coding Help Thread - by Kalovale - 2011-05-21, 11:30 PM
Coding Help Thread - by Spaz - 2011-05-22, 12:28 AM
Coding Help Thread - by Unauthorized Intruder - 2011-05-22, 12:34 AM
Coding Help Thread - by Kalovale - 2011-05-22, 12:40 AM
Coding Help Thread - by Fiel - 2011-05-22, 01:18 AM
Coding Help Thread - by Fiel - 2011-05-22, 01:44 AM
Coding Help Thread - by Kalovale - 2011-05-22, 01:52 AM
Coding Help Thread - by Luacake - 2011-05-22, 01:43 PM
Coding Help Thread - by Kalovale - 2011-05-23, 06:26 PM
Coding Help Thread - by Fiel - 2011-05-23, 10:47 PM
Coding Help Thread - by Kalovale - 2011-05-23, 11:14 PM
Coding Help Thread - by Fiel - 2011-05-23, 11:48 PM
Coding Help Thread - by Kalovale - 2011-05-24, 03:07 AM
Coding Help Thread - by Stereo - 2011-05-24, 04:05 AM
Coding Help Thread - by Kalovale - 2011-05-26, 10:11 AM
Coding Help Thread - by Fiel - 2011-05-26, 12:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)