A solver for a range of perfect-information, single player solitaire card games
GNU General Public License v2.0
32
stars
11
forks
source link
Move generation bug with foundations_init_type::ALL and foundations_base #111
Open
thecharlieblake opened 5 years ago
In the lines of code below, in the case of ALL, the code foundations[(f_idx + rand_suit)] can go outside the range when rand_suit > 0.
(this is only going to affect something with ALL and foundations_base, and we don’t think we have any such games)