Lurker News
This is the first iteration of a short game I’m making that tries to interactively explain some of my favorite math questions / ideas. My goal is mostly to get the player curious and not necessarily to explain absolutely everything.

There were a lot of fun technical parts to building this:
- For implementation reasons, it’s much easier if the lines all have integer intersection points with each other. To do this, when a new line is added I “cheat” by rounding intersections to integers and then splitting the old lines at the intersection into new linds (with potentially different slopes) going through the rounded point
- I had to draw semi accurate maps of actual places (UK, South America, US west coast) in the HTML canvas using just line segments. I tried a few different solutions, including using SVG data. I ended up using the topojson library to give nice line approximations to GeoJSON maps
- I use a simple backtracking algorithm to handle the live coloring of graphs
- I use turf.js’s polygonize function to handle finding polygons from line segments (very happy I didn’t have to implement this myself!)
- I wanted to make the game as mobile friendly as possible (don’t think I’ve nailed this quite yet)
There were also a few tradeoffs I made:
- I wanted give links earlier in the game for players to learn more, but I decided to wait until the end to maintain the flow of the game
- In order to make the game more mobile-friendly, I generally stuck to maps with a small number of regions (at least for maps people have to interact with them). So for the most part all of the instances in the game are “easy”

Comments (172) 62 threads

Show all comments

Showing thread 25 of 62

noodlesUK3 replies#
Just FYI the “map of the UK” includes the Republic of Ireland, which is very much not part of the UK.

There’s not a 100% great term for the collective unit of land. Generally people go with “UK & Ireland” if they’re trying to be sensitive.

HeatrayEnjoyer2 replies#
'British Isles' identify the geographic islands.
messe#
It's not a popular term in Ireland. Britain and Ireland is often preferred, and has less colonial implications.
MCSP1 reply#
Thanks for pointing this out! Switched to "British Isles" -- update should be percolating now
messe3 replies#
The British Isles is also a somewhat controversial term with colonial implications, and it's not used by the government of Ireland[1]. "Britain and Ireland" would be a safer bet, as the map doesn't include any other islands.

https://en.wikipedia.org/wiki/Names_of_the_British_Isles

russellbeattie2 replies#
Diving into Wikipedia, apparently variations of the name "Britain" have been in use since 30BC, and referred to the big island, with the smaller islands grouped with it, e.g. British Isles.

The Irish may not like it, but they're fighting against two millenia of history.

messe1 reply#
And it's use in English only comes from the mid 16th and 17th centuries, right around the time that much of Ireland was being colonized by the British.

Frankly, I find the term offensive, and think it should be discouraged in much the same way people have shifted away from "the Ukraine" to simply Ukraine.

returningfory21 reply#
Why is "the Ukraine" bad?

Continue this thread — 1 reply

returningfory2#
Sure, but more recent history should have a higher weight. It is reasonable that our names for things reflect recent history and current affairs more than ancient history.

Two thousand years ago Britain and Ireland were ethnically and linguistically pretty similar (I believe). Since then they have diverged in many ways - most significantly during the Reformation period when people in Britain largely left Catholicism, but people in Ireland remained Catholic. Changes like this and the legacy of colonialism this have ultimately resulted in Ireland having distinctly non-British identity. It is reasonable that our naming for things reflect this current state of affairs.
As always, it useful to consider other examples to clarify the point. For example, by the same argument, should we deprecate the phrase "Latin America"? After all, Latin Europeans only arrived in the Americas 500 years ago and the continent has had people for 10 thousand years before that. Are people who include a European adjective in the name of this cultural area "fighting against ten millenia of history"?

gowld#
Safest to just remove Ireland from the map. It's not needed for the demo.
MCSP#
Switched to "Britain + Ireland"!
L3viathan#
These kind of things are also why four colours are actually _not_ always enough, in the real world. Countries can have exclaves :)