Now that each game will generate data in the same dictionary format (keys = board state, values = (playername, move)), it should be possible to create a single csv_writer function that writes game data to a csv.
Rows can be individual games, columns can be the dictionary keys (game states) and the entries will be the player name and move tuples.
Now that each game will generate data in the same dictionary format (keys = board state, values = (playername, move)), it should be possible to create a single csv_writer function that writes game data to a csv.
Rows can be individual games, columns can be the dictionary keys (game states) and the entries will be the player name and move tuples.