Engine for playing Hnefatafl