TDWTF Plays Picross
-
@error_bot m j9 f j12 m e6 e5 f i4 m i9 i2
-
Â
Â
-
@error_bot m i3 k3 f i8 m h4 f k1
-
Â
Â
-
@error_bot m i11 h8
-
Â
Â
-
@error_bot f e2 m e1 e3
-
Â
Â
-
@error_bot f g11 g12 g15=g17 m g13 h15-h17
-
f g11 g12 g15=g17 m g13 h15-h17: Unexpected parameter: g15
-
@error_bot f g11 g12 g15-g17 m g13 h15-h17
-
Â
Â
-
@TwelveBaud this most recent board indicates I've marked
g10
in error (due to the problems that caused in column 12), but the board near the post I'm replying to makes me think I marked it correctly.
-
@TwelveBaud I'm not really seeing why you marked g8-g10 there
-
@PleegWat said in TDWTF Plays Picross:
@coderpatsy said in TDWTF Plays Picross:
@error It could automagically mark based on what's filled, without looking at the solution. Like in this one, row m could have the first 1 crossed out, even if it's wrong (it's not, but).
@error This. Definitely no leaking the solution. May interact with/be a component for the solver. Basically, for any row/column explore all possible distributions of the clues over the values entered in the grid. If a clue always matches a string of black squares in the grid, cross it out. If there are no ways to match the clues for a line onto the values in the grid, highlight in red?
What to do if a clue always matches something in the grid, but not always in the same place?The two versions of the game that I play have different automations, ideally I'd like a mix of both:
Picmi (Linux) marks strings of black squares that match clues from either end of the row/column, but not clues in the middle of a row/column (i.e. a blank square (neither black nor cross) breaks the marking of clues). It also doesn't care whether this is the solution or not, it's up to you to not fuck up. I like this part.
ETA: this means it also has the ability to unmark a clue if you change what you've done later, so that's a bit more code. Possibly it could also have the ability to mark a clue as wrong (e.g. a row where the first clue is 1 and you've marked 2 or more squares from the border).
Falcross (iPad) has a mode where it helps you... a bit too much! It marks clues when they're filled, even if it's just a random square alone in the middle of the grid. That's bad. It also tells you immediately if you've made a mistake (black square where there is none), which is also bad (combined with the fact that you have 5 lives or so, it means you can just randomly pick squares to help you).
But it does also help you by filling in crosses for rows you've completed, which I think is good. E.g. if there is a row with only 0 as clue, it would immediately fill it with X. If there is a row with just 1, it would fill the rest of the row with X as soon as you put one black square. You can always go back and erase X's if they're wrong (which they can't be in Falcross since it checks against the real solution, but that could happen here). It's not really much "help", just limits out the tediousness (i.e. if on a row all clues are marked as completed, then you don't need to manually scan the row to fill anything remaining with X).
Another thing it does is to add one X at each end of a clue that you just filled in, which again as it uses the true solution is a bit too much, but it could be implemented with the limited clue-checking of Picmi (e.g. if a row starts with 2 and you fill in columns 1-2, it adds a X in 3).
-
@error_bot m a15-b17 f d2 m c2 f a2 b2 m g1 h1 f b1 c1 b2 m c2 b3
-
Â
Â
-
@error_bot f a3 g3 h3 c3 d3 a3
-
Â
Â
-
@error_bot f e10 c4 a1 m d1 d4 i17 i16 i15 f c15
-
Â
Â
-
@error_bot f b6-b9
-
Â
Â
-
@error_bot m a4-a9 d6-c9 f a12-c12 m d12
-
Â
Â
-
Wait, no. Huh?
@error_bot clear a4-a9 d6-c9 f a12-c12 m d12 b6-b9 e10 c4 a1 m d1 d4 i17 i16 i15 f c15 a3 g3 h3 c3 d3 a3 a15-b17 f d2 m c2 f a2 b2 m g1 h1 f b1 c1 b2 m c2 b3
-
Â
Â
-
@error_bot clear a4-a9 d6-c9 a12-c12 d12 b6-b9 e10 c4 a1 d1 d4 i17 i16 i15 c15 a3 g3 h3 c3 d3 a3 a15-b17 d2 c2 a2 b2 g1 h1 b1 c1 b2 c2 b3
-
-
Â
Â
-
@error_bot m i17 a17 b17 i16 b16 a16 a15 b15 g1 h1 f b1 b2 m b3 f c1 m c2
Ah; something's wrong in column 12
-
Â
Â
-
@error_bot m k15 f k12
-
Â
Â
-
@error_bot m i15
-
Â
Â
-
@error_bot m i12 f i13
-
Â
Â
-
@error_bot f a3 c3 d3 g3 h3
-
Â
Â
-
@error_bot f a2 d2 m h2
-
Â
Â
-
@error_bot f a1 m d1
-
Â
Â
-
@error_bot m a4 d4 f c4
-
Â
Â
-
@error_bot f b4-9
-
Â
Â
-
@error_bot m a5-9
-
Â
Â