Online Casinos - Casinomeister Logo Online Casinos - Casinomeister
Results 1 to 6 of 6

Thread: programming

  1. #1
    karlkruse is offline Newbie member
    Join Date
    Dec 2007
    Location
    indiana
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation Points: 10

    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?

  2. #2
    Zoozie's Avatar
    Zoozie is offline Meister Member Achievements:
    Your first GroupVeteranCreated Album pictures25000 Experience PointsFriends R Us
    Join Date
    Dec 2005
    Location
    Denmark
    Posts
    1,120
    Thanks
    748
    Thanked 1,252 Times in 392 Posts
    Rep Power
    66
    Reputation Points: 6891
    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.

  3. The Following User Says Thank You to Zoozie For This Useful Post:

    SlotsWizard (20th December 2007)

  4. #3
    SlotsWizard is offline Dormant account
    Join Date
    May 2006
    Location
    North of Antarctica
    Posts
    1,657
    Thanks
    1,664
    Thanked 1,558 Times in 774 Posts
    Rep Power
    0
    Reputation Points: 8259
    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.

  5. #4
    karlkruse is offline Newbie member
    Join Date
    Dec 2007
    Location
    indiana
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation Points: 10

    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?

  6. #5
    Zoozie's Avatar
    Zoozie is offline Meister Member Achievements:
    Your first GroupVeteranCreated Album pictures25000 Experience PointsFriends R Us
    Join Date
    Dec 2005
    Location
    Denmark
    Posts
    1,120
    Thanks
    748
    Thanked 1,252 Times in 392 Posts
    Rep Power
    66
    Reputation Points: 6891
    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

  7. #6
    SlotsWizard is offline Dormant account
    Join Date
    May 2006
    Location
    North of Antarctica
    Posts
    1,657
    Thanks
    1,664
    Thanked 1,558 Times in 774 Posts
    Rep Power
    0
    Reputation Points: 8259
    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.

Similar Threads

  1. An Open Letter to Casino Operators and Software Providers
    By SlotsWizard in forum Online Casinos
    Replies: 22
    Last Post: 25th July 2007, 04:24 AM
  2. Mathematical proof that.......ummmmm
    By pangloss in forum Casino Complaints - Non-Bonus Issues
    Replies: 13
    Last Post: 20th May 2007, 04:07 AM
  3. World Poker tour to go online Nasdaq:WPTE
    By mary in forum Casino Industry Discussion
    Replies: 0
    Last Post: 12th September 2004, 07:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Legal Statements and Privacy Policy
Casinomeister.com does not intend for any of the information contained on this website to be used for illegal purposes. You must ensure you meet all age and other regulatory requirements before entering a casino or placing a wager. Online gambling is illegal in many jurisdictions and users should consult legal counsel regarding the legal status of online gambling and gaming in their jurisdictions. The information in this site is for news and entertainment purposes only. Casinomeister.com is an independent directory and information service free of any gaming operator's control. Links to third party websites on Casinomeister.com are provided solely for informative/educational purposes. If you use these links, you leave this Website.