count enumerated states
This commit is contained in:
parent
5ab7538506
commit
6fa4098e36
1 changed files with 1 additions and 0 deletions
|
@ -337,6 +337,7 @@ namespace Hanabi {
|
|||
|
||||
template<std::size_t num_suits, player_t num_players, std::size_t hand_size>
|
||||
double HanabiState<num_suits, num_players, hand_size>::backtrack(size_t depth) {
|
||||
_enumerated_states++;
|
||||
if (_score == 5 * num_suits) {
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue