Texas Hold'em Video Recommendations

2017 is the German flutter in the air outlet, Alibaba, Tencent, Sina, Lianzhong and other invested heavily in market development. The first-tier cities in white-collar workers, are also more and more in love with this poker athletics from the West. It has been "entertainment upgrade" from Landlords, upgrade, whipped eggs and other traditional card games. In financial circles it is spread, Texas Hold'em is already the necessary social skills and even interviewing skills. Well, today, I come to you from the simple to share my views on Texas Hold'em. Today to talk along the following lines:

 

What about Texas Hold'em?
Texas Hold'em poker is not gambling?
Texas Hold'em decide the outcome, the technical factors accounted for how much?
What fun Texas Hold'em? Why do so many people like to play?
I used to play Texas Hold'em really have so much of an active role in it?
Texas Hold'em criticism
dark side of Texas Hold'em
Rules Texas Hold'em
Texas Hold'em skills
story and I Hold'em
at AI development, Texas poker industry go from here?
Record Summary:

We can introduce future development model German research community?
How to deal with competition and online gaming platform?
If no cash office, how to deal with the problem of inadequate no sense of tension and crisis cash office?
Like people as objects that can be observed, whether there is active hidden variables observed practice?
Since the founding of the German Research Society, which operate on the barriers encountered, how to deal with?
"Germany-bashing has become a master of the path," said a lot of the Heart, there is no authoritative books and videos?
There has not become enthusiastic from the game completely no sense, or vice versa Case Studies?
Germany flapping in the mass fashion trends is what?
Read more: http://gitbook.cn/gitchat/activity/5907c7af48b14c72c232984f

Texas Hold'em algorithm
algorithm for Texas Hold'em, including the following features

https://github.com/esrrhs/texas_algorithm

Lookups for
evaluation algorithm
using

com.github.esrrhs
texas_algorithm
1.0.5

// get two hand five community cards of the five largest card
TexasAlgorithmUtil.getMax ( "Black 2, Black 3", "side 2, side A black 7, 5 black, black 6 ");
// get the size of seven cards for card than
int win = TexasAlgorithmUtil.getWinPosition (" side 4, side a, 2 black, black a, black 3, 5 black black 6 ");
// get the two well-hand four winning card, for evaluating the
float p = TexasAlgorithmUtil.getHandProbability (" side 3, side a "," black 2 black 4, 5 black, black K ");
test play
extracting texas_algorithm.rar to the current folder
run TestUtil.Main
-table play
extracting texas_algorithm.rar to the current folder
run TexasAlgorithmUtil.Main
lookup algorithm
table look-up algorithm, given an arbitrary seven cards, look-up table It gives the maximum five-card poker face and size, winning percentage, type

Algorithm
exhaustive C (52, 7) a combination of

Card 52 which is selected from 7, a total of 100 million in various combinations, of cards encoded into seven type long, to give an array of length 100 million.

Multithreaded quicksort

The length of this array 100 million were from small to large, the size of the sort is 7 election after five. The use of multi-threading quick sort, on the 8-core machine, drained takes about 10 hours.

If the ratio of the original card replacement algorithm final lookup table algorithm, the speed can be shortened to 2 hours.
The results output

The array is already sorted, now in the order of output to a file, the contents key, the order, the value of max card, max card type, card reading surface information. Finally, the file size is almost 12G.

In fact, note that the size is stepped, there are many cards that are as large, but different order, so when output than to do what the card handling.
The results go color

100 million if the direct use of data, the memory will burst, the use of algorithms to reduce color scale. There are no color and is divided into two color files, and finally the total file size 18M. Actually loaded into memory footprint tens M.

For the type of flush, such as flush, straight flush, royal flush, the distribution of 7 cards must be such as red and red plum black, is at least five cards are the same suit, so you can change colors become Fang Fang Fang Fang dark side, saving key value
for the type of unusual flowers, color has no effect, then just need to remove all color, become Fang Fang Fang Fang Fang Fang Fang can
query methods

Given seven cards, go check the table with flowers, if not go to extraordinary flower table investigation, two have a general election on who's who.

Evaluation algorithm
evaluation algorithm, given two hands 0-4 Zhang Gong cards, estimated this hand winning in 1v1 situations.

Algorithm
winning percentage calculation

As already noted generated in order of card 7, so now given cards N (2 <= N <= 6), just need to set seven card's traversal, N cards to see which contains 7 the winning card, do what the average is the average winning percentage. Incidentally, the largest winning percentage will give birth to a minimum winning percentage. 6 final output file size is 2G.

The results go color

The N-card winning duplicate the same table, using a similar method to remove the color is divided into two tables, queries to query the original table, did not go to the lookup table to remove the suit. In this way, six files can be reduced to 300M. Actually loaded into memory almost 200M.

The board inquiry

The community cards into the above calculation of the winning table, the query to obtain winning situation public license, that the other side with the community cards to make up seven cards average winning percentage recorded as P1, and a range of probability distributions.

The board queries hand

Take my hand and community cards together, winning into the above table, the query to obtain an average winning percentage P2. Note that this time P2 is not accurate, because the hand is reused. Here there is an error.

Estimated Wins

P1, P2 have got, according to the relation of P1 and P2 can be derived to make the difference between winning and with P1Max P1Min. Here it is assumed that a uniform distribution will also have errors.

Estimated error

If using the most primitive way exhaustive of all combinations, namely fixed and fixed public hand cards, exhaustive remaining community cards and the other hand, and calculate the winning percentage, currently two hands four community cards need to be calculated over 20 days Finish. By comparing the actual winning percentage, less than 0.1 most of the error, such as the actual winning 0.5, 0.6 estimate.

poker

Texas Hold'em Video Recommendations

Reprinted https://github.com/Clark-dot/poker/tree/master

Texas Hold'em --2019 annual drama -9-handed hand selection - YouTube ...

Texas Hold'em chapter when you think you behind how to do? - YouTube

Texas Hold'em - Internet operators and the students learn from each other - YouTube

Programmers daily entertainment Hold'em - life and death duel between the algorithm and the product - YouTube

How many Texas Hold'em -AA what was ahead of AK? - YouTube

Texas Hold'em -AA exactly when to fold? - Novice yoyo swept the audience - YouTube

Texas Hold'em --2019 annual drama -9-handed hand selection - YouTube

Guess you like

Origin www.cnblogs.com/tony-vsd/p/12101527.html