Save moves to the databases at the end of every game.