john1571 / RoboPoker

Arena for poker playing computer programs to play against each other.
1 stars 2 forks source link

Remove duplication when finding straight #38

Closed john1571 closed 1 year ago

john1571 commented 2 years ago

Describe the bug We use two different functions for finding a straight depending on if it is a straight flush or a regular straight.

Causal Issue General ignorance of former John Paul

We should combine them. Use the "straight in array" for both.

john1571 commented 1 year ago

Fixed in #40