Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 1:36 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Wed Jan 28, 2015 7:26 pm 
Offline
New Member

Joined: Wed Jan 28, 2015 7:21 pm
Posts: 4
I've spent two days searching for a 3-card poker LUT for Cactus Kev's Poker Evaluator, or even guidance on how to code something that can create one. I can't find anything. If anyone could provide information or guidance, it would be greatly appreciated.


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 7:16 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
Kevs 5 card evaluator in C is here http://web.archive.org/web/200902180426 ... uator.html
Is that what you want?
What is a 3 card evaluator and why do you want one?
Why not a 7 card evaluator?
What language?


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 3:55 pm 
Offline
New Member

Joined: Wed Jan 28, 2015 7:21 pm
Posts: 4
My project is to design a 3-card poker game. The game has an optional bet on a 6-card hand (your current 3-card hand plus your last 3-card hand). I have Cactus Kev's 5-card evaluator code, but I was hoping to find a 3-card LUT for it (and a 6-card LUT if there was one).


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 5:12 pm 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
Ok. Too busy at present to figure out and explain how to do this. Skiing next week so if the weather is bad or apres ski not appealing maybe I'll take a look. Haven't come across 3 card poker before, but I'm guessing it shouldn't be too hard to adapt Kevs approach. Famous last words...


Top
 Profile  
 
PostPosted: Thu Jan 29, 2015 6:08 pm 
Offline
New Member

Joined: Wed Jan 28, 2015 7:21 pm
Posts: 4
Thank you!


Top
 Profile  
 
PostPosted: Mon Feb 02, 2015 5:01 pm 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
Does it have to be cactus kev's design? I think I can do something like the two plus two evaluator which is much faster.


Top
 Profile  
 
PostPosted: Sun Feb 08, 2015 8:22 am 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
1. Write a naive evaluator
2. Evaluate all possible 3 card hands using the naive evaluator and put the results in a 52*52*52 array T
3. Use T as a lookup table


Top
 Profile  
 
PostPosted: Thu Feb 26, 2015 4:22 pm 
Offline
New Member

Joined: Wed Jan 28, 2015 7:21 pm
Posts: 4
I ended up sticking with Cactus Kevs and constructing the lookup tables. Fortunately, the complexity of doing it for three card poker made it less of an undertaking. The up side is that I truly understand how it works - which in the end is a good thing.

Thank you for your help!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group