Settings

Theme

Show HN: A game where you identify countries based on their electric grid mix

jmelville.science

1 points by phenol a year ago · 1 comment · 1 min read

Reader

I'm a climate scientist, and I built this game using a dataset from Ember Energy (https://ember-energy.org/data/api/). The UI is ugly and the code is uglier, but the game is weirdly hypnotic regardless. Please let me know what you think!

ttyprintk a year ago

It has a lot of appeal! It’s like those city-guessing games where you progressively close in on a street scene in Łódź or Tangier. Here’s how I’d polish it:

- Ember provides some graphs and those are just easier to read than 400 squares. Unless they had nuclear, I needed the scale of countries every time.

- Throw a quick distance calculation on the table. Nearest neighbor in both mix and generation. Reveal those toward the end rather than continent. For example, if the answer is Barbados, you might get “not Guam” and “not Trinidad & Tobago”

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection