Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Wikipedia: The Text Adventure (kevan.org)
67 points by alnitak on July 4, 2017 | hide | past | favorite | 5 comments


http://kevan.org/wikitext/United_States

"You can go nowhere from here."


Not sure how you implemented it but seems like you could take the coordinates and translate them into directions, convert the images using, then pull the first paragraph all on the fly.

look up the next closest coordiantes: https://www.wikidata.org/wiki/Wikidata:WikiProject_Freebase/...

convert images: https://stackoverflow.com/questions/236692/how-do-i-convert-...


You may want to disable taking the letter "a" (and some other ones like "is" etc).


Interesting idea! I had created a vaguely related experiment a while ago, breeding gamebook content with interactive fiction:

https://github.com/cjauvin/gamebook.js


Thanks for putting a smile on my face!




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

Search: