Hacker News new | past | comments | ask | show | jobs | submit | hazymemory's comments login

Just for curiosity I just asked chat deepseek to load and solve the game and it solved it in half a second.

It suggested adding some riddle, for example:

   path(castle, up, tower) :-  
       at(blueprint, holding),  
       (solved_riddle -> true ;  
        write('Answer the riddle first: What walks on four legs in the morning...?'), nl,  
       read(Answer),  
        (Answer = 'human' -> assert(solved_riddle) ;  
         write('Wrong! Try again.'), nl, fail)).


I think the core of the subject is that you only need to know relative probabilities, p_j/p_k to be able to take a sample of a distribution.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: