Mathematics of Tabletop Games