Fairy ring codes