NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Prolog Adventure Game (github.com)
ForOldHack 4 hours ago [-]
If you wrote an adventure game in Prolog, you could write a client that would also solve the adventure.
agiacalone 5 hours ago [-]
Very nice. I gave a lab assignment like this once! It's a great way to learn Prolog.

https://github.com/agiacalone/cecs-342-lab-prolog

pacaro 5 hours ago [-]
There's even a book "Adventure in Prolog" by Dennis Merritt (ISBN 1520918917)

It's a lot of fun to work through, other prolog resources can be a little dry

shakna 3 hours ago [-]
Sn0wCoder 4 minutes ago [-]
Going to tell the Preface story tomorrow at work, I guess if your reading this you now know my HN handle ;) Not sure I will do the 'game' but that into was worth clicking the link.
pacaro 2 hours ago [-]
Yes! that one!. I have a paper copy, so it didn't occur to me that there would be an online version
wfurney 48 minutes ago [-]
I have never heard of Prolog before so this was cool. I did think the "make sure the flashlight is turned on" point was kind of confusing. I have the battery and flashlight, but there's no way to turn it on. I couldn't run it with gprolog but swipl works fine.
twothamendment 2 hours ago [-]
When I was in school I had to do some stuff with prolog. I got my wife interested enough that she added some rooms and items to a game like this. Good times!
asciii 4 hours ago [-]
Cool! I got stuck trying to figure out how to turn on the flashlight and then got stuck in the woods and died.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 06:24:21 GMT+0000 (Coordinated Universal Time) with Vercel.