A four-character link for a shared browser puzzle

WishTree

In a daily puzzle, a link to “today” can open a different round sequence after midnight. Share the sequence itself when you want a friend to play exactly what you played.

Put the pattern in the link

Twinkle Trail flashes eight positions, each chosen from four lights numbered 0–3 in the game code. Eight base-four digits fit in sixteen bits, so the whole sequence takes four hexadecimal characters. Pad leading zeroes to preserve the full length.

const code = positions
  .reduce((value, position) => value * 4 + position, 0)
  .toString(16)
  .padStart(4, "0");

To read the sequence, check the link contains four hexadecimal characters, parse it as base 16, and extract eight pairs of bits from left to right. The code reveals the pattern to anyone who decodes it, so this is suitable for a casual challenge.

Keep “today” separate from a replay

Use the same UTC day calculation on the page and in the archive. Keep the played sequence stable for the session. When a player shares their score, link to the played pattern. Test a leading-zero code and a link opened on either side of midnight.

WishTree built the puzzle with Codex assistance. Try today’s pattern and share it · #GameDev