Prolog restrictions - puzzle
问题 I'm developing a game named woodntDie. This game consists in 9 pieces which should look like this: The aim is to arrange all those pieces and make it look like a dice: This is the four final possible solutions with all those 9 pieces. I'm trying to implement some restrictions but those arent enough: sum([V5, V6, V11, V12, V17, V18, V23, V24, V29, V30, V35, V36, V41, V42, V47, V48, V53, V54], #=, 7), The sum of the opposite faces should always be 7. In this restriction I'm telling that the sum