space-browser / commits / a3bfce9
chore: docs
@@ -0,0 +1,12 @@
1+# Space browser
2+
3+A web browser game implemented in Go and TS.
4+
5+## Project rules
6+
7+- Read `./GAME_DESGIN.md` before making any changes.
8+
9+### Verification
10+
11+- Always verify your work as a real user, using `agent-browser` and real browser actions, not eval scripts.
12+- Your changes and the core loop must be verified.
@@ -122,23 +122,28 @@ The client draws the whole world on one Three.js canvas (the cel/glyph raster, a
122122
123123 #### HUD
124124
125+> Minimal UI, all help text and help hints live in the `?` overlay. No duplicate information, empty UI should be hidden.
126+
125127 PLayer, location and ship details on the top left corner.
126128 Radio conversation input and log on the bottom left corner.
127129 Modals/Overlays are a sidebar on the right, not over the action/player ship.
130+Everything is sleek and animated discretly, suble glows and pulses.
128131
129-- **Hit Points** - each ship piece, their quality and hp.
132+- **Hit Points** - each ship piece, their quality and current hp/max as visual progress bars. They pulse when low.
130133 - **Fuel meter** — bar with a trailing ghost bar and the `FUEL n/cap` label; pulses when low.
131-- **Cargo slots** — one cell per item (`CARGO n/cap`): ore glyph, or a piece glyph with its stars; right-click ejects. (can pick up again after a small delay).
132-- **Radio** — rolling chat log tagged by channel and sender, with the radio input line.
134+- **Cargo slots** — one cell per item (`CARGO n/cap`): ore glyph, or a piece glyph with its stars; right-click ejects. (can pick up again after a small delay or attach it).
135+- **Radio** — rolling chat log tagged by sender, with the radio input line.
133136 - **Target readout** — in-combat/current planet/system name, and ATK/DEF/SPD.
134137 - **Feedback** — cursor hover hint, transient toasts, in-world move/route/hover markers.
135138 - **Overlays** — help (`?`), confirm and death modals, all custom-styled.
136-- **New user experience** - The user is presented with a screen to write his callsign (required, must not be duplicate with existing playing callsings), and their starting ship piece - step 1. of gameloop.
139+- **New user experience** - The user is presented with a screen to write his callsign (required, must not be duplicate with existing playing callsings), and their starting ship piece - step 1. of gameloop. The camera is locked to the spawn system until they deploy and start the game.
137140
138141 The player doesn't need a special edit screen for attaching/detaching/reconfiguring their ship. It's done with mouse, context menus in the live view.
139142 Right clicking on your ship pieces opens a context menu to detach the piece. The the user can reattach using context menus too and draging the piece to the correct place. Right clicking a loose ship piece gives options to attach, which initates the drag to connect to the graph, or add to cargo.
140143
141144 Self destruct is an option by right clicking the initial ship piece, and needs a confirmation.
145+
146+Mousing over a game element shows a discreet tooltip that doesn't conflict with the dropdown menu.
142147
143148 #### ASCII raster renderer