Stratégia: ako poskladať pätnástku

Náhodným klikaním sa pätnástka poskladá len zriedka. S jednoduchým postupom ju však zvládne každý – a s trochou praxe aj rýchlo a na málo ťahov.

Základná myšlienka: po častiach

Celá plocha naraz je na premýšľanie príliš zložitá. Preto ju skladaj po častiach a každú hotovú časť už nechaj na pokoji. Osvedčené poradie je:

  1. prvý riadok (1, 2, 3, 4),
  2. druhý riadok (5, 6, 7, 8),
  3. ľavé dva stĺpce zvyšku (9 a 13, potom 10 a 14),
  4. posledný štvorec 2 × 2 (11, 12, 15).

Hotové riadky sa už nehýbu a zvyšok plochy sa postupne zmenšuje. Ku koncu tak máš stále menej štvorcov a viac voľnosti, kde ich presúvať.

Prvé dva štvorce riadku

Štvorce 1 a 2 sa dajú na miesto jednoducho: prisuň prázdne miesto k štvorcu, ktorý chceš presunúť, a posúvaj ho krok po kroku k cieľu. Štvorec sa hýbe vždy tam, kde je prázdne miesto, takže prázdne miesto musí „obiehať“ okolo neho na stranu, kam ho chceš posunúť. Pozor, aby si pri tom nepohol už hotovým štvorcom.

Trik na koniec riadku

Posledné dva štvorce riadku (3 a 4) sa po jednom vložiť nedajú. Keď daš na miesto trojku, pri vkladaní štvorky ju zase vytlačíš. Preto sa vkladajú spolu, jedným pohybom:

  1. Daj štvorec 4 na miesto trojky (tretie políčko riadku).
  2. Daj štvorec 3 tesne pod neho.
  3. Prisuň prázdne miesto do pravého horného rohu.
  4. Posuň 4 doprava a potom 3 hore. Riadok je hotový.

Strategy: how to solve the 15 puzzle

Random clicking rarely solves the 15 puzzle. With a simple method anyone can do it – and with a little practice also quickly and in few moves.

The main idea: part by part

The whole board at once is too complex to think about. So solve it part by part and leave every finished part alone. The proven order is:

  1. the first row (1, 2, 3, 4),
  2. the second row (5, 6, 7, 8),
  3. the two left columns of the rest (9 and 13, then 10 and 14),
  4. the last 2 × 2 square (11, 12, 15).

Finished rows no longer move and the rest of the board gets smaller. Towards the end you have fewer tiles and more room to move them.

The first two tiles of a row

Tiles 1 and 2 are easy: bring the empty space next to the tile you want to move and push it towards its place step by step. A tile always moves into the empty space, so the empty space has to “walk around” the tile to the side you want to push it to. Take care not to move a finished tile on the way.

The end-of-row trick

The last two tiles of a row (3 and 4) cannot go in one by one. Once 3 is in place, putting in 4 pushes it out again. So they go in together, in one movement:

  1. Put tile 4 where 3 belongs (the third cell of the row).
  2. Put tile 3 right below it.
  3. Bring the empty space to the top right corner.
  4. Slide 4 to the right, then 3 up. The row is done.
1. Štvorec 4 na miesto trojky, 3 pod neho1. Tile 4 where 3 belongs, 3 below it
2. Posuň 4 doprava2. Slide 4 to the right
3. Posuň 3 hore – riadok je hotový3. Slide 3 up – the row is done

Najťažší je krok 2 – dostať trojku pod štvorku bez toho, aby si pokazil prvé dva štvorce. Pomôže, keď trojku pripravíš skôr, kým štvorka ešte nie je na mieste, a obe potom dotiahneš spolu. Druhý riadok sa skladá rovnako: 5 a 6 na miesto, potom 8 na miesto sedmičky, 7 pod ňu a nakoniec 8 doprava a 7 hore.

Trik na koniec stĺpca

Po dvoch hotových riadkoch ostanú dva riadky. Tie sa už neskladajú po riadkoch, ale po stĺpcoch zľava – inak by si nemal kam presúvať štvorce. Trik je rovnaký, len otočený o 90°:

  1. Daj štvorec 13 na miesto deviatky.
  2. Daj štvorec 9 tesne vedľa neho vpravo.
  3. Prisuň prázdne miesto do ľavého dolného rohu.
  4. Posuň 13 dole a potom 9 doľava. Stĺpec je hotový.

The hardest part is step 2 – getting 3 below 4 without breaking the first two tiles. It helps to prepare 3 early, while 4 is not yet in place, and then bring both in together. The second row works the same way: 5 and 6 in place, then 8 where 7 belongs, 7 below it, and finally 8 right and 7 up.

The end-of-column trick

After two finished rows, two rows are left. They are no longer solved row by row but column by column from the left – otherwise there would be no room to move tiles. The trick is the same, just turned by 90°:

  1. Put tile 13 where 9 belongs.
  2. Put tile 9 right next to it.
  3. Bring the empty space to the bottom left corner.
  4. Slide 13 down, then 9 to the left. The column is done.
1. Štvorec 13 na miesto deviatky, 9 vedľa neho1. Tile 13 where 9 belongs, 9 next to it
2. Posuň 13 dole2. Slide 13 down
3. Posuň 9 doľava – stĺpec je hotový3. Slide 9 to the left – the column is done

Potom rovnako štvorce 10 a 14: 14 na miesto desiatky, 10 vedľa neho, potom 14 dole a 10 doľava.

Posledné štvorce

Nakoniec ostane štvorec 2 × 2 so štvorcami 11, 12, 15 a prázdnym miestom. Tu už netreba nič vymýšľať: krúž prázdnym miestom stále jedným smerom okolo tohto štvorca. Štvorce sa pri tom otáčajú a po niekoľkých ťahoch sú všetky na mieste. Ak by sa točili donekonečna, niekde vyššie je chyba – no v tejto hre k tomu nedôjde, lebo každá pozícia je riešiteľná.

Then tiles 10 and 14 the same way: 14 where 10 belongs, 10 next to it, then 14 down and 10 left.

The last tiles

Finally a 2 × 2 square with tiles 11, 12, 15 and the empty space is left. No more thinking is needed: circle the empty space around this square, always in the same direction. The tiles rotate and after a few moves they are all in place. If they kept rotating forever, something above would be wrong – but in this game it cannot happen, because every position can be solved.

Posledný štvorec 2 × 2: krúž prázdnym miestomThe last 2 × 2 square: circle the empty space

Tipy na lepšie skóre

Tips for a better score