Need C++ help again...

Discuss all aspects of programming here.

Moderator: The Mod Squad

Need C++ help again...

Postby Snowfire » Fri Feb 25, 2005 8:33 am

Hey all, we're making a poker program in my c++ class right now, and I've hit a major roadblock. I'm trying to make the part of the program where you tell it how many cards you would like to re-draw, and then re-assign a card to a specific value. I can't seem to figure out the best way to do this and the way I'm doing it right now, I don't think it will work. If you want I can post what I have so far so you know what the code I have looks like so far. I really need help with this guys!
Tono Sien


Love is the greatest conspiracy, by the most loving genius.
Snowfire
Black Belt 1st Degree
Black Belt 1st Degree
 
Posts: 1486
Joined: Sun May 11, 2003 8:47 pm
Location: Omaha, NE

Postby Snowfire » Fri Feb 25, 2005 11:46 am

I got it figured out, but now I'm having problems with the bank/betting part. Can anyone help?
Tono Sien


Love is the greatest conspiracy, by the most loving genius.
Snowfire
Black Belt 1st Degree
Black Belt 1st Degree
 
Posts: 1486
Joined: Sun May 11, 2003 8:47 pm
Location: Omaha, NE

Postby atang1 » Sun Feb 27, 2005 3:07 am

There are many poker software, some machine language is only 26kB.

Search the internet, download it and disassemble it using C+++ and you have the best stripped down codes in C+++.

Cheating, no. Learning fast, yse. Look at several, and you can see all the approaches. The expert poker software only has more card sets in graphics.
atang1
 


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest