← Back to context

Comment by LeifCarrotson

2 hours ago

It's a bit disappointing, then, that the page's action on clicking the "solution" button is just to set the pieces to:

    const solution = {
      a8: "b1",
      b8: "q1",
      f7: "q2",
      a4: "q3",
      e3: "q4"
    };

It would be cool if it randomly selected one of those 388, so you could click repeatedly and develop an intuition for what kinds of distributions were a valid solution.