This commit is contained in:
Maximilian Keßler 2023-08-08 02:04:58 +02:00
parent 7bd910059c
commit d7f7d3eb6d
Signed by: max
GPG Key ID: BCC5A619923C0BA5

View File

@ -57,7 +57,7 @@ void test() {
}
}
void check_games(unsigned num_players, unsigned max_draw_pile_size, unsigned first_game = 4, unsigned last_game = 9999) {
void check_games(unsigned num_players, unsigned max_draw_pile_size, unsigned first_game = 0, unsigned last_game = 9999) {
std::vector<std::vector<double>> winning_percentages(last_game + 2);
@ -109,7 +109,7 @@ int main(int argc, char *argv[]) {
#ifndef NDEBUG
test();
#endif
check_games(3, 10);
check_games(4, 9);
if(argc == 3) {
std::string game (argv[1]);
std::string turn (argv[2]);