moss:initial_notes_for_v0.1
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| moss:initial_notes_for_v0.1 [2026/06/26 10:14] – appledog | moss:initial_notes_for_v0.1 [2026/06/26 10:21] (current) – appledog | ||
|---|---|---|---|
| Line 78: | Line 78: | ||
| The bridge is a one-time **ticket**: | The bridge is a one-time **ticket**: | ||
| - | # You log in on the web → a normal | + | # You log in on the web and the PHP session marks you as authenticated. |
| - | # When the game page ('' | + | # When the game page ('' |
| # If you //are// logged in, the page mints a random **ticket**, stores it in a '' | # If you //are// logged in, the page mints a random **ticket**, stores it in a '' | ||
| # The browser opens the WebSocket and **its very first message is** '' | # The browser opens the WebSocket and **its very first message is** '' | ||
| Line 141: | Line 141: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| - | | + | |
| * '' | * '' | ||
| * '' | * '' | ||
| Line 153: | Line 152: | ||
| * Vendored **Bootstrap 5** (CSS/JS) and a couple of jQuery helpers, used only by the web pages. Static assets. | * Vendored **Bootstrap 5** (CSS/JS) and a couple of jQuery helpers, used only by the web pages. Static assets. | ||
| - | === Known gaps and next steps | + | === Immediate improvements |
| - | * No brute-force | + | v0.1 is a proof-of-concept / prototype. It's the basis for the whole system; the structural bones of it all. So there is naturally a lot of room for improvement. |
| + | * No rate-limiting on login/ | ||
| + | * No filters on chat. | ||
| * The WebSocket ticket is reusable within a short TTL (convenient for reconnects; could be hardened to strictly one-time). | * The WebSocket ticket is reusable within a short TTL (convenient for reconnects; could be hardened to strictly one-time). | ||
| * Half-open sockets aren't actively reaped yet (a heartbeat/ | * Half-open sockets aren't actively reaped yet (a heartbeat/ | ||
| - | * The world is a 4-room placeholder; | + | |
| - | * Legacy files noted above are candidates to remove or adapt. | + | Lots of other little things are sure to come out under analysis. But as milestones go, v0.1 is a big one. |
| + | |||
| + | < | ||
moss/initial_notes_for_v0.1.1782468844.txt.gz · Last modified: by appledog
