The Riddle-Master of Hed is a fantasy novel by American writer Patricia A. McKillip and the first book of her Riddle Master trilogy.
Riddles, typically questions about obscure pieces of lore, feature significantly, as well as shapeshifting magic.
The titular Riddle-Master is Morgon, the Prince of Hed, a small, simple island populated by farmers and swineherds.
He explains that he won it in a riddle-game with the ghost of the cursed king Peven of Aum; he would have died had he lost, as had many who took up the challenge.
When Deth, the High One's harpist, discovers this, he explains that another king, Mathom of An, has pledged to marry his daughter Raederle to the man who wins that crown from the ghost.