News for hackers. Stuff that matters.
Re:Geometric Constructions Game with Straightedge and Compass by programmarchy on Monday December 26, 2016 @10:05PM (#13261028)
This is beautifully done.

Can anyone shed some light on the technology used to build the game?

Re:Geometric Constructions Game with Straightedge and Compass by HiroshiSan on Tuesday December 27, 2016 @01:06AM (#13261581)
Straight edge and Compass, circa 2000 years ago.
Re:Geometric Constructions Game with Straightedge and Compass by amelius on Tuesday December 27, 2016 @08:09AM (#13262894)
But how do you prove automatically that a given construction, no matter how convoluted, gives the correct answer?
Re:Geometric Constructions Game with Straightedge and Compass by waqf on Tuesday December 27, 2016 @12:26PM (#13264453)
There's a formula for the coördinates of where two arcs meet, where a line and a circle meet, etc., in terms of the coördinates of the points which generated the lines and circles — and you only need a few such formulæ (linear and quadratic equations, in fact) to cover all legal straight-edge-and-compass constructions.

So keeping track of exact, algebraic locations of the points is basically equivalent to manipulating exact expressions for roots of polynomials, which is not totally trivial (the tricky bit is simplifying roots of a quadratic equation whose coefficients were given as roots of a previous quadratic equation) but it's the sort of thing Maple and Mathematica have been doing for decades.