Online Casinos - Casinomeister Logo Online Casinos - Casinomeister

Go Back   Casinomeister's Online Casino and Poker Forum > The Amazing World of Online Casinos and Poker Rooms > Online Casinos

Notices

Online Casinos Online Casinos - Information, Experiences, questions and such. This is no place for ads or cloaked promos. Shills and spammers be warned

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 20th December 2007, 12:50 AM
Registered User
 
Join Date: Dec 2007
Location: indiana
Posts: 4
WTGs: 0
WTGd at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Reputation Points: 10
Rep Power: 0
karlkruse is on a distinguished road
programming

Hello I am trying to program a hand analysis software that will allow me to input card valued in like a C# project and return which cards to hold. I have looked at vpgenius.com and asked for the source to his hand analysis software. Anyone able to give me advice?
Reply With Quote
  #2 (permalink)  
Old 20th December 2007, 11:16 AM
Zoozie's Avatar
Meister Member
 
Join Date: Dec 2005
Location: Denmark
Posts: 1,016
WTGs: 14
WTGd at 16 Times in 2 Posts
Thanks: 639
Thanked 1,143 Times in 367 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Reputation Points: 6100
Rep Power: 48
Zoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond repute
It is already explain in full details on vpgenius and even with code examples.
Basically you try all possible combinations of cards to hold. And for each of these you average payout for all possible draws. It is possible (but complicated) to improve performance a lot by treating 'similar' hands the same so you only have to do it once for each of these.

And then you also have to make a hand-ranking method, which is also explained, that determines the rank of a given hand. Then add some GUI and you are good to go...

The hand-ranking code on vpgenius is a little complicated, but it is very fast, because it only uses 'primitives'. I have a much simpler Java version using OO-design, but it is 5000 times slower. Of course you can also just implement it in Java or C# using primitives to get the same performance, and I suggest you do this.
Reply With Quote
The Following User Says Thank You to Zoozie For This Useful Post:
SlotsWizard (20th December 2007)
  #3 (permalink)  
Old 20th December 2007, 11:38 AM
Meister Member
 
Join Date: May 2006
Location: North of Antarctica
Posts: 1,658
WTGs: 5
WTGd at 48 Times in 3 Posts
Thanks: 1,664
Thanked 1,556 Times in 774 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Reputation Points: 8249
Rep Power: 60
SlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond repute
Quote:
Originally Posted by karlkruse View Post
Hello I am trying to program a hand analysis software that will allow me to input card valued in like a C# project and return which cards to hold. I have looked at vpgenius.com and asked for the source to his hand analysis software. Anyone able to give me advice?
I got your emails, but like I told you, the code I wrote would be pretty much useless to you because it would require so much modification and explanation - which I really don't have the time for. I already put a lot of time and effort into the programming pages on my site and made them as easy to understand as I could.

Just go about it logically and start simple. I believe you said you were just learning C#, so you'll want to play around with it for a while before you attempt to create something as massive as a VP analyzer. Get a feel for the language first.
Reply With Quote
  #4 (permalink)  
Old 20th December 2007, 04:11 PM
Registered User
 
Join Date: Dec 2007
Location: indiana
Posts: 4
WTGs: 0
WTGd at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Reputation Points: 10
Rep Power: 0
karlkruse is on a distinguished road
best play strategy

I have a question about the options open to me for making the source on my own. First, can you only make a hand analyzer that would tell you which cards to hold for the best play only by looping through all 32 ways to play each hand and finding the ev of each of those ways to play. Or if you just want to know which cards to hold and not its actual ev is there any way i can use like you predefinded strategy or some other code that would just tell me which cards to hold for each hand i inputted?

You changed you site a lot lately how long have you been planning to complete that?
Reply With Quote
  #5 (permalink)  
Old 20th December 2007, 04:27 PM
Zoozie's Avatar
Meister Member
 
Join Date: Dec 2005
Location: Denmark
Posts: 1,016
WTGs: 14
WTGd at 16 Times in 2 Posts
Thanks: 639
Thanked 1,143 Times in 367 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Reputation Points: 6100
Rep Power: 48
Zoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond reputeZoozie has a reputation beyond repute
For a fixed paytable and specific VP game it is normally possible to construct a strategy table (algorithm). Some games are too hard to made strategy tables for because of penalty cards etc. And then it is very easy to make a program to play by this algorithm.

I did exactly that for JoB in the following thread. Source code also included.
However it is Java and not C#(but they are very similar).

http://www.casinomeister.com/forums/...ight=simulator
Reply With Quote
  #6 (permalink)  
Old 20th December 2007, 04:28 PM
Meister Member
 
Join Date: May 2006
Location: North of Antarctica
Posts: 1,658
WTGs: 5
WTGd at 48 Times in 3 Posts
Thanks: 1,664
Thanked 1,556 Times in 774 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Reputation Points: 8249
Rep Power: 60
SlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond reputeSlotsWizard has a reputation beyond repute
Quote:
Originally Posted by karlkruse View Post
I have a question about the options open to me for making the source on my own. First, can you only make a hand analyzer that would tell you which cards to hold for the best play only by looping through all 32 ways to play each hand and finding the ev of each of those ways to play. Or if you just want to know which cards to hold and not its actual ev is there any way i can use like you predefinded strategy or some other code that would just tell me which cards to hold for each hand i inputted?
Using the strategy-based method would be easier, but keep in mind that it's a basic strategy and there are lots of seemingly bizarre exceptions that would need to be accomodated. I am very skeptical that you will be able to accomplish what you are trying to do successfully. I seriously wouldn't attempt it if I were you. I wouldn't even attempt it if I were me.

Quote:
Originally Posted by karlkruse View Post
You changed you site a lot lately how long have you been planning to complete that?
About a week or two.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
An Open Letter to Casino Operators and Software Providers SlotsWizard Online Casinos 22 25th July 2007 05:24 AM
Mathematical proof that.......ummmmm pangloss Casino Complaints - Non-Bonus Issues 13 20th May 2007 05:07 AM
World Poker tour to go online Nasdaq:WPTE mary Casino Industry Discussion 0 12th September 2004 08:38 AM


All times are GMT +2. The time now is 05:25 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
© All Rights Reserved, 1998-2008
Inactive Reminders By Mished.co.uk