Point at it: the remaster plays with the mouse

Click a sector to warp to it, a raider to put a torpedo through it, a
starbase to moor alongside, or a quadrant on the chart to cross to it.
Hovering draws the course and says what it will cost first, which is also how
anybody works out that course 3 is north.

None of it is a new move. A click becomes the same course and warp factor the
prompt takes, at the same one decimal place, and the log writes the questions
and the answers as though they had been typed. The keyboard still works on
both skins.

The conversion is the inverse of a piecewise-linear compass, so it is found by
searching the eighty-one courses a player could actually type rather than by
inverting eight octants of algebra. It is tested by flying it: all 4,032
ordered pairs of sectors in a quadrant, turned into a course and a warp and
flown by the engine's own arithmetic, have to land on the sector that was
clicked. They do.

NAV, TOR and SRS leave the remaster's command row, because each of them is
now a thing on screen to click. What is left becomes an action bar, and the
two that spend energy ask how much as a row of amounts rather than a second
prompt.
This commit is contained in:
2026-09-08 23:53:23 -07:00
parent d623315517
commit c00772058e
7 changed files with 631 additions and 38 deletions
+3 -2
View File
@@ -93,6 +93,7 @@ off the bottom by a better one.
| `src/game/constants.ts` | every number, and every word the machine says |
| `src/game/galaxy.ts` | the compass, the scatter, laying out a quadrant |
| `src/game/engine.ts` | the rules: warp, beams, torpedoes, being shot at |
| `src/game/aim.ts` | turning a click into a course and a warp factor |
| `src/game/reducer.ts` | phases, and the only place a turn changes hands |
| `src/audio/` | the synth, and the two bands written for it |
| `src/components/` | the paper, the bridge, the console, and the screens either side |
@@ -100,5 +101,5 @@ off the bottom by a better one.
`npm test` proves the parts that are arithmetic rather than judgement: that
the compass closes, that a scattered galaxy is always worth flying, that a
warp stops at the rim and short of anything in the way, that every way a
patrol can end, ends it, and that every note in every tune is one the synth
can find.
patrol can end, ends it, that every click lands where it was aimed, and that
every note in every tune is one the synth can find.