Classifying flops by the Number of possible straights using spreadsheet
问题 I am trying to write a function in Google Sheets that classifies the "connectivity" poker flops. Inputs: We're given a list of "flops" (3 random cards). These are given as numeric values where 2=2, 3=3 ... 11 = Jack, 12 = Queen, 13 = King, 14 = ace I want to be able to classify these flops using three different metrics: 1) Connectivity - The number of immediately possible straights: example 1: FLOP [5 6 7] has connectivity three, as 43/84/98 complete the straight. example 2: FLOP [K Q J] has