Re: Help With My Game of Black Jack

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jiri Babor wrote:

> Firstly, you did not properly initialize your deck.

Ooops...

> Secondly, in your shuffle, you call rand() twice
> per iteration. One is enough, it is an expensive operation.

Errrr...

> -- WARNING! TESTED CODE!

Thanks! smile

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu