I

I made a puzzle game that gently introduces my favorite math mysteries

Hacker News

I made a puzzle game that gently introduces my favorite math mysteries

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”

Share card

Actual performance

1,054points
172comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: including · Missing: supports, reddit linkedin, podcasting
87%87% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: new, using, plain · Missing: mac, agents, macos
61%61% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io, including · Missing: https docs, excited, just released
54%54% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
49%49% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: friendly · Missing: plus, platform, intuitive
49%49% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
11%11% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: introduce · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

A
A Math Puzzle Game50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Math Puzzle Game

Hacker News10
Si
SineRider, a math puzzle game61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SineRider, a math puzzle game

Hacker News181
I
I made a math puzzle game50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made a math puzzle game

Hacker News2
Ou
Our "trojan horse" math puzzle game for smartphones53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Our "trojan horse" math puzzle game for smartphones

Hacker News2
I
I built a free math-based puzzle game called Equatile67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I built a free math-based puzzle game called Equatile

Hacker News11
My
My HTML5 Puzzle Game, Renshaw58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

My HTML5 Puzzle Game, Renshaw

Hacker News2
Fo
Four, the html5 puzzle game.54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Four, the html5 puzzle game.

Hacker News1
My
My first puzzle game49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

My first puzzle game

Hacker News1
Tr
Trichroma – my first puzzle game49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Trichroma – my first puzzle game

Hacker News3
Pu
Puzzle game I made, Horsejump49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Puzzle game I made, Horsejump

Hacker News1