Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Wikipedia Golf – find the fewest clicks between two random wiki article (wikipediagolf.fly.dev)
2 points by burgerrito 46 days ago | hide | past | favorite
Hi, I'm Rizqi, and I just made a web-based game, called Wikipedia Golf!

What is the game, and how does it work? Simple. First, the game find two random Wikipedia articles--the first article and the destination article--and then you click links from the first article to another... until you find the destination. If you made it to the destination wiki article, then cool! If not, you can also give up :(.

You can play this game alone, or with friends, by creating a room. After creating a room, the game will prompt you with a random six-characters code and you can make your friends enter the code to join the game. Mind you, the multiplayer feature is a bit rushed so forgive me if you find some bugs...

This game is actually my first finished side-project (for real), so I hope you don't mind some bugs here and there. This game is also hosted on free-tier Fly.io and, additionally, it's my first experience hosting it to public with so many people so forgive me if you had a hard time accessing it.

So far the only supported language is English, though I have a plan to expand it to Japanese and eventually other languages.

All feedbacks are appreciated. Enjoy the game!

Some technical details if you're interested:

- The game is made using Elixir language with the Phoenix [1] framework. - I experimented to use Nix Flake to build this project. I had a hard time compiling it due to lack of documentation regarding the usage of Nix Flake for Elixir Phoenix. - The Docker image of this game is also built using Nix Flake, using dockerTools [2] - The game uses iframe and fetches the pages from Wikipedia API. I think the usage of iframe may have a huge impact on performance.

[1]: https://www.phoenixframework.org/ [2]: https://ryantm.github.io/nixpkgs/builders/images/dockertools... [3]: https://en.wikipedia.org/api/rest_v1/




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

Search: