Forums - C# Corner

Forum guidelines

Basic C# blackjack game

Sep 15 2008 12:16 AM
Hi, I'm new to C#...very new and am having tons of problems with my second project...we are to make a simple c# blackjack game and the rules are this:
  • Dealerdraws two cards
  • Userdraws two cards
  • Usercan choose to hit (draw another card) or stay
  • Ifuser chooses to hit, then the user draws another card
  • Thedealer will draw another card if his point total is < 17
  • Thewinner is the closest to 21 points without going over
  • Ifboth the user and dealer go over 21 points, there is no winner
  • If theuser and dealer tie (for 21 points or less), the user wins
It is supposed to look like this:
Dealer has:
             ace of spades
             2 of hearts
Dealer Total:
You have:
Your Total:

Enter (h)it or (s)tay:
You Draw:
Dealer Draws:

Dealer Total
Your total


can anyone show me how to do this or give some help PLEASE!!!??

Answers (6)

Unlimited Flat-Free License


File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!