TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Wikipedia: The Text Adventure

67 pointsby alnitakalmost 8 years ago

5 comments

amptornalmost 8 years ago
<a href="http:&#x2F;&#x2F;kevan.org&#x2F;wikitext&#x2F;United_States" rel="nofollow">http:&#x2F;&#x2F;kevan.org&#x2F;wikitext&#x2F;United_States</a><p>&quot;You can go nowhere from here.&quot;
sharemywinalmost 8 years ago
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.<p>look up the next closest coordiantes: <a href="https:&#x2F;&#x2F;www.wikidata.org&#x2F;wiki&#x2F;Wikidata:WikiProject_Freebase&#x2F;Coordinates" rel="nofollow">https:&#x2F;&#x2F;www.wikidata.org&#x2F;wiki&#x2F;Wikidata:WikiProject_Freebase&#x2F;...</a><p>convert images: <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;236692&#x2F;how-do-i-convert-any-image-to-a-4-color-paletted-image-using-the-python-imaging" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;236692&#x2F;how-do-i-convert-...</a>
xnzakgalmost 8 years ago
You may want to disable taking the letter &quot;a&quot; (and some other ones like &quot;is&quot; etc).
cjauvinalmost 8 years ago
Interesting idea! I had created a vaguely related experiment a while ago, breeding gamebook content with interactive fiction:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;cjauvin&#x2F;gamebook.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cjauvin&#x2F;gamebook.js</a>
tannhaeuseralmost 8 years ago
Thanks for putting a smile on my face!