![]() |
| | #1 |
| Tropical Coder Join Date: Mar 2005 Location: Cayman Islands
Posts: 503
| Texas Hold'em Anyway, I was a Texas Holdem advocate and since I already have a poker framework for 5 card draw/stud, I figured I'd convert it over to texas Hold'em, but I have a question. Built into the framework is the ability to evaluate the hands to determine the poker ranking ie. flush, straight etc... The question is should I provide access to the evaluation functions to the contestants or since this is a learning experience as much as a contest, should I force the player to evaluate their own hands? What's your opinions on this? |
| Darryl is offline | |
| | #2 |
| and the hat of marbles Join Date: May 2002 Location: Göteborg, Sweden
Posts: 2,038
| Players should write their own evaluation functions, but anything that makes more people enter is perhaps a good thing. The focus will be tactics anyway.
__________________ Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling |
| Sang-drax is offline | |
| | #3 |
| Magically delicious Join Date: Oct 2001
Posts: 856
| I agree with Mister Drax. A part of the assignment should be to successfully determine the state of a hand. If a contestant's code is unable to perform this accurately, it will tend to lose against better written submissions. This sounds to be a very desirable requirement of such a contest. |
| LuckY is offline | |
| | #4 |
| Registered User Join Date: Dec 2002
Posts: 409
| card game rules please. <learned that lesson the hard way meow> |
| kryptkat is offline | |
| | #5 |
| Registered User Join Date: Jul 2005
Posts: 9
| this should explain the rules of the game pretty well. You can count me in, just tell us some of the specifics (format of the cards, how we look at the widow cards, functions for betting, etc.). I think it would make it more of a challenge to make us evaluate our own hands, but If you want more players, then start out with us being allowed to use them, and if turnout gets better, you can change it to evaluating on our own. -cheers- |
| Jherry is offline | |
| | #6 |
| Tropical Coder Join Date: Mar 2005 Location: Cayman Islands
Posts: 503
| hmm, I have been debating both, on one hand, it would be a good excercise for the programmer, but on the other hand, the contest is really about writing the better texas holdem algorithm. Additionally, if I release the framework for them to test with, I won't be able to hide the function anyway and it's a required part of the framework to evaluate the hands. So I won't give access to it, but for those that want to copying/modifying my function to fit their needs won't be hard. @Jherry, sorry I am not familiar with the term widow cards, but anyway, I will give you the details tomorrow. I will release the player class that the contestants will have to overide...that should be enough to get everyone started. |
| Darryl is offline | |
| | #7 |
| Tropical Coder Join Date: Mar 2005 Location: Cayman Islands
Posts: 503
| Ok as promised, here is a preliminary player class, subject to change, although I don't speculate it will. I also included the card class, as the player class depends on it. Basically, you will take the file Your_Player.h and fill in the blanks. Rename your_player.h and the class to something you find more suitable (try to be unique) The file player.h has been commented to explain how each function works. The framework hopefully will be finished this weekend for you to be able to test your players with. I'll include a practice bot and a console/human player as well. I am hoping to get at least 8 participants |
| Darryl is offline | |
| | #8 |
| Registered User Join Date: Jul 2005
Posts: 9
| just a quick question, are you going to be logging the game for us? If not, can I add a function to do so in actionNotify, and have you send me the log? How many chips will we start out with? Also, the widow is just the community cards. Last edited by Jherry; 08-05-2005 at 07:27 PM. |
| Jherry is offline | |
| | #9 | |
| Tropical Coder Join Date: Mar 2005 Location: Cayman Islands
Posts: 503
| Quote:
| |
| Darryl is offline | |
| | #10 | |
| Registered User Join Date: Dec 2002
Posts: 409
| ok thank you. Quote:
| |
| kryptkat is offline | |
| | #11 | |
| Registered User Join Date: Sep 2004
Posts: 720
| is there an original post to this contest? when's the deadline? how often will the blinds raise? will there be antes or just the blinds? where in the code can you get your (table) position and the amount of players in the hand who have yet to act? if i have time i'll get in. i say you hold a monthly tournament too. i think it would be kind of cool to have our players get more experienced over time. in other words, everyone can tweak their code to make their players better each month. a program like this could get very large and complex. it would be cool to go all out on it, but if everyone did, everyone would lose interest in the time it takes to do something like that. if we had monthly tournaments, i think we could keep up the interest and have adequete time to write some real good code.
__________________ Quote:
| |
| misplaced is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Texas - Toronto. Sites to see? | jrahhali | General Discussions | 11 | 06-19-2009 09:03 AM |
| Texas UFO sightings | Bubba | General Discussions | 8 | 02-06-2008 03:33 PM |
| Final compilation of texas holdem poker game | System_159 | C++ Programming | 6 | 12-12-2006 12:12 PM |
| Texas Chainsaw massacre | vasanth | A Brief History of Cprogramming.com | 12 | 11-19-2003 02:54 PM |
| Texas Instruments Calculator | golfinguy4 | C++ Programming | 1 | 01-13-2002 02:45 PM |