Solving NetHack's Mastermind