Hacker News new | ask | show | jobs
by kapildev 1378 days ago
How does the game check whether the solution has been made? Genuinely curious.

Also, I had found some bugs. Like when we are asked to create a perpendicular, any line that starts properly and is almost done but isn't done fully is treated as solution. Also, when it asks to create a triangle, but the solution is complete, it still passes. Although one could argue that the solution would be reached either way, in future cases where a person is nowhere near the full solution might be confused when the game marks the puzzle as solved.

1 comments

Using analytic geometry methods, I test every new figure, whether it gives a solution.

Thank you for the feedback. I will check that.