Go back
Tile Puzzler 5351

Tile Puzzler 5351

Posers and Puzzles

iamatiger

Joined
26 Apr 03
Moves
26771
Clock
25 Nov 09
Vote Up
Vote Down

I came across this site
http://www.tile-puzzler.com/unsolved_mysteries.asp

I see number 5351 has never been solved and has been on there since May

First one to solve it wins!

T
Kupikupopo!

Out of my mind

Joined
25 Oct 02
Moves
20443
Clock
26 Nov 09
Vote Up
Vote Down

Originally posted by iamatiger
I came across this site
http://www.tile-puzzler.com/unsolved_mysteries.asp

I see number 5351 has never been solved and has been on there since May

First one to solve it wins!
I've tried, but it looks impossible to me. Are you supposed to fill the target region completely?

l

Milton Keynes, UK

Joined
28 Jul 04
Moves
81600
Clock
26 Nov 09
Vote Up
Vote Down

Originally posted by TheMaster37
I've tried, but it looks impossible to me. Are you supposed to fill the target region completely?
It is an overlapping one.

See under "Overlap Puzzlers" here:

http://www.tile-puzzler.com/instructions.asp

T
Kupikupopo!

Out of my mind

Joined
25 Oct 02
Moves
20443
Clock
27 Nov 09
Vote Up
Vote Down

Originally posted by lausey
It is an overlapping one.

See under "Overlap Puzzlers" here:

http://www.tile-puzzler.com/instructions.asp
Yes, I was that far. I didn't see a rule about filling the entire field.

iamatiger

Joined
26 Apr 03
Moves
26771
Clock
28 Nov 09
Vote Up
Vote Down

Originally posted by TheMaster37
Yes, I was that far. I didn't see a rule about filling the entire field.
I think if you can fit them all in you will win, whether or not they fit the area.

But I also suspect that the designer would have designed it to tile exactly, remember that tiles of identical colour can overlay.

Ok, first one to solve it or prove it is impossible wins.

m

Joined
07 Sep 05
Moves
35068
Clock
28 Nov 09
Vote Up
Vote Down

Originally posted by iamatiger
I think if you can fit them all in you will win, whether or not they fit the area.
Having done some of the others on this site now (but not this one yet), I think you have to fill the space. You don't have to use all the shapes, but in a well-designed puzzle it'll be necessary.

AThousandYoung
1st Dan TKD Kukkiwon

tinyurl.com/2te6yzdu

Joined
23 Aug 04
Moves
26754
Clock
28 Nov 09
Vote Up
Vote Down

When I realized the pieces were connected to other pieces AND that they could overlap I gave up.

However now I'm having some new thoughts...

Are all the groups of pieces the same size? All fit in a 4x4 area for example? Hmm.

iamatiger

Joined
26 Apr 03
Moves
26771
Clock
29 Nov 09
Vote Up
Vote Down

Originally posted by AThousandYoung
When I realized the pieces were connected to other pieces AND that they could overlap I gave up.

However now I'm having some new thoughts...

Are all the groups of pieces the same size? All fit in a 4x4 area for example? Hmm.
The all fit in a 5x5 area, and if they are all to be used there has to be some significant overlapping.

I'm in the process of writing a perl program to solve this puzzle, but it is tricky.

m

Joined
07 Sep 05
Moves
35068
Clock
02 Dec 09
Vote Up
Vote Down

Kerching!

iamatiger

Joined
26 Apr 03
Moves
26771
Clock
03 Dec 09
Vote Up
Vote Down

Originally posted by mtthw
Kerching!
Wow, nice one! How did you do it?

m

Joined
07 Sep 05
Moves
35068
Clock
04 Dec 09
1 edit
Vote Up
Vote Down

Originally posted by iamatiger
Wow, nice one! How did you do it?
Brute force 🙂. I read your previous note and thought writing a program to do it would be interesting.

(I had tried several times to solve it without help, but never got very far).

Incidentally, my program did first find a solution that fits all the shapes in and does not fill the shape. That wasn't accepted, so it's definitely filling the shape that is required to solve the problem.

iamatiger

Joined
26 Apr 03
Moves
26771
Clock
04 Dec 09
2 edits
Vote Up
Vote Down

Originally posted by mtthw
Brute force 🙂. I read your previous note and thought writing a program to do it would be interesting.

(I had tried several times to solve it without help, but never got very far).

Incidentally, my program did first find a solution that fits all the shapes in and does not fill the shape. That wasn't accepted, so it's definitely filling the shape that is required to solve the problem.
Well, nice programming!

I think I might have tried to be a bit too optimal with my approach, I'm trying to keep track of the number of ways each shape can fit in, and the number of shapes that can fit over each uncovered square, and recursively search by placing the shape which can fit in the least positions or which covers a square that that fewest other shapes can cover, and I'm rather tangled up in pointers as a result.

m

Joined
07 Sep 05
Moves
35068
Clock
06 Dec 09
1 edit
Vote Up
Vote Down

Yeah, I tried to avoid being too clever with mine - thought I'd worry about optimising if I found it was taking too long to solve it.

The heart of the program is a function that takes a list of shapes to put into the grid. It takes the first shape, tries all possible positions for that shape, and for those positions that fit it calls the same function recursively with a list of the remaining shapes.

It looked like this (in Java). Sorry about the lack of indenting. Hopefully it makes sense.

private boolean solveNext(List<Shape> remainingShapes) {
if (remainingShapes.isEmpty()) {
// No more shapes to fit, have we filled the grid?
return layout.isComplete();
}

Shape shape = remainingShapes.remove(0);

for (Shape subShape : shape.getCongruentShapes()) {
for (int x = 0; x <= layout.getWidth() - subShape.getWidth(); ++x) {
for (int y = 0; y <= layout.getHeight() - subShape.getHeight(); ++y) {
if (layout.shapeFits(subShape, x, y)) {
layout.addShape(subShape, x, y);
List<Shape> restOfShapes = new LinkedList<Shape>(remainingShapes);
boolean restFit = solveNext(restOfShapes);
if (restFit) {
// Wahay! Problem solved
return true;
}
else {
// Not possible in this position - remove and carry on
layout.removeShape(subShape);
}
}
}
}
}
return false;
}

s
Fast and Curious

slatington, pa, usa

Joined
28 Dec 04
Moves
53321
Clock
10 Dec 09
Vote Up
Vote Down

Originally posted by mtthw
Yeah, I tried to avoid being too clever with mine - thought I'd worry about optimising if I found it was taking too long to solve it.

The heart of the program is a function that takes a list of shapes to put into the grid. It takes the first shape, tries all possible positions for that shape, and for those positions that fit it calls the same function recu ...[text shortened]... layout.removeShape(subShape);
}
}
}
}
}
return false;
}
So do we have any results of your work yet? If so, can that program be modified for a general overlapping piece puzzle solution? Good job BTW.

iamatiger

Joined
26 Apr 03
Moves
26771
Clock
10 Dec 09
Vote Up
Vote Down

I am now wondering about a reverse program: One that would let me make a nice picture out of coloured tiles, and would find the hardest legal puzzle that it was the answer to.

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.