TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jared Tracy
NA
1
0
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:
Dealer draws two cards
User draws two cards
User can choose to hit (draw another card) or stay
If user chooses to hit, then the user draws another card
The dealer will draw another card if his point total is < 17
The winner is the closest to 21 points without going over
If both the user and dealer go over 21 points, there is no winner
If the user 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
winner
can anyone show me how to do this or give some help PLEASE!!!??
Reply
Answers (
6
)
Use value-type references with generic
Vb.net Copy file one directory to another Directory