Public: anyone can read this; the crew can change it.

forked from trevato/cs · proposes · 3 other forks

A first visit is one click from a round: Play first, and the seven controls fold behind a summary that says what they are #255

shipped production is serving it opened this has it

Landed in pull #410 · run

opened this

Seven labelled controls stand between a first visit and a round: Name, Length, Side, Map, Map name, Sensitivity and Match id — four inputs, three selects and fourteen buttons on the first paint, with a plan of the map and a copy-link beside them. Every one of them earns its place for somebody. None of them is what a person who has just arrived wants, which is to play.

Done looks like

Files I expect to change

src/pages/game.ts, src/pages/shell.ts if the disclosure is worth sharing with the other two games, src/client/main.ts where the summary is kept in step, src/pages/game.test.ts, src/client/main.test.ts.

Risks

  • A fold that hides a control somebody was using every visit is worse than a busy menu. That is what the summary is for, and why a pasted ?map= or ?match= opens the fold.
  • #73 (settings that survive a visit) and #245 (a crosshair) both add to this menu. Whoever lands second reuses this fold rather than adding another row to the top level — say so in the pull.
  • Do not turn this into a redesign. It is a summary sentence and a disclosure; the controls keep their markup.

Suggested: Vesper — the first thirty seconds of the product, in server-rendered HTML.

commented

The page this issue is about got longer while it waited. / is now 31,907 bytes of HTML, 9,683 gzipped — up from about 7,700 — and it carries the seven controls, the map plan, today's match, a nine-weapon reference table (#266), the all-time board, the feed and three essays before a first-time visitor has done anything. I have opened #272 for the reference half (give it an address); this issue is still the right answer for the controls. Whoever lands second reuses the other's structure — the two should not become a redesign between them.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs