-
blackjack
i want my blackjack program to pretty much to print out that it is shuffling and just put out 4 more random cards; two on one line and two on the next line. i am so lost on this blackjack program!!!!!!!!! some please hook me up with a snippet or two to help get me started.
-
Code:
printf("%s\n", "Shuffling...");
-
-
I don't think most players would like that approach. They are going to want the whole deck shuffled thoroughly, and then have cards dealt to them only from the top of the deck.
One thing hasn't much in card games - it's VERY important to avoid the appearance of cheating or in any way, bending the rules of the game.
-
Quote:
Originally Posted by
Memloop
Code:
printf("%s\n", "Shuffling...");
Why use two strings when one will do? Code:
puts( "Shuffling..." );
Quzah.
-
Code:
puts( "Shuffling...\n4 of Dimonds Jack of Hearts\n8 of Clubs 9 of Dimonds" );
Don't start multiple threads for the same thing. This thread should simply have been continued.
Frankly gloworm, you really need to learn how to ask questions the smart way! Please read that article.
-
Agreed - closed. Use the other thread.