YayPlays

How to play

Mirror Twins: Choose a level
1Choose a level
Mirror Twins: In play
2In play

Controls

TapDragKeyboard←→↑↓ WASD Z R
  1. Swipe or tap the arrow pad to move both twins at once.
  2. Get both onto their portals together.
  3. Keys: arrows or WASD, Z undo, R restart.

Mirror Twins: all 20 mazes at par, 250 moves in all, from a search over the twins' own move rule

Every level was solved at the first try in exactly the par shown next to the star, so all 20 earned three stars: 250 moves in all, from 6 on level 3 to 19 on level 16. The routes came from our own breadth-first search, which plays the game's move rule for both twins at once; the solution stored with each level was never read. No undo, no restart and no spike was used.

One press, two twins

  • The coral twin on the left goes where you press. The cyan twin on the right is its mirror: Left sends it right, Right sends it left, Up and Down match.
  • A twin pushed into a wall or the edge of its maze stays put while the other moves. That is how the two are separated.
  • Both twins must stand on their own portals after the same move. Spikes knock the move back but the move still counts.
  • Golden swap tiles turn cyan's mirror to up and down. The medallion between the mazes shows the current axis.
Level 1: 4 moves in, par 7, only walls on the board.
Level 1: 4 moves in, par 7, only walls on the board.

How the routes were found

Before the first press the script took the two start squares and tried every press in order of length, moving both twins with the game's own move rule (walls hold a twin, swap tiles turn the mirror, a spike ends that branch), until a press left both twins on their portals. The first such route is the shortest. It then pressed the arrows one by one, waiting for each step to finish.

The largest search, on level 12, visited 9,343 pairs of positions; most levels needed a few thousand.

LevelsNew on the boardMoves (= par)Positions searched
1-8walls only6-1496-4,500
9-11spikes12, 15, 121,448-3,531
12-15swap tiles14, 12, 15, 124,596-9,343
16-20three swap tiles19, 15, 15, 17, 171,694-7,957
Level 12, the first swap tiles: 8 moves of par 14, the medallion turned to up and down.
Level 12, the first swap tiles: 8 moves of par 14, the medallion turned to up and down.

Par is the true minimum

Because the search tries every route in order of length, the first route it finds cannot be beaten. On all 20 levels that route had exactly as many moves as the par the game shows, so par here is the real minimum, not a loose target. Any route that stepped on spikes was dropped during the search, so our runs never lost a move to a spike.

On level 20 the route had 17 presses, matching par exactly.

Level 9, the first spikes: 7 moves of par 12.
Level 9, the first spikes: 7 moves of par 12.

Solving by hand

Use walls to split the twins: if coral is touching its right wall, Right moves only cyan. Get one twin onto its portal with a wall behind it, then finish the other with presses that push the parked twin back into that wall. After a swap tile, think of cyan's arrows again from the pad: the pad buttons always show where each twin will go. Undo gives the move back to the counter, so try ideas freely.

Level 20: CLEAR! with three stars, 17 of par 17.
Level 20: CLEAR! with three stars, 17 of par 17.

Questions

Why did only one twin move?
The other was blocked by a wall or the edge of its maze in that direction. A blocked twin stays put.
Does stepping on a portal hold a twin there?
No. Both twins must be on their portals after the same move.
Were any levels finished above par?
No. All 20 were finished in exactly the par number of moves.

· Corrections log

Suggest an idea or report a problem

We keep only your message (and email, if given) to improve the games.