merged latests iteration of branch better_nn_player