A framework for the Hearts card game, with a computer player trained on a neural net