Author

Topic: What could possibly go wrong? Please, tell me :) (Read 1047 times)

full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
tobi4255 is scamming himself when he thought he could make a lot of money doing what he's trying to attempt.

... Right... LMAO

Then prove it.  Show us your graphs and let everyone in the community verify your results.  There are only a very few botters who are good enough to beat the rake.  If it were really that easy then everyone would be doing it.

What? Please quote me where i claim i am in profit Huh

In fact, i posted an update stating that i BUSTED. And i also stated my thoughts on it.

Damn, its tiring entertaining sig spammers Cheesy I am considering locking the thread.

edit: locked, since i shelved the positive EV strat which this was all about Smiley
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
First of all, why would you make a bot of a poker game?  Huh
That is a game of thinking and strategy not just a dice game.
You will only lose more doing this.
Just play the game and enjoy it. That wont work and more likely your opponents will see it.
enjoy ur signature payouts Smiley
hero member
Activity: 3024
Merit: 651
First of all, why would you make a bot of a poker game?  Huh
That is a game of thinking and strategy not just a dice game.
You will only lose more doing this.
Just play the game and enjoy it. That wont work and more likely your opponents will see it.
legendary
Activity: 1428
Merit: 1000
--snipped--

Well I play poker in computer sometimes and poker requires some skill and luck in able to draw your best game out there. Like everyone's asking here what programming language did you use? We understand that if what you're thinking is " its not yet complete or its not that good ", then let us try the program. Its hard to give feedback if we don't experienced the program, and if you are worried about "what if someone stole your program and idea" then give us more detailed details in your project. Good luck.

I would love to let you try the program ! However, it would require a lot of effort from me, and too much (i assume) Python knowledge from you as well.

As tspacepilot accurately states though, i shared the language i used and the essential modules.

If you read the entire thread thoroughly and you have programming skills, you should easily be able to replicate, and perhaps even improve, what I am doing. It is quite simple actually, well, the idea is at least.

To those who might be interested:

After a lot of up and downs, with a peak balance of 0.0425 BTC, my poker balance is now 0.

I am not too worried that it's an indication of failure though.. After all, what happens if you open a casino with insufficient bankroll?

I am tempted to see how a full BTC fares, but I dont have that kind of trust in my own code.. Smiley

For now, I am using parts of my code to assist in "manual" poker.

I think the code will work though I am not a professional coder but I have dabbled a bit with it on my studies on college and I think the code will work with its simulations and its reading of the cards not sure tho whether it might be profitable in the long run.
It should do work but the main question is for how long? I do see the strategy is pretty interesting and simple to understand but chances of being busted is always there that is why I don't trust any codes which do someone claims that it works. Manual poker would be always be the best.
This kind of strategies will work when we are implementing the first time, and while testing this approach, it will work out. But not always. Once or twice we will win our bet. It maybe the strategy will help us to win our bet or our luck anyone will help us. But I think it will not work for long term. I am not underestimating his work I am just telling the fact in the game. I wish you all the best and get a good result in this project.
legendary
Activity: 3122
Merit: 1140
--snipped--

Well I play poker in computer sometimes and poker requires some skill and luck in able to draw your best game out there. Like everyone's asking here what programming language did you use? We understand that if what you're thinking is " its not yet complete or its not that good ", then let us try the program. Its hard to give feedback if we don't experienced the program, and if you are worried about "what if someone stole your program and idea" then give us more detailed details in your project. Good luck.

I would love to let you try the program ! However, it would require a lot of effort from me, and too much (i assume) Python knowledge from you as well.

As tspacepilot accurately states though, i shared the language i used and the essential modules.

If you read the entire thread thoroughly and you have programming skills, you should easily be able to replicate, and perhaps even improve, what I am doing. It is quite simple actually, well, the idea is at least.

To those who might be interested:

After a lot of up and downs, with a peak balance of 0.0425 BTC, my poker balance is now 0.

I am not too worried that it's an indication of failure though.. After all, what happens if you open a casino with insufficient bankroll?

I am tempted to see how a full BTC fares, but I dont have that kind of trust in my own code.. Smiley

For now, I am using parts of my code to assist in "manual" poker.

I think the code will work though I am not a professional coder but I have dabbled a bit with it on my studies on college and I think the code will work with its simulations and its reading of the cards not sure tho whether it might be profitable in the long run.
It should do work but the main question is for how long? I do see the strategy is pretty interesting and simple to understand but chances of being busted is always there that is why I don't trust any codes which do someone claims that it works. Manual poker would be always be the best.
hero member
Activity: 924
Merit: 500
--snipped--

Well I play poker in computer sometimes and poker requires some skill and luck in able to draw your best game out there. Like everyone's asking here what programming language did you use? We understand that if what you're thinking is " its not yet complete or its not that good ", then let us try the program. Its hard to give feedback if we don't experienced the program, and if you are worried about "what if someone stole your program and idea" then give us more detailed details in your project. Good luck.

I would love to let you try the program ! However, it would require a lot of effort from me, and too much (i assume) Python knowledge from you as well.

As tspacepilot accurately states though, i shared the language i used and the essential modules.

If you read the entire thread thoroughly and you have programming skills, you should easily be able to replicate, and perhaps even improve, what I am doing. It is quite simple actually, well, the idea is at least.

To those who might be interested:

After a lot of up and downs, with a peak balance of 0.0425 BTC, my poker balance is now 0.

I am not too worried that it's an indication of failure though.. After all, what happens if you open a casino with insufficient bankroll?

I am tempted to see how a full BTC fares, but I dont have that kind of trust in my own code.. Smiley

For now, I am using parts of my code to assist in "manual" poker.

I think the code will work though I am not a professional coder but I have dabbled a bit with it on my studies on college and I think the code will work with its simulations and its reading of the cards not sure tho whether it might be profitable in the long run.
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
--snipped--

Well I play poker in computer sometimes and poker requires some skill and luck in able to draw your best game out there. Like everyone's asking here what programming language did you use? We understand that if what you're thinking is " its not yet complete or its not that good ", then let us try the program. Its hard to give feedback if we don't experienced the program, and if you are worried about "what if someone stole your program and idea" then give us more detailed details in your project. Good luck.

I would love to let you try the program ! However, it would require a lot of effort from me, and too much (i assume) Python knowledge from you as well.

As tspacepilot accurately states though, i shared the language i used and the essential modules.

If you read the entire thread thoroughly and you have programming skills, you should easily be able to replicate, and perhaps even improve, what I am doing. It is quite simple actually, well, the idea is at least.

To those who might be interested:

After a lot of up and downs, with a peak balance of 0.0425 BTC, my poker balance is now 0.

I am not too worried that it's an indication of failure though.. After all, what happens if you open a casino with insufficient bankroll?

I am tempted to see how a full BTC fares, but I dont have that kind of trust in my own code.. Smiley

For now, I am using parts of my code to assist in "manual" poker.
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
Like everyone's asking here what programming language did you use? We understand that if what you're thinking is " its not yet complete or its not that good ", then let us try the program.

I don't think anyone is asking that.  Did you read the thread?  Or even the OP?  The OP author already said he's using Python with the Deuces module and selenium for browser automation.

I think the point of this thread is that the OP is discussing the idea of the program.  Not sure what you're contributing here other than boosting your post-count. Sad
legendary
Activity: 2338
Merit: 1081
#SWGT CERTIK Audited

If an all-in is won, the table is left and re-entered with same buy-in, rinse-repeat.

Which site do you play on? Most of the sites I know do not let you leave and the rejoin it with lower stack than what you left with. There is(and should be) always a cool-down period about 5 mins during which, if you plan to re-enter, you must rejoin with the stack you left with or higher.
hero member
Activity: 648
Merit: 502
I have made a program that I run alongside the poker table i play at. When cards are dealt pre-flop, my program will detect the hand I was dealt, the current pot and the number of playing opponents.

Then it simulates poker games to find out what the chances of winning are (approximately, but still) and then uses that data to calculate the expected value of going all-in pre-flop with the hand dealt.

If the expected value is significantly in the positive, it goes all-in, still on the pre-flop. The expected value is calculated under the assumption that at least 1 player calls the all-in, if more players calls it the EV goes even higher.

If no players call, the blinds are collected along with any raises/calls that might have happened before my turn.

If an all-in is lost, the table is left and re-entered with same buy-in.

If an all-in is won, the table is left and re-entered with same buy-in, rinse-repeat.

If it ties, the game is continued unless balance was significantly lowered in which case its treated as a loss.

I started out with 0.01 BTC and I am currently at 0.016 + a withdraw of 0.005 btc.

I must admit though, I had some crazy luck in my test phase. First attempt ever at this strategy, 3/7 players call my all-in and then I win it with a three-of-a-kind from the flop.

So... Any poker adepts out there who can help me optimize this strategy, or tell me if im asking to bust in the long run despite my (carefully) calculated EV.



Well I play poker in computer sometimes and poker requires some skill and luck in able to draw your best game out there. Like everyone's asking here what programming language did you use? We understand that if what you're thinking is " its not yet complete or its not that good ", then let us try the program. Its hard to give feedback if we don't experienced the program, and if you are worried about "what if someone stole your program and idea" then give us more detailed details in your project. Good luck.
full member
Activity: 336
Merit: 103
If you lost your buy in you don't need to leave the table and can rebuy directly. If you leave the table and there are some players on the waiting list you can not re-enter directly.

If you won an all-in, you can not leave the table an re-enter with same buy in. You have to re-enter with the full balance you had or wait 30 or 60 minutes.
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
You are not maximizing EV by making over sized bets at the wrong time.

You need to milk the opponent when you are ahead. This is called value betting.

I would recommend reading up on poker strategy to optimize the bot. Basically what you are doing is what pros are always doing in their head. They know the winning percentage of their hand pre-flop and consider the range the opponent is playing depending on his stats.

It takes more than reading to learn the most optimal poker strategy.  It takes logging a lot of hands in Poker Tracker or HM and study all the numbers and see what works for you and what doesn't.  tobi4255 is scamming himself when he thought he could make a lot of money doing what he's trying to attempt.

I know, I was simplifying it a bit for the sake of the argument.

The biggest problem tobi's strategy has is assuming people will call his pre-flop all-in with worse hands. The fact is, people will not generally call a pre-flop all in, unless they hold something like QQ+/AK.

Bascially, you are only getting called by better hands.

Second, calculating the win chance of your hands is not even needed. There are spreadsheets for that based on the outs that you will learn by heart after playing a bit.

http://www.natesholdem.com/pre-flop-odds.php Here you can find the pre-flop odds for all hands against a number of opponents. 
I am not assuming the opponents has worse hands, what led you to think that?

Sure, most people will fold.

Sure, if they dont fold they probably hold qq+/ak/at etc...

If every poker player in the world never went all-in preflop with less than AA in their hand, then sure, I would lose since my bot would calculate the win chances based on any possible hand so if they sit with the strongest one possible I'd be in a bad position.

But people will actually risk their balance on a suited hand, in the hopes of hitting a flush that will win against even my worst-case scenario hand of AA.

Or if they feel like they have a sneaky straight coming, i.e with a 7j hand.

That link is very nice source of information though ;-) Just ran a couple of tests, i am at most ~1% off with my own calcuations, but i could have saved a lot of code by just writing that table into a dictionary.


legendary
Activity: 1946
Merit: 1007
You are not maximizing EV by making over sized bets at the wrong time.

You need to milk the opponent when you are ahead. This is called value betting.

I would recommend reading up on poker strategy to optimize the bot. Basically what you are doing is what pros are always doing in their head. They know the winning percentage of their hand pre-flop and consider the range the opponent is playing depending on his stats.

It takes more than reading to learn the most optimal poker strategy.  It takes logging a lot of hands in Poker Tracker or HM and study all the numbers and see what works for you and what doesn't.  tobi4255 is scamming himself when he thought he could make a lot of money doing what he's trying to attempt.

I know, I was simplifying it a bit for the sake of the argument.

The biggest problem tobi's strategy has is assuming people will call his pre-flop all-in with worse hands. The fact is, people will not generally call a pre-flop all in, unless they hold something like QQ+/AK.

Bascially, you are only getting called by better hands.

Second, calculating the win chance of your hands is not even needed. There are spreadsheets for that based on the outs that you will learn by heart after playing a bit.

http://www.natesholdem.com/pre-flop-odds.php Here you can find the pre-flop odds for all hands against a number of opponents. 
legendary
Activity: 3976
Merit: 1421
Life, Love and Laughter...
tobi4255 is scamming himself when he thought he could make a lot of money doing what he's trying to attempt.

... Right... LMAO

Then prove it.  Show us your graphs and let everyone in the community verify your results.  There are only a very few botters who are good enough to beat the rake.  If it were really that easy then everyone would be doing it.
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
Anyway, about your strategy, I would not comment on it's technical value but more on gambling theories. No strategy will work all the time in any gambling game, you will still lose in the end as. From your description of your strategy, you still assume there is a chance to lose (as expected). So there is a possibility that you will end up losing a lot of games in a row and eat all your bankroll up.

I don't think your application of "gambling theories" is exactly relevant here.  In contrast to a game like slots, which is pure gambling (and in which case you're right), poker is actually a game between individuals.  There's an element of randomness or chance, but it's not the case that every poker player is guaranteed to approach a loss as their playing goes to infinity (which is the case for slots).

I think the OPs idea is interesting because they try to remove further uncertainty by continually going "all in".  This sorta flattens out the decision tree and makes the modelling simpler.  In any case, you'll observe that in a poker game the house grabs a cut of the pot, and thus guarantees its own win.  But beyond this there's no mathematical certainty for any player at the table that playing more will make them approach a loss.  If you always bet a constant amount and only play on hands that will win 55% of the time, then you ought to see a profit over time.  This, of course, depends on the idea that people will call you with any cards (they won't), and it depends on the idea that you're correctly calculating the a priori odds of wining with that hand.

Anyway, this is why a lot of poker players say that poker isn't gambling.  And I think they're partially correct.  It's definitely not the same animal as dice or slots.
legendary
Activity: 2198
Merit: 1150
Freedom&Honor
Please test this out for a longer time.
Like a 100 games, if the profit is significant, brand the software, make a website, and cha-ching BTCBTCBTC
hero member
Activity: 896
Merit: 514
Isnt this called cheating by some sites? Or is this allowed ?

I love that question, it fits so well with your signature ;-)

Yes, it is against ToS/ToU of most poker sites you find.

That is mainly why i havent disclosed the website im playing at.

Although, i assure you that I am looking for fun and experience, rather than malicious intentions and easy money.

Everyone wants easy money, I don't know anybody that doesn't.

Anyway, about your strategy, I would not comment on it's technical value but more on gambling theories. No strategy will work all the time in any gambling game, you will still lose in the end as. From your description of your strategy, you still assume there is a chance to lose (as expected). So there is a possibility that you will end up losing a lot of games in a row and eat all your bankroll up.
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
@tspacepilot

I calculate the EV with following assumptions:

All players still in the hand when it is my turn are playing.

Only 1 opponent calls.

So basically, the EV is for playing a round i.e against 5 players, while the EV is calculated as if only 1 opponent was playing the hand (since 1 call is assumed)

Therefore, if all 5 enemies decides to go all-in, my winchances are the same (calculations done as if playing against all) but the potential stake is a lot larger than i calculated (my stake*5 + pot, instead of mystake*2 + pot)

As I understand this, you're not doing EV right.  It seems like you're saying that you calculate your chances of winning as if everyone calls, but calculate your payout as if only one person calls, then you adjust the payout according to what actually happens.  I can see why this is seems like a safe miscalculation.  But it's also confusing when you're explaining your approach.

Another thought, and maybe this doesn't matter, but I'll say it anyway.  People can have a short stack and call you, that affects how much you can win.  I t also affects how much you can lose so perhaps it's a wash.

Quote
About the why of my simulations:

At a table with 1 other opponent, an AA hand is a 100% all-in but with 5-6+ opponents, pairs are harder to achieve a +EV on, while jack/ten and same-suits are easier to get value from.

Since people leave and enter at will, and balances/pots changes non-stop i feel it is necessary to run simulations before every decision.

Regarding the technicalities, I am using the Python module Deuces to handle everything Poker, and the Python module Selenium to handle all interaction with the webpage.

I really wanted to be at another poker site, but tinkering with stand-alone poker clients are way above my league Smiley



I see, I found that module, I didn't understand before if you were writing your own poker module called Deuces.  I also saw that the "simulation" code is probably also coming from Deuces, the readme talks about simulating hands.    I suppose it's up to me to read the module if I want to know what's being simulated.   My question is sorta like this, let's say we're sampling from the following distribution of values [ 1, 1, 1, 0 ].  You can see right away that you'll have a .75 percent chance of choosing a 1.  Now, we can establish this empirically by writing some code to simulate sampling and then do it 10K times or whatever and look at our results.  However, there's really not a lot of need for the sampling step since we know the distribution to begin with---the sampling step really just tests our ability to write sampling code, we know that if we find that we're approaching anything other than 0.75-0.25 in the long run average, then we're not sampling right.  It seems to me that your situation is similar: you know what cards you have---given that you  already know the distribution of hands you'll have after 5 cards have been drawn.  From there, you also have a joint distribution between your hand and those of N opponents and you can calculate the probability that your hand is better.  As far as I can tell, you don't actually need to do any sampling to learn that, do you?  Don't you just use some multiplication and division to calculate odds?

Anyway, I think that selenium is a nice package for browser automation.  I'm pretty sure you can export a screenshot from selenium if you wanted to try OCR (but I don't know if it'll be fast enough for you.  It should be smart enough if you are able to constraint the size of the screenshot and if you can train your own model.  You only need to recognize a small set of characters.

 
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
Isnt this called cheating by some sites? Or is this allowed ?

I love that question, it fits so well with your signature ;-)

Yes, it is against ToS/ToU of most poker sites you find.

That is mainly why i havent disclosed the website im playing at.

Although, i assure you that I am looking for fun and experience, rather than malicious intentions and easy money.
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
@tspacepilot

I calculate the EV with following assumptions:

All players still in the hand when it is my turn are playing.

Only 1 opponent calls.

So basically, the EV is for playing a round i.e against 5 players, while the EV is calculated as if only 1 opponent was playing the hand (since 1 call is assumed)

Therefore, if all 5 enemies decides to go all-in, my winchances are the same (calculations done as if playing against all) but the potential stake is a lot larger than i calculated (my stake*5 + pot, instead of mystake*2 + pot)

About the why of my simulations:

At a table with 1 other opponent, an AA hand is a 100% all-in but with 5-6+ opponents, pairs are harder to achieve a +EV on, while jack/ten and same-suits are easier to get value from.

Since people leave and enter at will, and balances/pots changes non-stop i feel it is necessary to run simulations before every decision.

Regarding the technicalities, I am using the Python module Deuces to handle everything Poker, and the Python module Selenium to handle all interaction with the webpage.

I really wanted to be at another poker site, but tinkering with stand-alone poker clients are way above my league Smiley

hero member
Activity: 1694
Merit: 502
★Bitvest.io★ Play Plinko or Invest!
What can possibly go wrong? You made a program that will play instead of you, like in chess right? But with one big exception, chess is strategy game where luck is not crucial, on other hand poker is a game of skill and luck and I will make one silly example, what will your program do when you get pair of aces? Do you have any ideas how many times I lost with two aces, or any strong pair? And if more players call your all in, your chances to win are lower, cause I saw some crazy hands in poker, so maybe you have luck for now with your program, cause you had luck and you played with amateurs, I think on long run you will lose more then you can win, and don`t even think about trying to play with pro`s with more money.
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
tobi4255 is scamming himself when he thought he could make a lot of money doing what he's trying to attempt.

... Right... LMAO
legendary
Activity: 3976
Merit: 1421
Life, Love and Laughter...
Isnt this called cheating by some sites? Or is this allowed ?

Botting is technically cheating as it uses software that automates your play and it does give you an advantage over your opponents.  Some sites are better than others in detecting and putting a stop on them, while some aren't and are rampant with bots.  They say 888 Poker is full of them.
newbie
Activity: 46
Merit: 0
Isnt this called cheating by some sites? Or is this allowed ?
legendary
Activity: 3976
Merit: 1421
Life, Love and Laughter...
You are not maximizing EV by making over sized bets at the wrong time.

You need to milk the opponent when you are ahead. This is called value betting.

I would recommend reading up on poker strategy to optimize the bot. Basically what you are doing is what pros are always doing in their head. They know the winning percentage of their hand pre-flop and consider the range the opponent is playing depending on his stats.

It takes more than reading to learn the most optimal poker strategy.  It takes logging a lot of hands in Poker Tracker or HM and study all the numbers and see what works for you and what doesn't.  tobi4255 is scamming himself when he thought he could make a lot of money doing what he's trying to attempt.
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
I'd like to know how you're calculating EV.  Your comment that more people calling leads to greater EV seems pretty suspicious.

The program knows my hand, and the number of opponents playing. It calculates the % i win, the % i lose and the % i tie out of ~55k simulations.

More on this below, but I assume that the number of simulations is because you're trying to model the indeterminacy of the opponent's behavior?   I guess I'm not completely clear why you'd need to run simulations.  If you have a model, can't you just read the parameters and make a decision?

tokeweedis right that most sites aren't going to let you leave and rebuy immediately with less than you left with.  You'd have to wait for some time limit to expire in order to re-enter with just the buyin amount.

Yes, exactly. After sitting out for approx. 3mins depending on activity ( i assume ), my balance is cleared from table and i can re-enter.

On poker sites I've used, it's more like 20 minutes to an hour.  But I guess you know the principal anyway.

I still want to hear more about the OP's calculations for EV.  Please.

Example calculations:
 
My hand: 9s,td
Table/community cards: None (pre-flop)
opponents: 4
current pot: 50
balance on table: 200

Simulation (http://i.prntscr.com/1G1p8s9uQp2MFrN1jZrq-A.png)

so 21.18% chance to win 450 (assuming at least 1 call to the all-in of 200) and a 75.93% of losing 200 (if no blinds), and 2.89% chance of a tie that results in a shared pot (0).

I hope that helps Smiley

Erm, not really.  I mean, that's a screenshot that shows the output of your program, not how you got there.

Providing I have some Python skills, how long will it take to build something like this?

Not long at all, see my above post where i put a link to the python module i use to simulate poker games. It is called Deuces, and it is truly awesome!

The tough part is "connecting" to a poker table and be able to act on it. In order to run as many simulations as possible it is vital to get the parameter data asap Wink

Did you link to something other than that screenshot?

----

Responding to your question about connecting to a poker room to get the data: did you try OCR?  What have you tried?  If your poker program sends the hand data in the clear you should be able to use wireshark to read that straight from the network socket.
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
Providing I have some Python skills, how long will it take to build something like this?

Not long at all, see my above post where i put a link to the python module i use to simulate poker games. It is called Deuces, and it is truly awesome!

The tough part is "connecting" to a poker table and be able to act on it. In order to run as many simulations as possible it is vital to get the parameter data asap Wink
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
tokeweedis right that most sites aren't going to let you leave and rebuy immediately with less than you left with.  You'd have to wait for some time limit to expire in order to re-enter with just the buyin amount.

Yes, exactly. After sitting out for approx. 3mins depending on activity ( i assume ), my balance is cleared from table and i can re-enter.

I still want to hear more about the OP's calculations for EV.  Please.

Example calculations:

My hand: 9s,td
Table/community cards: None (pre-flop)
opponents: 4
current pot: 50
balance on table: 200

Simulation (http://i.prntscr.com/1G1p8s9uQp2MFrN1jZrq-A.png)

so 21.18% chance to win 450 (assuming at least 1 call to the all-in of 200) and a 75.93% of losing 200 (if no blinds), and 2.89% chance of a tie that results in a shared pot (0).

I hope that helps Smiley

This is my source for the mathematics Smiley
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
You are not maximizing EV by making over sized bets at the wrong time.

You need to milk the opponent when you are ahead. This is called value betting.

I would recommend reading up on poker strategy to optimize the bot. Basically what you are doing is what pros are always doing in their head. They know the winning percentage of their hand pre-flop and consider the range the opponent is playing depending on his stats.

Exactly, maybe i was not clear about this in above posts.

The reason i came up with trying this out, was after seeing how many flush-draw hopium i take during a poker session. People will see an all-in preflop, and be plagued by what-ifs, while my bot has the odds down.

I dont intend to win millions from this, although I wouldnt mind. ;-)
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
I'd like to know how you're calculating EV.  Your comment that more people calling leads to greater EV seems pretty suspicious.

The program knows my hand, and the number of opponents playing. It calculates the % i win, the % i lose and the % i tie out of ~55k simulations.

I then add the pot to my table balance times two, to also simulate at least 1 call. So, it calculates EV for playing against all opponents for the pot made up of only 1 call, so more calls will make the risk more worthwhile since the odds stay the same but the possible return increases.

Suspicious is a strong word... Sad I am just having fun with Python, and my interest for gambling.
legendary
Activity: 1946
Merit: 1007
You are not maximizing EV by making over sized bets at the wrong time.

You need to milk the opponent when you are ahead. This is called value betting.

I would recommend reading up on poker strategy to optimize the bot. Basically what you are doing is what pros are always doing in their head. They know the winning percentage of their hand pre-flop and consider the range the opponent is playing depending on his stats.
legendary
Activity: 3976
Merit: 1421
Life, Love and Laughter...
To people  "it wont' work": I would consider that to be an empirical question.  In point of fact, people on low-stakes poker tables aren't necessarily the best poker players.  Whether OP's strategy works depends (in part) on the competition.   malboroza is almost certainly right about higher stakes players: they'll just leave the table.   but with low-stakes players, you never know, they may want to play bingo---i've seen some funny stuff on sealswithclubs back in the day.

tokeweedis right that most sites aren't going to let you leave and rebuy immediately with less than you left with.  You'd have to wait for some time limit to expire in order to re-enter with just the buyin amount.

I still want to hear more about the OP's calculations for EV.  Please.

Low stakes poker are full if nits now.  It wasn't like pre 2006 where almost all the players in the table are there to gamble.  Today all the info on how to play the game are available everywhere online, most of them now follow a hand chart on what to do preflop and in what position they are, then they play accordingly postflop depending on the strength of their hand.

OP's strategy might be profitable pre 2006 but today it's break even at most.
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
To people  "it wont' work": I would consider that to be an empirical question.  In point of fact, people on low-stakes poker tables aren't necessarily the best poker players.  Whether OP's strategy works depends (in part) on the competition.   malboroza is almost certainly right about higher stakes players: they'll just leave the table.   but with low-stakes players, you never know, they may want to play bingo---i've seen some funny stuff on sealswithclubs back in the day.

tokeweedis right that most sites aren't going to let you leave and rebuy immediately with less than you left with.  You'd have to wait for some time limit to expire in order to re-enter with just the buyin amount.

I still want to hear more about the OP's calculations for EV.  Please.
hero member
Activity: 700
Merit: 500
Quote
If it ties, the game is continued unless balance was significantly lowered in which case its treated as a loss.

I started out with 0.01 BTC and I am currently at 0.016 + a withdraw of 0.005 btc.

I must admit though, I had some crazy luck in my test phase. First attempt ever at this strategy, 3/7 players call my all-in and then I win it with a three-of-a-kind from the flop.

So... Any poker adepts out there who can help me optimize this strategy, or tell me if im asking to bust in the long run despite my (carefully) calculated EV.


What you're trying to do is sub optimal.  If there really was a way of winning without actually playing poker then somebody would have thought about it already.  What you're doing is not only sub optimal, it's not fun and doesn't help you or the game at all.

It's right, you won't get anywhere with this tactic. you can roll the dice as well and save some time, but don't expect too much winnings.
But I did like the idea of playing with a simulator next to you, and do your moves when you know all the odds.
Providing I have some Python skills, how long will it take to build something like this?
legendary
Activity: 3976
Merit: 1421
Life, Love and Laughter...
I have made a program that I run alongside the poker table i play at. When cards are dealt pre-flop, my program will detect the hand I was dealt, the current pot and the number of playing opponents.

Then it simulates poker games to find out what the chances of winning are (approximately, but still) and then uses that data to calculate the expected value of going all-in pre-flop with the hand dealt.

If the expected value is significantly in the positive, it goes all-in, still on the pre-flop. The expected value is calculated under the assumption that at least 1 player calls the all-in, if more players calls it the EV goes even higher.

If no players call, the blinds are collected along with any raises/calls that might have happened before my turn.

If an all-in is lost, the table is left and re-entered with same buy-in.

If an all-in is won, the table is left and re-entered with same buy-in, rinse-repeat.

Poker sites don't allow you to exit the game and then re-enter with the original buy in amount, you should buy in with the same amount you left with if it's over the buy in maximum.

Quote
If it ties, the game is continued unless balance was significantly lowered in which case its treated as a loss.

I started out with 0.01 BTC and I am currently at 0.016 + a withdraw of 0.005 btc.

I must admit though, I had some crazy luck in my test phase. First attempt ever at this strategy, 3/7 players call my all-in and then I win it with a three-of-a-kind from the flop.

So... Any poker adepts out there who can help me optimize this strategy, or tell me if im asking to bust in the long run despite my (carefully) calculated EV.


What you're trying to do is sub optimal.  If there really was a way of winning without actually playing poker then somebody would have thought about it already.  What you're doing is not only sub optimal, it's not fun and doesn't help you or the game at all.
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
I'd like to know how you're calculating EV.  Your comment that more people calling leads to greater EV seems pretty suspicious.
legendary
Activity: 1932
Merit: 2272
You are what we like to call "bingo player"  and you only had some luck, nothing more.
Most of people will just fold to your all in if you keep doing all in on high pair or whatever - unless they are bingo players too or they have high pair too.
Try this strategy on high stake tables, you will notice that everyone will sit out or just simply leave table.
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
You can certainly play with your strategy and luck with poker, but I am curious too if what kind of programming language he is using because his post is certainly not complete, he just start by saying that he is playing with the simulation test, and another questions is does this kind of poker includes PVP, or is it all an AI kind of a poker? and how many tries till you get to a 0.016 winnings, the calculation is really needed here so you can get clear answers!

... What? I get the feelz you are only here because of your sig campaign Wink

If not, feel free to ask concise and clear questions...

It is regular texas hold 'em poker against other humans. If you play poker against "AI" then there is likely a house-edge making it impossible to get positive expected value.

Starting from 0.01 BTC, it took roughly 100 hands to reach the 0.016 BTC (withdrew 500k sats) and now approx. 250 hands in the balance is 0.0085.
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
--snipped--
what program is it?did you build it with programing language?or just using software?
i think it can used for poker only,but its really amazing for me,because i never use that thing,i just play normal and combining between strategy and luck..
It is a simple python program that I made myself, with help from Deuces.
legendary
Activity: 3038
Merit: 1169
I have made a program that I run alongside the poker table i play at. When cards are dealt pre-flop, my program will detect the hand I was dealt, the current pot and the number of playing opponents.

Then it simulates poker games to find out what the chances of winning are (approximately, but still) and then uses that data to calculate the expected value of going all-in pre-flop with the hand dealt.

If the expected value is significantly in the positive, it goes all-in, still on the pre-flop. The expected value is calculated under the assumption that at least 1 player calls the all-in, if more players calls it the EV goes even higher.

If no players call, the blinds are collected along with any raises/calls that might have happened before my turn.

If an all-in is lost, the table is left and re-entered with same buy-in.

If an all-in is won, the table is left and re-entered with same buy-in, rinse-repeat.

If it ties, the game is continued unless balance was significantly lowered in which case its treated as a loss.

I started out with 0.01 BTC and I am currently at 0.016 + a withdraw of 0.005 btc.

I must admit though, I had some crazy luck in my test phase. First attempt ever at this strategy, 3/7 players call my all-in and then I win it with a three-of-a-kind from the flop.

So... Any poker adepts out there who can help me optimize this strategy, or tell me if im asking to bust in the long run despite my (carefully) calculated EV.


what program is it?did you build it with programing language?or just using software?
i think it can used for poker only,but its really amazing for me,because i never use that thing,i just play normal and combining between strategy and luck..

You can certainly play with your strategy and luck with poker, but I am curious too if what kind of programming language he is using because his post is certainly not complete, he just start by saying that he is playing with the simulation test, and another questions is does this kind of poker includes PVP, or is it all an AI kind of a poker? and how many tries till you get to a 0.016 winnings, the calculation is really needed here so you can get clear answers!
hero member
Activity: 672
Merit: 500
I have made a program that I run alongside the poker table i play at. When cards are dealt pre-flop, my program will detect the hand I was dealt, the current pot and the number of playing opponents.

Then it simulates poker games to find out what the chances of winning are (approximately, but still) and then uses that data to calculate the expected value of going all-in pre-flop with the hand dealt.

If the expected value is significantly in the positive, it goes all-in, still on the pre-flop. The expected value is calculated under the assumption that at least 1 player calls the all-in, if more players calls it the EV goes even higher.

If no players call, the blinds are collected along with any raises/calls that might have happened before my turn.

If an all-in is lost, the table is left and re-entered with same buy-in.

If an all-in is won, the table is left and re-entered with same buy-in, rinse-repeat.

If it ties, the game is continued unless balance was significantly lowered in which case its treated as a loss.

I started out with 0.01 BTC and I am currently at 0.016 + a withdraw of 0.005 btc.

I must admit though, I had some crazy luck in my test phase. First attempt ever at this strategy, 3/7 players call my all-in and then I win it with a three-of-a-kind from the flop.

So... Any poker adepts out there who can help me optimize this strategy, or tell me if im asking to bust in the long run despite my (carefully) calculated EV.


what program is it?did you build it with programing language?or just using software?
i think it can used for poker only,but its really amazing for me,because i never use that thing,i just play normal and combining between strategy and luck..
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
Disclaimer: I am not a poker pro.

Neither am I Smiley

If more players raises, I stand to win more money. The chances of some1 having a better hand is also that much larger, but simulations are run with the max amount of possible opponents.

if against 4 opponents, it will generate 4 random hands (excluding unavailable cards) and then play out the round. So it accounts for all players being active in the round before going all-in.

I would think that by assuming the "worst" scenario, it would counter the effect you mention. And since i am all-in, people cant force more money out of me in that round, but simply make a separate pot im not a part of.

It is very mind boggling though, and perhaps better suited for a mathematics forum Wink




legendary
Activity: 2604
Merit: 1036
Are you sure that getting more players pre-flop will increase the EV you are getting? I think more players going all-in will lower the EV because this will increase the variation and the possibility for your better hand (pre-flop) to get beaten on the river for example. I think it's better to get one or two players calling at most and in general try to get isolated calls.

My 2 satoshis.

Disclaimer: I am not a poker pro.
full member
Activity: 350
Merit: 101
Tontogether | Save Smart & Win Big
I have made a program that I run alongside the poker table i play at. When cards are dealt pre-flop, my program will detect the hand I was dealt, the current pot and the number of playing opponents.

Then it simulates poker games to find out what the chances of winning are (approximately, but still) and then uses that data to calculate the expected value of going all-in pre-flop with the hand dealt.

If the expected value is significantly in the positive, it goes all-in, still on the pre-flop. The expected value is calculated under the assumption that at least 1 player calls the all-in, if more players calls it the EV goes even higher.

If no players call, the blinds are collected along with any raises/calls that might have happened before my turn.

If an all-in is lost, the table is left and re-entered with same buy-in.

If an all-in is won, the table is left and re-entered with same buy-in, rinse-repeat.

If it ties, the game is continued unless balance was significantly lowered in which case its treated as a loss.

I started out with 0.01 BTC and I am currently at 0.016 + a withdraw of 0.005 btc.

I must admit though, I had some crazy luck in my test phase. First attempt ever at this strategy, 3/7 players call my all-in and then I win it with a three-of-a-kind from the flop.

So... Any poker adepts out there who can help me optimize this strategy, or tell me if im asking to bust in the long run despite my (carefully) calculated EV.

Jump to: