Jump to content

Hand potential evaluator in autoit.....


Recommended Posts

Hi !

Since I am developing a poker bot in autoit I thought it would be a nice idea to develop most of it in autoit. So I came to the part where I had to do a hand potential evaluator. I use the same algorithm as in

the article "Opponent modeling in Poker", Billings. But when I try it afterwards it is extremly slow, and yes I do realise that I probably should use C or something. And with slow I mean it takes more than an hour to calculate everything.

I do realize that it is about 5 million comparasions you have to do, but it seems like it should go much faster anyways. So I wonder if any1 else has actually done a hand potential evaluator in AutoIt and what kind of performenace you have with it, =)

Link to comment
Share on other sites

5 million comparasions

since it is all interpreted code it wont get MUCH faster on 5 mio comparisons

the only thing i could think of - it "might" work to use a hashing algorithm to fill up a hash table to avoid using direct comparisons

- apparently someone has done this

http://senzee.blogspot.com/2006/06/some-perfect-hash.html

or use external c-compiled programs such as those

http://spaz.ca/poker/

Edited by nobbe
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...