🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #1271

Re: Puzzles

#1271
From: Johann 'Myrkraverk' Oskarsson
Date: Sun, 15 Nov 2026 14:30
39 lines
3285 bytes
On 11/15/2026 10:13 PM, Waldek Hebisch wrote:
> There is old puzzle of 15.  You have 4 by 4 grid and movable
> squares with numbers from 1 to 15 fitted into it.  One
> square is empty and you can move any neighbouring movable
> square into the empty position, in effect exchanging empty
> square with one of the neighbours.  The goal it to put
> squares in order.  But there are to classes of positions,
> one class which can be ordered and the second one where the
> best you can do is to get at distance of one exchange to
> the ordered state.  Apparently, all puzzles are sold in
> unsolvable position.  OK, all such puzles (a few) that I
> got in my hand were in such state.  One can disassemble
> the puzzle and put it back in another state, but I doubt
> the users did it.  Rather, I think that manufacturers
> decided that they can sell more selling them in unsolvable
> state.

I had one of these as a kid.  I came up an algorithm to always end up
with the picture correct.  Mine was a picture, and not numbers, but the
algorithm is still the same -- assuming we're talking about the same
puzzle.

After coming up with the algorithm it was trivial but tedious to solve
any of these -- I suppose I still remember it -- no matter how large the
grid is.  It's the last few pieces that most people struggle with, and
it's "easy" to end up with an unsolvable situation and give up.

Thank you, because now I remember the -- probably -- first algorithm I
came up with on my own.  That was before I learned how to use computers.

I didn't spell out the algorithm, because I believe most people find
these more fun if they don't know the solution.  And other people in
sci.electronics.design may want to exercise the gray cells and see if
they discover it on their own.
-- 
Johann | email: invalid -> com | http://www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | via Easynews.com
https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:;
Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Technical Details
Message-ID: <MljKS.4709$L51.372@fx03.ams4>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!peer04.ams1!peer.ams1.xlned.com!news.xlned.com!fx03.ams4.POSTED!not-for-mail
References: <11ctgil$1ll56$1@dont-email.me> <11d4l69$nmdf$1@paganini.bofh.team> <11d5h3q$clc0$1@dont-email.me> <11dbb79$1j1jt$1@paganini.bofh.team> <11dbhfm$2hd3d$1@dont-email.me> <11dcen5$1ku24$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!peer04.ams1!peer.ams1.xlned.com!news.xlned.com!fx03.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Puzzles
Newsgroups: sci.electronics.design
References: <11ctgil$1ll56$1@dont-email.me>
 <11d4l69$nmdf$1@paganini.bofh.team> <11d5h3q$clc0$1@dont-email.me>
 <11dbb79$1j1jt$1@paganini.bofh.team> <11dbhfm$2hd3d$1@dont-email.me>
 <11dcen5$1ku24$1@paganini.bofh.team>
Content-Language: en-US
From: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid>
Organization: Watcom Pro Ltd.
In-Reply-To: <11dcen5$1ku24$1@paganini.bofh.team>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 39
Message-ID: <MljKS.4709$L51.372@fx03.ams4>
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sun, 15 Nov 2026 22:30:03 +0800
X-Received-Bytes: 3053