Welcome, Guest. Please login or register.
September 22, 2020, 03:09:15 AM
Home Help Login Register
News:

Shanky Technologies Poker Bot Support Forum  |  General Category  |  Working Profiles (Moderator: sngbot)  |  Topic: Free Profile Project by PG for the community - Upswing Poker by Doug Polk 0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: Free Profile Project by PG for the community - Upswing Poker by Doug Polk  (Read 691 times)
PokerGod
Experienced Botter
*****

Karma: 28
Posts: 417


« on: July 23, 2020, 11:57:25 PM »

Hey guys, so after a few months of minimum activity within the forum (was just supporting my SpinAndWin profile) I am going to start a FREE Profile Project based on the "Upswing Poker" Strategy by Doug Polk. You are FREE TO USE this code on your personal profile. YOU ARE NOT ALLOWED to use any of this code on a profile for SALE.

What is this strategy?
The Strategy is ment to be as simple as possible and on the other hand a very poverfull one. With a str8 forward preflop play and a freaking simple postflop play, very easy to play manually and I thought that this also could be coded into a profile.

So first of all, our hand selection is based on our position at the table. Nothing special. I coded them into groups, just because I am a lazy persion, and this safes a hell lot of time.

PostFlop we put our hands into 4 categories
Cat-1 = Valuebetting hands (straightflush, fullhouse, flush, straight, set, twopair, overpair or toppair and bestkicker)
Cat-2 = Medium hands that can improve (like mid pairs with overcards on board,  top pair weak kickers)
Cat-3 = SemiBluff Hands (draws)
Cat-4 = Trash (everything else)

So we are going to put our hand into the specific Cat on each street. So lets say we have a flush draw on flop (Cat-3) and semiBluff. The hand goes to turn and we hit the flush. Our Hand will turn from Cat-3 into Cat-1. If we dont hit, it may be still Cat-3  or it maybe turn into Cat-4.

So depending on the Category of our hand, we are going to play it:
Cat-1 = Valuebetting
Cat-2 = Pot control
Cat-3 = SemiBluffing
Cat-4 = Check/fold

For me this is very effective on live and online poker when I play manually. So we will see how it works on botting.

Here is the basic frame I already coded. REMEMBER: JUST BASICS. NO SHORTHANDED CODE

I tested this to see, If the categories, Positions and Hand selection is working. made 40 BigBlinds on NL2 out of 150 hands  thumbsup

Code:
custom

preflop

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////Upswing 1.0.0 by PokerGod////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


//Hand Categories
//C1_VB
//C2_MH
//C3_Bluff
//C4_Trash = others

When havestraightflush or havefullhouse or haveflush or havestraight or haveset or havetwopair or haveoverpair or (havetoppair and havebestkicker) user_C1
When (pairinhand and overcards >= 1) or (havepair and overcards >=1) or (havePair and Have2ndBestKicker) or (HavePair and Have3rdBestKicker) user_C2
When HaveNutFlushdraw or HaveNutStraightdraw user_C3


//Positions
//UTG
//UTG1
//UTG2
//LoJack
//HiJack
//CutOff
//Button
//SB
//BB

When StillToAct = 8 user_UTG
When StillToAct = 7 user_UTG1
When StillToAct = 6 user_UTG2
When StillToAct = 5 user_LJ
When StillToAct = 4 user_HJ
When StillToAct = 3 user_CO
When StillToAct = 2 user_BTN
When StillToAct = 1 user_SB
When StillToAct = 0 user_BB

//Variables for Starting Hands FIRST IN by Position
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = AK or hand = AQ) user_Hand1
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = A9 suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = JT suited or hand = J9 suited or hand = AK or hand = AQ) user_Hand2
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = A9 suited or hand = A8 suited or hand = A5 suited or hand = A4 suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = JT suited or hand = AK or hand = AQ) user_Hand3
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = A suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = K9 Suited or hand = QJ suited or hand = QT suited or hand = Q9 suited or hand = JT suited or hand = J9 suited or hand = T9 suited or hand = 98 suited or hand = 87 suited or hand = 76 suited or hand = AK or hand = AQ or hand = AJ or hand = KQ) user_Hand4
When (pairinhand or hand = A suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = K9 Suited or hand = QJ suited or hand = QT suited or hand = Q9 suited or hand = JT suited or hand = J9 suited or hand = T9 suited or hand = 98 suited or hand = 87 suited or hand = 76 suited or hand = 65 suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = KQ or hand = KJ or hand = QJ) user_Hand5
When (pairinhand or hand = A suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = K9 Suited or hand = K8 suited or hand = K7 suited or hand = K6 suited or hand = QJ suited or hand = QT suited or hand = Q9 suited or hand = Q8 suited or hand = JT suited or hand = J9 suited or hand = J8 suited or hand = T9 suited or hand = T8 suited or hand = 98 suited or hand = 97 suited or hand = 87 suited or hand = 86 suited or hand = 76 suited or hand = 75 suited or hand = 65 suited or hand = 54 suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = KQ or hand = KJ or hand = KT or hand = QJ or hand = QT or hand = JT) user_Hand6
When (pairinhand or hand = A suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = K9 Suited or hand = K8 suited or hand = K7 suited or hand = K6 suited or hand = K5 suited or hand = K4 suited or hand = QJ suited or hand = QT suited or hand = Q9 suited or hand = Q8 suited or hand = Q7 suited or hand = Q6 suited or hand = JT suited or hand = J9 suited or hand = J8 suited or hand = J7 suited or hand = T9 suited or hand = T8 suited or hand = T7 suited or hand = 98 suited or hand = 97 suited or hand = 96 suited or hand = 87 suited or hand = 86 suited or hand = 76 suited or hand = 75 suited or hand = 65 suited or hand = 64 suited or hand = 54 suited or hand = 53 suited or hand = 43 suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = A9 or hand = A8 or hand = A7 or hand = A6 or hand = A5 or hand = A4 or hand = KQ or hand = KJ or hand = KT or hand = K9 or hand = QJ or hand = QT or hand = Q9 or hand = JT or hand = J9 or hand = T9) user_Hand7
When (pairinhand or hand = A suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = K9 Suited or hand = K8 suited or hand = K7 suited or hand = K6 suited or hand = K5 suited or hand = K4 suited or hand = K3 suited or hand = QJ suited or hand = QT suited or hand = Q9 suited or hand = Q8 suited or hand = Q7 suited or hand = Q6 suited or hand = Q5 suited or hand = JT suited or hand = J9 suited or hand = J8 suited or hand = J7 suited or hand = J6 suited or hand = T9 suited or hand = T8 suited or hand = T7 suited or hand = T6 suited or hand = 98 suited or hand = 97 suited or hand = 96 suited or hand = 87 suited or hand = 86 suited or hand = 85 suited or hand = 76 suited or hand = 75 suited or hand = 65 suited or hand = 64 suited or hand = 54 suited or hand = 53 suited or hand = 43 suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = A9 or hand = A8 or hand = A7 or hand = A6 or hand = A5 or hand = A4 or hand = KQ or hand = KJ or hand = KT or hand = K9 or hand = K8 or hand = QJ or hand = QT or hand = Q9 or hand = JT or hand = J9 or hand = T9) User_Hand8

//preflop gameplay

When raises = 0 and calls = 0 and user_UTG and user_Hand1 raisemin force
When raises = 0 and calls = 0 and user_UTG1 and (user_Hand1 or user_Hand2) raisemin force
When raises = 0 and calls = 0 and user_UTG2 and (user_Hand1 or user_Hand2 or user_Hand3) raisemin force
When raises = 0 and calls = 0 and user_LJ and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4) raisemin force
When raises = 0 and calls = 0 and user_HJ and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4 or user_Hand5) raisemin force
When raises = 0 and calls = 0 and user_CO and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4 or user_Hand5 or user_Hand6) raisemin force
When raises = 0 and calls = 0 and user_BTN and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4 or user_Hand5 or user_Hand6 or user_Hand7) raisemin force
When raises = 0 and calls = 0 and user_SB and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4 or user_Hand5 or user_Hand6 or user_Hand7 or user_Hand8) raisemin force

When raises = 0 and calls >= 1 and user_UTG1 and (user_Hand1 or user_Hand2) call force
When raises = 0 and calls >= 1 and user_UTG2 and (user_Hand1 or user_Hand2 or user_Hand3) raisemin force
When raises = 0 and calls >= 1 and user_LJ and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4) call force
When raises = 0 and calls >= 1 and user_HJ and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4 or user_Hand5) call force
When raises = 0 and calls >= 1 and user_CO and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4 or user_Hand5 or user_Hand6) call force
When raises = 0 and calls >= 1 and user_BTN and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4 or user_Hand5 or user_Hand6 or user_Hand7) raisemin force
When raises = 0 and calls >= 1 and user_SB and (user_Hand1 or user_Hand2 or user_Hand3 or user_Hand4 or user_Hand5 or user_Hand6 or user_Hand7 or user_Hand8) call force

When raises = 1 and calls = 0 and (user_UTG1 or user_UTG2 or user_LJ or user_HJ or user_CO or user_BTN or user_SB) and user_Hand1 call force
When raises = 1 and calls = 0 and (user_BTN or user_SB or user_BB) and (user_Hand1 or user_Hand2) call force
When raises >= 0 and calls >= 0 and (user_BTN or user_SB or user_BB) and user_Hand1 call force
when others fold force

flop

When havestraightflush or havefullhouse or haveflush or havestraight or haveset or havetwopair or haveoverpair or (havetoppair and havebestkicker) raise 75% force
When (pairinhand and overcards >= 1) or (havepair and overcards >=1) or (havePair and Have2ndBestKicker) or (HavePair and Have3rdBestKicker) and AmountToCall <=30% PotSize call force
When HaveNutFlushdraw or HaveNutStraightdraw and raises = 0 and calls = 0 raise 75% force
When HaveNutFlushdraw or HaveNutStraightdraw and AmountToCall <=30% PotSize call force
when others fold force

turn
When havestraightflush or havefullhouse or haveflush or havestraight or haveset or havetwopair or haveoverpair or (havetoppair and havebestkicker) raise 75% force
When (pairinhand and overcards >= 1) or (havepair and overcards >=1) or (havePair and Have2ndBestKicker) or (HavePair and Have3rdBestKicker) and AmountToCall <=15% PotSize call force
When HaveNutFlushdraw or HaveNutStraightdraw and raises = 0 and calls = 0 raise 75% force
When HaveNutFlushdraw or HaveNutStraightdraw and AmountToCall <=10% PotSize call force
when others fold force

river
When (havestraightflush or havefullhouse or haveflush or havestraight or haveset or havetwopair or haveoverpair or (havetoppair and havebestkicker)) raise 75% force
when others fold force



If someone of you want to join this project, feel free to do so.

My TO DO List:
Refining preflop
POSTFLOP Coding
Shorthanded code
Logged

***
krajko12
Confused Newbie
*

Karma: 0
Posts: 4


« Reply #1 on: July 25, 2020, 10:04:18 AM »

Definitly I will try something new  wink
Logged
gggodbot
Confused Newbie
*

Karma: 0
Posts: 26


« Reply #2 on: July 25, 2020, 11:28:46 AM »

this sounds very interesting
Logged
eddieg7
Confused Newbie
*

Karma: 0
Posts: 33


« Reply #3 on: July 25, 2020, 01:34:14 PM »

can i  ask is for a 8 player NL or 6 player NL
Logged
tapthatace
Botter
***

Karma: 2
Posts: 108


« Reply #4 on: July 25, 2020, 02:37:40 PM »

I am going to load this up and test it some --- I might be willing to assist!!
Logged
tapthatace
Botter
***

Karma: 2
Posts: 108


« Reply #5 on: July 25, 2020, 07:11:07 PM »

Question about the following code block?

If hand = AA it is going to populate the boolean user_Hand1

therefore you don't need as many or's in hand2, hand3, hand4 etc.

//Variables for Starting Hands FIRST IN by Position
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = AK or hand = AQ) user_Hand1
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = A9 suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = JT suited or hand = J9 suited or hand = AK or hand = AQ) user_Hand2
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = A9 suited or hand = A8 suited or hand = A5 suited or hand = A4 suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = JT suited or hand = AK or hand = AQ) user_Hand3
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = A suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = K9 Suited or hand = QJ suited or hand = QT suited or hand = Q9 suited or hand = JT suited or hand = J9 suited or hand = T9 suited or hand = 98 suited or hand = 87 suited or hand = 76 suited or hand = AK or hand = AQ or hand = AJ or hand = KQ) user_Hand4
When (pairinhand or hand = A suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = K9 Suited or hand = QJ suited or hand = QT suited or hand = Q9 suited or hand = JT suited or hand = J9 suited or hand = T9 suited or hand = 98 suited or hand = 87 suited or hand = 76 suited or hand = 65 suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = KQ or hand = KJ or hand = QJ) user_Hand5

You can do the following (Correct?) -- this will clean your preflop code up
//Variables for Starting Hands FIRST IN by Position
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = AK or hand = AQ) user_Hand1
When (hand = 66 or hand = 55 or hand = A9 suited or hand = JT suited or hand = J9 suited) user_Hand2
Logged
Mrphil
Extreme Botter
*****

Karma: 70
Posts: 1957


full limit = rakemaker


« Reply #6 on: July 26, 2020, 02:35:19 AM »

Needs a lot of raise calling refining. For instance, it will call an all-in preflop raise of any size with 77 or AQo as long as there are no callers. It will also call an all-in preflop bet of any size with 55 or JT suited as long as no other callers if we are BB,SB, or BU.

It will also fold AA if we are not in SB,BB, or BU if there have been more than one raise.

It will also fold AA if there is a raiser and a caller preflop and we are not in SB,BB, or BU.

You need a line under the following line"When raises >= 0 and calls >= 0 and (user_BTN or user_SB or user_BB) and user_Hand1 call force"

You need a line like...."When raises >= 0 and calls >= 0 and user_Hand1 Raise pot force"

Has a lot of work to do.
Logged

My life is a "missed click restoring state"
Commercial7
Confused Newbie
*

Karma: 2
Posts: 24



« Reply #7 on: July 27, 2020, 04:20:45 PM »

Great concept - good contribution  rockout
Logged
PokerGod
Experienced Botter
*****

Karma: 28
Posts: 417


« Reply #8 on: July 28, 2020, 02:36:53 PM »

can i  ask is for a 8 player NL or 6 player NL

Should work on 9, 8 and 6 players
Logged

***
PokerGod
Experienced Botter
*****

Karma: 28
Posts: 417


« Reply #9 on: July 28, 2020, 02:38:22 PM »

Question about the following code block?

If hand = AA it is going to populate the boolean user_Hand1

therefore you don't need as many or's in hand2, hand3, hand4 etc.

//Variables for Starting Hands FIRST IN by Position
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = AK or hand = AQ) user_Hand1
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = A9 suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = JT suited or hand = J9 suited or hand = AK or hand = AQ) user_Hand2
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = A9 suited or hand = A8 suited or hand = A5 suited or hand = A4 suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = JT suited or hand = AK or hand = AQ) user_Hand3
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or hand = 55 or hand = A suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = K9 Suited or hand = QJ suited or hand = QT suited or hand = Q9 suited or hand = JT suited or hand = J9 suited or hand = T9 suited or hand = 98 suited or hand = 87 suited or hand = 76 suited or hand = AK or hand = AQ or hand = AJ or hand = KQ) user_Hand4
When (pairinhand or hand = A suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = K9 Suited or hand = QJ suited or hand = QT suited or hand = Q9 suited or hand = JT suited or hand = J9 suited or hand = T9 suited or hand = 98 suited or hand = 87 suited or hand = 76 suited or hand = 65 suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = KQ or hand = KJ or hand = QJ) user_Hand5

You can do the following (Correct?) -- this will clean your preflop code up
//Variables for Starting Hands FIRST IN by Position
When (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = AK suited or hand = AQ suited or hand = AJ suited or hand = AT suited or hand = KQ suited or hand = KJ suited or hand = KT suited or hand = QJ suited or hand = QT suited or hand = AK or hand = AQ) user_Hand1
When (hand = 66 or hand = 55 or hand = A9 suited or hand = JT suited or hand = J9 suited) user_Hand2


Yes, that works.
Logged

***
PokerGod
Experienced Botter
*****

Karma: 28
Posts: 417


« Reply #10 on: July 28, 2020, 02:39:50 PM »

Needs a lot of raise calling refining. For instance, it will call an all-in preflop raise of any size with 77 or AQo as long as there are no callers. It will also call an all-in preflop bet of any size with 55 or JT suited as long as no other callers if we are BB,SB, or BU.

It will also fold AA if we are not in SB,BB, or BU if there have been more than one raise.

It will also fold AA if there is a raiser and a caller preflop and we are not in SB,BB, or BU.

You need a line under the following line"When raises >= 0 and calls >= 0 and (user_BTN or user_SB or user_BB) and user_Hand1 call force"

You need a line like...."When raises >= 0 and calls >= 0 and user_Hand1 Raise pot force"

Has a lot of work to do.

Yes, so far just a basic concept. Lot's of work to refine it.
Logged

***
tapthatace
Botter
***

Karma: 2
Posts: 108


« Reply #11 on: July 28, 2020, 05:11:07 PM »

Yes, that works.
If you have the hand ranges I will be happy to fix this for you
Logged
PokerGod
Experienced Botter
*****

Karma: 28
Posts: 417


« Reply #12 on: July 28, 2020, 09:12:33 PM »

If you have the hand ranges I will be happy to fix this for you

Huh? Ranges are already in it. Just pick them out
Logged

***
Pages: [1] Print 
Shanky Technologies Poker Bot Support Forum  |  General Category  |  Working Profiles (Moderator: sngbot)  |  Topic: Free Profile Project by PG for the community - Upswing Poker by Doug Polk
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!