Implementation of the viking boardgame Hnefatafl