Move to fukamachi/myway for routing
Update README and LICENSE
Move all session-specific code to its own module
The session module exposes only a single clack app that can be built
into the larger ur-game web app.
backend: Reorganize, rename, document some code
ur-game.ros: alter dependency-getting
Fix typo to ignore ur-game binary
Enhance debugging to get a better grasp
Split handle-message function with Command Pattern
Used a dispatch table and a macro to define functions to add to the
table, so that the logic that handles each request is split into
separate functions.
Redraft API plan
I think by looking how the code should be shaped, I could make a better
JSON protocol for HATEOAS.
Add deploy sourcehut build
After a bit of tinkering, this buildscript compiles Ur into a binary
with roswell, ships it off with htdocs to the production server, and
restarts the service.
Refresh ghmirror sourcehut build secret
Switch launch endpoint from clackup to ros script
With a Roswell script, I'm now able to distribute a binary via `ros
build ur-game.ros` and send that over along with the htdocs.
Add TODO of things to be done.
Reorg API plan
There's mainly two places that events stem from: the game session, and
games themselves. Organizing them this way may make setting up events
easier.
Revise JS, API docs
Hearbeat and ACK's are moved to the lower-level WebSocket ping
frame. The game board is generified into a simple 2D array instead of
broken up into paths, so that the logic of the board rules are kept
server-side.