aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cc
blob: f8776eb7e30eea5379f31424fa290044a1438682 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>

#include "NameGame.h"

int main(int argc, char* argv[]) {
	int group_size = 1000, cmsize = 292;
	tp::NameGame namegame(group_size, cmsize, 12);
	std::cout << "CM " << cmsize << " / " << group_size << std::endl;
	int a = namegame.run(group_size * 1000);
	std::cout << "Non-committed new strategy plays in the last N runs: " << a << std::endl;
	namegame.writeRecord("strategy_record.csv");
	return 0;
}