Solving a Dungeons and Dragons riddle using Prolog | Hacker News Reader