Commit graph

14 commits

Author SHA1 Message Date
Stephen Seo 2b03d39737 Impl being able to debug locally
CORS (Cross-Origin Resource Sharing) prevented the application's
networked (multiplayer) support from working locally. The
debug_local_testing branch has changes to allow running the game
locally. The backend must be run with `cargo run --release` or `cargo
run`, and the frontend must be run with `trunk serve`, and the
browser(s) must open `http://localhost:8080/`.
2022-09-20 19:26:50 +09:00
Stephen Seo 74ca3fd696 Add GPL3 Licence headers to sources 2022-04-06 20:49:54 +09:00
Stephen Seo 8c84aae173 605.607 WIP! working get-id and disconnect
The frontend "server" and backend server must be served via the same
port/address. This can be done by using nginx as the server, and using
reverse-proxies from nginx to the frontend and backend servers.
2022-04-06 13:39:12 +09:00
Stephen Seo 8712d4cd8b frontend: WIP! request id in progress
Frontend is able to successfully send a Request, but is failing to
get/parse the Response.
2022-04-05 18:16:04 +09:00
Stephen Seo 2a7a961c9c Minor refactorings 2022-04-01 20:04:40 +09:00
Stephen Seo ec7f664c81 Symlink/adapt shared code from frontend to backend 2022-03-29 14:45:49 +09:00
Stephen Seo fcd20af9bd backend: Use enum to handle multiple db requests 2022-03-28 16:31:53 +09:00
Stephen Seo 6c47ce948b Impl graceful shutdown of backend on failure 2022-03-18 23:43:15 +09:00
Stephen Seo 5a0c0696d1 Impl enough backend to assign ids to players 2022-03-18 19:29:38 +09:00
Stephen Seo 2cedc0804f Refactoring/cleanup of backend 2022-03-16 13:10:21 +09:00
Stephen Seo b9921e6f47 Have backend always return JSON String 2022-03-16 13:09:07 +09:00
Stephen Seo 97ca4adecc Refactorings/fixes for back-end 2022-03-16 12:31:18 +09:00
Stephen Seo 7c4d38549f Update backend protocol, skeleton backend project 2022-03-16 12:26:18 +09:00
Stephen Seo 3d61c0d626 Back-end skeleton project, backend protocol spec 2022-03-14 14:33:51 +09:00