Skip to content

Sync with upstream 0.20.0 (#28) - #29

Merged
cmena92 merged 17 commits into
mainfrom
sync/0.20.0
Oct 29, 2026
Merged

cmena92 merged 17 commits into
mainfrom
sync/0.20.0

Conversation

@cmena92

@cmena92 cmena92 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Closes #28

Brings the fork from upstream 0.19.0 to 0.20.0 (16 commits), so the companion's final integration (#10) and the next release land on 0.20.

What comes in

  • Two new games: Lights Off and Corridor (50 games, plus the companion).
  • A menu filter by how many people play on one phone, a floating bottom bar, and an install bar for the web.

Changes of our own

  • Store descriptions: only the opening line conflicted; it keeps the Capybara brand. The new games' lines came in cleanly. The German and Persian opening lines are shorter, so each description stays within Play's 4,000 characters with the companion's line (3,995 and 3,978).
  • "people": 1 on the companion's entry, which 0.20 requires of every entry.
  • No share text says 'چوگان · '. git diff upstream/main -- www/lib/chogan.js www/lib/chogan.css www/index.html shows only the brand (21 lines each way).
  • Upstream's v0.20.0 tag is in the fork, pushed with release.yml disabled, so nothing was published.

Checks run locally

  • node tools/test.js: 5,610 green.
  • node tools/test-companero.js: 151 green.
  • ./tools/browser-check.sh: 52 of 52.

Merge with a merge commit, not squash, to keep upstream's history.

margani and others added 17 commits October 28, 2026 17:26
The skyline layer was cached under scale, round, holes and theme. A new
match is round 1 with no holes again, so the previous match's skyline
stayed on screen while the gorillas stood on the new city's roofs. The
key now names the city by its first building's seed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH
…city

Gorillas: draw each new match's own city (choganhq#552)
…hq#556)

Beside the frame the loose pieces sit in a few columns, but up and down
did nothing there and left and right ran on into the next row. They now
move like the cursor in the frame: up and down by a row, left and right
along the row, stopping at its ends.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH
…rrows

Jigsaw: arrow keys in the loose pieces move by row and column (choganhq#556)
Edge to edge, the bar stretched across a whole tablet. It now floats
12px off the bottom, centred, at most 480px wide, rounded, with a soft
tint behind the selected tab. A phone on its side keeps the full-height
rail from choganhq#538.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH
When the browser offers to install the web app (beforeinstallprompt, in
Chrome and Edge), the menu shows a bar like the update bar with an
Install button that opens the browser's own question. The cross is
remembered and the bar never shows again. It never shows inside the
Android app, gives way to a ready update, and goes once installed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH
Web menu: an install bar the cross hides for good (choganhq#557)
A player asked for Lights Out (a trademark, so Lights Off / خاموشی).
Pressing a light switches it and its four neighbours; put them all out.
3×3, 5×5 and 7×7 boards are made by pressing lights on a dark board,
so every one can be solved, and an exact GF(2) solver gives the fewest
moves each needs (the smallest of 5×5's four solutions). The fewest
moves earn three stars and extra moves only cost stars. Undo, restart,
keyboard play, a daily 5×5 and three awards. The store texts are
trimmed to make room.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH
Lights Off: a new game, the puzzle known as Lights Out (choganhq#554)
A row under the category chips: any number, 1 player, 2 players or 3–4
players. Each game in games.json now says how many people can play it
together on one phone; 1 lists the solo games, 2 and 3–4 the games that
take at least that many. It works with the categories, is remembered,
steps aside during a search like the categories do, and says so when
nothing fits. Age-based difficulty was not taken up (owner, 2026-10-28).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH
Menu: filter games by how many people play on one phone (choganhq#561)
The owner asked for the wall-and-path game from a board game's booklet;
its names are trademarks, so Corridor / راهرو, drawn in our own look.
One pawn and ten walls each: move a cell, or place a two-cell wall that
may never shut anyone off; jump over the other pawn, or step beside it
with a wall behind. First to the far row wins; the flag game behind the
gear also wins beside a flag at the edge, the centre or both. Against a
bot at three levels or two players on one phone, undo, keyboard play, a
daily game against the medium bot and three awards. A wall is shown
first and placed on a second tap, and the side keeps the room for its
tools so the board never moves under the finger in between.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH
Corridor: a new game of walls and paths on 9×9 (choganhq#553)
Lights Off (choganhq#554) and Corridor (choganhq#553); Gorillas new match drew the old
city (choganhq#552); Jigsaw arrow keys in the loose pieces (choganhq#556); a floating
menu bar (choganhq#559) and a players filter (choganhq#561).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH
Two new games (Lights Off and Corridor), a menu filter by how many people
play on one phone, a floating bottom bar and an install bar for the web.

- The store descriptions keep the Capybara brand; the new games' lines
  came in without conflict. The German and Persian opening lines are
  shorter so each description stays within Play's 4000 characters with
  the companion's line.
- The companion's entry says "people": 1, as 0.20 asks of every entry.
@cmena92
cmena92 merged commit 34e2414 into main Oct 29, 2026
3 checks passed
@cmena92
cmena92 deleted the sync/0.20.0 branch October 29, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sincronizar con el original 0.20.0

2 participants