need help with a C# blacjack game/project.

G

Good Time Tribe

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
 
G

Good Time Tribe

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
 
T

Tony Sinclair

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top