YayPlays

How to play

Day & Night Loop: Choose a level
1Choose a level
Day & Night Loop: In play
2In play

Controls

TapDrag
  1. Drag from cell to cell to draw the loop, and drag over it to erase.
  2. Tap between two cells to mark a cross.
  3. The loop must be one closed line with no branches and must enter every region exactly once.
  4. In each region it passes all the suns and no moon, or all the moons and no sun.
  5. Along the loop, sun regions and moon regions must take turns.

Day & Night Loop: all 30 skies completed without a hint, 90 of 90 stars

All 30 puzzles were completed without a hint: 90 of 90 stars, 822 loop segments drawn. Our first script version drew a wrong loop on level 13 twice: it allowed a region to take a type it had no circle of, a rule it had missed. The second version, with that rule added, played all 30 levels at the first try. Every loop came from our own search, not the game's stored answer, solver or hint. The loop was drawn with the keys, one segment about every 0.05 seconds, far quicker than reasoning by hand.

Day, night, day, night

  • Draw one closed loop through cell centres that enters every outlined region exactly once and leaves it once.
  • In each region the loop passes either all the suns and no moon, or all the moons and no sun; a region always takes a type it has circles of.
  • Around the loop the regions alternate: sun region, moon region, sun region, back to the start. Same-sky regions joined by the loop spark red.
  • Drag to draw (over the loop to erase), tap between cells for a cross; keys: arrows move, W/A/S/D draw a segment, U undo, H hint. Stars: no hint three, one or two hints two, more one.
Level 1 halfway: 1 of 4 regions complete, the loop turning night to day.
Level 1 halfway: 1 of 4 regions complete, the loop turning night to day.

How the loops were found

The script read the regions and the suns and moons and started a path on a circle in the smallest region. Step by step it extended the path: inside a region it could not touch a circle of the other type; leaving a region required every circle of that region's type to be on the path; the next region had to take the opposite type and hold at least one circle of it; no region could be entered twice. When the path came back to its start after visiting every region with all rules met, the loop was complete; any broken rule sent it back one step.

LevelsBoardRegionsSuns and moonsLoop length (cells)Search steps
1-65×5 / 6×64 / 4 / 4 / 6 / 6 / 89 / 10 / 9 / 12 / 11 / 1514 / 18 / 14 / 20 / 22 / 24156 / 144 / 19 / 40 / 35 / 111
7-126×6 / 7×76 / 8 / 6 / 8 / 6 / 89 / 14 / 15 / 15 / 14 / 1424 / 22 / 20 / 26 / 24 / 3051 / 43 / 21 / 3,477 / 1,541 / 127
13-187×78 / 10 / 6 / 8 / 10 / 816 / 18 / 17 / 15 / 18 / 1526 / 30 / 24 / 26 / 28 / 28815 / 1,801 / 3,780 / 803 / 328 / 90
19-248×810 / 8 / 8 / 10 / 10 / 1221 / 22 / 19 / 23 / 22 / 2732 / 30 / 34 / 32 / 28 / 383,512 / 1,245 / 587 / 754 / 311 / 1,126
25-308×810 / 8 / 10 / 10 / 8 / 1019 / 21 / 22 / 22 / 22 / 2936 / 34 / 38 / 32 / 32 / 36588 / 353 / 66 / 2,102 / 3,089 / 861
Level 15 halfway: 2 of 6 regions complete.
Level 15 halfway: 2 of 6 regions complete.

What the numbers show

The 5 by 5 levels needed at most a few hundred search steps. The longest searches came on 7 by 7 and 8 by 8 boards: level 15 took 3,780 steps, level 19 took 3,512 and level 10 took 3,477. The loops grew from 14 cells on the first level to 38 on the longest 8 by 8 ones.

Level 30 halfway: 4 of 10 regions complete.
Level 30 halfway: 4 of 10 regions complete.

Solving by hand

Start with regions that hold only one type of circle: their type is fixed, so their neighbours along the loop must be the other type. A region with circles of both types will skip one kind completely, so the loop must route around those cells. Count the circles you still owe a region before you leave it; leaving early can never be repaired, because the region cannot be entered again.

Level 30: SKY COMPLETE! in 7 s, three stars.
Level 30: SKY COMPLETE! in 7 s, three stars.

Questions

Why do two regions spark red?
The loop joins two regions of the same sky; they must alternate sun and moon.
Must the loop pass every circle?
No. In each region it takes every circle of one type and none of the other.
How far did our run get?
All 30 puzzles completed without a hint, 90 of 90 stars.

· Corrections log

Suggest an idea or report a problem

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