|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
[Blackjack] Deck generation
It says in the rules that the decks are generated randomly
Does this mean that a number of traditional 52 card decks are randomly sorted or that a load of random numbers make up a deck i.e. could a deck concievably contain only aces for example |
|
#2
|
|||
|
|||
|
[Blackjack] RE: Deck generation
traditional 52 card deck:
Quote:
|
|
#3
|
|||
|
|||
|
[Blackjack] RE: Deck generation
Yeah, but the quote wasn't specific - just says what cards look like, not what deck looks like
Soz to be so pedantic. Just wanted to be sure. In regard to your comment about moaners (some other thread) never entering I should point out that the number of winners for each contest vs the number of entries make it almost a cert you get summat. So attn moaners - entering is defo a good idea Then again - although I keep starting these things I've never entered (work keeps on getting in the way) - this time... (I hope) |
|
#4
|
|||
|
|||
|
[Blackjack] RE: Deck generation
That's why I would recommend building the most basic script you can first and then adding to its functionality. That way, if the deadline hits...you have something to turn in that works
|
|
#5
|
|||
|
|||
|
[Blackjack] RE: Deck generation
Exactly my plan this time...
Usually end up doing all the testing and theory then not have enough time to finish the darn code |
|
#6
|
|||
|
|||
|
[Blackjack] RE: Deck generation
Quote:
I always thought testing was done AFTER coding |
|
#7
|
|||
|
|||
|
[Blackjack] RE: Deck generation
Not in the case of some of these
Algorith testing If you've got several possible solutions to a part of your solution it's quick to write a little testbed to see what works best |
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [Blackjack] Deck generation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|