Skip to content

Swap to locked gems is allowed, but they are not matched #1

@JohannesBuchner

Description

@JohannesBuchner

This vertical move is allowed, but should not be. Or the match should be performed.

1
4 X1L X1L

Debug information

I was playing this board:

BOARD: 8x8
 4   1   1  X3L X1L  4   2   4  
 3   3   4  X2L =2L  1   3   4  
 1   2   2  |0L |2L  4   3   1  
 1   2   4  |3L X2L  3   4   1  
 2   3   1  X1L X1L  3   2   3  
X3L |2L |2L |3L X1L =2L X1L |0L 
|2L X2L X0L X0L X3L X3L |2L =0L 
X0L X2L =0L =3L X0L X0L X1L X3L 

with 4 colors, 10 swaps. Goal 1 of type=5.

17: after paircomb.run:

BOARD: 8x8
 4   1   1  X3L X1L  4   2   4  
 3   3   4  X2L =2L  1   3   4  
 1   2   2  |0L |2L  4   3   1  
 1   2   4  |3L X2L  3   4   1  
 2   3   1  X1L X1L  3   2   3  
X3L |2L |2L |3L X1L =2L X1L |0L 
|2L X2L X0L X0L X3L X3L |2L =0L 
X0L X2L =0L =3L X0L X0L X1L X3L 

  1. possible moves:
  • 2,6 -> 2,5
  • 3,2 -> 4,2
  • 2,2 -> 1,2
  • 2,5 -> 2,6
  • 3,5 -> 3,6
  • 4,0 -> 4,1
  • 3,1 -> 4,1
  • 4,2 -> 3,2
  • 4,1 -> 3,1
  • 3,6 -> 3,5
  • 1,2 -> 2,2
  • 4,1 -> 4,0
    15: acto (no change)
    14: comb (no change)
    13: topfill (no change)
    12: grav (no change)
    11: after topfill:
BOARD: 8x8
 4   1   1  X3L X1L  4   2   4  
 3   3   4  X2L =2L  1   3   4  
 1   2   2  |0L |2L  4   3   1  
 1   2   1  |3L X2L  3   4   1  
 2   3   4  X1L X1L  3   2   3  
X3L |2L |2L |3L X1L =2L X1L |0L 
|2L X2L X0L X0L X3L X3L |2L =0L 
X0L X2L =0L =3L X0L X0L X1L X3L 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions