473,388 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

need help with a C# blacjack game/project.

I'm an aspiring game programmer. I'm more experienced with pascal, c++,
and Java so I naturally love what c# offers and want to learn it. I
also wanted to start with something simple, to kind of show me the
ropes of c# and also programming in the Windows environment.

I found a couple of classes on the internet that are supposed to help
me handle the deck, and they do some things terrifically, but it seems
like I'm having a hard time putting the cards from the 1st hand back
into the deck after dealing the 2nd hand. It just doesn't seem to do it
the way that the Deck() class is supposed to.

I was hoping someone here could help.

here's a link to my source code:

http://beyond-earth.net/projects/JK21_001.rar

thanks in advance.

Joshua K
http://www.beyond-earth.net
http://www.forwardyouth.com

Jul 9 '06 #1
3 2049
Here is a link to some blackjack source code:
http://msdn.microsoft.com/vstudio/ex...aspx#blackjack
Jul 10 '06 #2
Tony,
Thanks for the link. Not to be ungrateful, but I don't believe that
really helps me. It's a link to code that doesn't deal with my code.
Are you implying that I should scratch my current efforts and look at
that instead? I was hoping to find a solution to the problem I'm
encountering, instead of an alternate source code.

Thanks again,
Joshua

Tony Sinclair wrote:
Here is a link to some blackjack source code:
http://msdn.microsoft.com/vstudio/ex...aspx#blackjack
Jul 10 '06 #3
On 10 Jul 2006 11:40:08 -0700, "Good Time Tribe"
<go***********@gmail.comwrote:
>Not to be ungrateful, but I don't believe that
really helps me. It's a link to code that doesn't deal with my code.
Are you implying that I should scratch my current efforts and look at
that instead?
Yes. Your code is complete rubbish. You should not only delete the
whole mess, you should look for another line of work entirely.

On the other hand, I haven't actually looked at your code, because I
am just learning C# myself, and I am the last person who should be
commenting on somebody else's code. I just happened to remember that
MSDN had a blackjack program in its starter kits, which are explicitly
intended as coding tutorials, and I thought you might find it
interesting, if not helpful. If you don't, that's fine, too. Good
luck.
Jul 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: dnphamus13 | last post by:
I'm new to this and drowning right now. I would like to put my database online for viewing. I managed to do the filtering but i need to do PAGING as the XML doc get bigger. From what i understand...
4
by: robinsand | last post by:
My apologies to those of you who are more advanced Visual C++ .NET programmers, but I am working on a project for an MBA course that is condensed into an eight-week schedule, and I need help...
27
true911m
by: true911m | last post by:
I would like to solicit your thoughts and ideas (code can come later) about how you would approach a project idea I just tossed together. I chose this as a testbed for me to play with objects,...
2
by: The alMIGHTY N | last post by:
I've been having some issues with recursive summing and have been unsuccessful at getting some of the solutions I've seen online to work. I'm hoping that perhaps somebody in the newsgroup will be...
2
by: Vicissitude24 | last post by:
Our instructor had given us a task to create a four-in-a-row game in C+ +(DEV). I was able to create a 2player human-human game. but unfortunately our instructor added new details. to add an AI...
7
by: Gladen Blackshield | last post by:
Hello All! Still very new to PHP and I was wondering about the easiest and simplest way to go about doing something for a project I am working on. I would simply like advice on what I'm asking...
1
by: javabeginner123 | last post by:
i have a java prob, and i have to solve it fast, but i'm just getting to know it, so plz help me solve it with full code completed, thanks so much. the prob is to create a monter fight and there is...
0
raubana
by: raubana | last post by:
I made a game not that long ago that's now on pygame.org, but the problem is that my game has a glitch that I can't solve! Okay, the game's alot like centipede, except it's in outer space and has...
2
by: shinerankin | last post by:
Hi Guys & Gals: I have a project with using flash that is updated with an xml file. The developer went belly up and is no longer assisting with anything. I need to write a simple html or php form...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.