artasparks / glift

Go Lightweight Frontend
MIT License
115 stars 33 forks source link

StaticProblem: don't display as incorrect until you reach a leaf node #168

Open dfannius opened 7 years ago

dfannius commented 7 years ago

In my problems, I often want to play out an incorrect sequence to the end, to make it more obvious why it is a failure. glift's static problem controller displays a red X as soon as there is no path to a successful node. I would like to make it not display the failure state until a leaf node is reached. This is easy enough to do in code (I already have it in my local version) but perhaps could be an option.

artasparks commented 7 years ago

This is easy to do, but incompatible with the current behavior. How about an option?

dormerod commented 7 years ago

This is a suggestion that came up on Go Game Guru fairly often too. My feeling based on comments there is that most people want to play to the end of a variation before getting feedback and that the early feedback really irritated some users.

An option sounds like a good compromise -- I seem to recall that Josh had some well thought out reason for doing it the other way(?) but can't remember what it was right now.