Jaap's Puzzle Page

Shifty

Shifty

Shifty is an electronic puzzle by Tiger Electronics from 1988. It has an LED display that shows a 5×5 grid of squares, and which is also touch-sensitive so that you can press any of the squares. There is also a separate numerical display that shows the number of moves performed. The 5×5 board should be considered two-sided, with only the front normally being shown. At the start all the squares on the front are white, and all the squares on the unseen back of the board are black. A move consists of shifting a row horizontally or a column vertically in either direction. The squares that shift off one side of the board appear on that side of the hidden back of the board, and vice versa. It is as if the 10 squares involved form a loop wrapped around the board.

There is a button (SEE THRU) that you can press that makes the screen display the hidden side of the board, as if you could see through the front to the layer underneath. A move is performed by pressing a square (making it blink) and then pressing its destination. In this way you can shift a row or column by up to 4 places in a single move.

There are 25 built-in puzzles. The first 10 puzzles have a pattern that you are supposed to match on the front of the board (the back is allowed to be anything). In the next 10 puzzles patterns for both the front and back are given, and they are negative images of each other (i.e. black and white swapped). In the last 5 puzzles the goal patterns for front and back have no relation.
To select a puzzle, hold down the SELECT/VIEW button and press one of the squares of the board. If you press the SELECT/VIEW button during play it displays the goal patterns.

Finally it is also possible to play a random game. Random moves are performed when you keep down the SCRAMBLE button. In this case the aim is to restore it to the start position (front all white, back all black).

Here is an overview of the buttons:

The number of positions:

There are 50 squares on the board (5×5 on both sides) and half of them are black and half of them are white. This gives 50! / 25!2 = 126,410,606,437,752 possible positions. All of these are achievable.

The built-in puzzles

Here are pictures of the 25 built-in puzzles:

1.
XXXXX
..X..
..X..
..X..
..X..
2.
X...X
.....
.....
.....
X...X
3.
X...X
X...X
X...X
X...X
XXXXX
4.
XXXXX
X....
XXXXX
....X
XXXXX
5.
..X..
..X..
XXXXX
..X..
..X..
6.
.XXX.
.X.X.
.X.X.
.X.X.
.XXX.
7.
.....
.....
.XXX.
.....
.....
8.
XXXXX
....X
XXX.X
XXX.X
XXX.X
9.
.....
X...X
XX.XX
X...X
.....
10.
.XXX.
X.X.X
XX.XX
XX.XX
XX.XX
11.
.....
.....
..X..
.....
.....
XXXXX
XXXXX
XX.XX
XXXXX
XXXXX
12.
.X.X.
X.X.X
.X.X.
X.X.X
.X.X.
X.X.X
.X.X.
X.X.X
.X.X.
X.X.X
13.
XXXXX
X...X
X...X
X...X
XXXXX
.....
.XXX.
.XXX.
.XXX.
.....
14.
.XXX.
X...X
X...X
X...X
.XXX.
X...X
.XXX.
.XXX.
.XXX.
X...X
15.
XX.XX
X.X.X
.XXX.
X.X.X
XX.XX
..X..
.X.X.
X...X
.X.X.
..X..
16.
.XXX.
XX.XX
X...X
XX.XX
.XXX.
X...X
..X..
.XXX.
..X..
X...X
17.
X....
.X...
..X..
...X.
....X
XXXX.
XXX.X
XX.XX
X.XXX
.XXXX
18.
X...X
.....
..X..
.....
X...X
.XXX.
XXXXX
XX.XX
XXXXX
.XXX.
19.
X...X
.X.X.
..X..
.X.X.
X...X
.XXX.
X.X.X
XX.XX
X.X.X
.XXX.
20.
.....
XXX.X
XX.XX
X.XXX
.....
XXXXX
.X...
..X..
...X.
XXXXX
21.
..X..
..X..
..X..
..X..
..X..
XXXXX
XXXXX
.....
XXXXX
XXXXX
22.
X....
.X...
..X..
...X.
....X
XX.XX
XXXXX
.X.X.
XXXXX
XX.XX
23.
X...X
.....
..X..
.....
X...X
XXXXX
XX.XX
X...X
XX.XX
XXXXX
24.
.XXX.
.X.X.
.X.X.
.X.X.
.XXX.
X...X
.XXX.
.XXX.
.XXX.
X...X
25.
..X..
..X..
XXXXX
..X..
..X..
.XXX.
X.X.X
XX.XX
X.X.X
.XXX.

Solution:

Notation:

Number the rows 1 to 5 from top to bottom, and label the columns from left to right with the letters A to E. The directions Up, Down, Left, and Right will be denoted by the letters u, d, l, r. Any move can then be denoted by the row or column letter, a direction letter, and a number indicating the distance moved. For example 3r2 means moving the middle row two squares to the right.
Sometimes a distance of 5 is used, and in practice that has to be done in two moves.

Solution:

3-cycle

If x is any of the three middle rows, then the 3-cycle of pieces shown in the picture on the right can be achieved by doing the move sequence Eu1 xr2 Ed1 xr1 Eu1 xl1 Ed1 xl2 twice. With this move sequence it becomes easy, if tedious, to solve any position.

Solutions to the built-in puzzles:

Not all of these solutions are optimal, so let me know if you find better ones.

  1. 1r2 Cd5 1r2
  2. 5r4 Dd1 5l2 1r1
  3. 5l4 1r1 Eu4 Ad4, or Ed5 5r5 Ad5
  4. 1r4 Eu3 Ad2 5l4 3r4 1r1
  5. Cd2 3r5 Cd2
  6. Bd4 Du4 5l4 1r4
  7. Ed3 3r5 Eu3
  8. 1r4 Ed3 3r3 4r3 5r3 Ed3 1r1
  9. Ed4 1r1 3l3 Ad3
  10. Eu4 Du3 Bu3 1r4 Au4 Cd3
  11. 3r3 Cd2 3l2 Cu2
  12. Dd5 Bd5 4r1 2r1
  13. Ad4 Eu4 5l4 1r4
  14. 5r5 1r5 Ad5 Ed5
  15. Dd4 Bu4 4r1 Cu5 5r2 1l2 2l1
  16. Dd2 Bu2 5r4 4r2 2l2 Au4 1l4 Ed4
  17. 5l2 1r2 Eu4 3l5 Dd1 Bu1 Ed4
  18. 3r2 Ad3 Eu3 3l2 1l1 Eu3 Au1 Ed1
  19. Bd4 Du4 5r1 1l1 Eu4 3l5 Ed4
  20. Cu4 4r1 2l1 Au4 3l4 Cu3 3l1 Ed4
  21. Ed3 1r3 3l3 Ed3 3r1 Cu4 1l2 Ed4
  22. 3l3 Dd1 5r1 Eu3 1r3 Ed3 3l4 Bu1 Cu4 5l3 3r4 Dd2 3l4 5l1 Du2 5r1
  23. Ed1 Cu4 5l2 Cu3 5r4 1r1 Du1 3l3 Cu3 3l1 Ed2 3l3 Cd3 Eu1 5l1 Cu3 Ed1 5r1 Cd3 Eu1
  24. 5l4 1l4 Au1 Du4 3l2 1l2 Eu3 2l1 Bu2 4r4 Ed4 4l2 Bd4 4l2 Ed2 Bd4 1l1 Ed4 5l4 Bu4 5r4
  25. Cd3 4l4 Au1 Eu1 5l2 Du2 4l4 Bd2 3l3 Bu3 Du3 5r4 3r4 Bu1 3l3 5l4 Bu3 Cu2 3r4 5r4 Cd5