Hacker News new | ask | show | jobs
Show HN: Group of Death – WorldCup bracket predictor with shareable URLs (groupofdeath.gg)
6 points by sparc24 10 days ago
I couldn't find a nice worldcup bracket visualizer out there so ended up building one. It's nicer than the ones I saw out there. There is no login, no ads, runs client side, uses localStorage and all the state is encoded in the URL itself and you can share it.

The calendar feature is nice. I wanted to build my own schedule for the games I was interested in. There is full calendar that you can subscribe to as well, that gets updated as the fixtures get decided. I also wanted to be able to interactively change things and visualize the whole knockout stage.

All the state is in the URL fragment. It's a handrolled compact byte format. About 203 bytes, ~217 characters. The URL has the full snapshot so the link you share always renders the same brackets. It's versioned so I can change the format and not break links out there.

At this point it does everything I wanted it to do for me. Might be some real howlers in there. Let me know if you spot one.

3 comments

Is it meant to be purely for tracking the actual matches or for simulating/predictions? The simulations seem to vary wildly on each run
Mostly I wanted a nicer interactive bracket visualizer. I also wanted to be able to easily make a custom calendar for fixture I was interested in. Plus sharing the picks wo/ any serverside state. The whole bracket gets encoded in the URL fragment It's a full snapshot - no reconstruction.
Wow
tell me more
What do you want to know?