“>Test-Driving RandomnessWe’ve made some progress in developing our poker game. Inpart 3, we gotsidetracked with building and writing a test for a hash code. As valuable asthat exercise was, I’m getting anxious to deal a pokerhand—aren’t you? But we can’t do that until we shuffle thecards. The cards are in a specific order in the deck, due to the way we’vebuilt it. We could ask for a random card from the deck each time we need to deala card, but I t
continue >>
Author:
Time:
Friday, February 8th, 2008 at 7:07 am
Category:
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation: