some code for experiments with generic games. first experiment.
ignore tmp-data dir
more efficient sampleGamesTrainNetwork with extra parameters