Commit Graph

179 Commits

Author SHA1 Message Date
Stephen Seo 174875b88b back-end/front-end: Rust clippy fixes/refactorings 2022-04-27 16:51:57 +09:00
Stephen Seo 694da61bd6 Update Sprint 6 backlog 2022-04-27 15:17:25 +09:00
Stephen Seo 3172af19f8 front-end/back-end: Tweaks to game AI 2022-04-27 15:02:53 +09:00
Stephen Seo dcc9400483 back-end: Minor fix related to phrase handling
Fixes passing an empty string to the db in (probably) rare cases.
2022-04-27 14:16:34 +09:00
Stephen Seo 665dff94fe back-end: Enforce max-length of user-input phrase 2022-04-27 14:11:02 +09:00
Stephen Seo edd3b0c65c Update Sprint 6 backlog 2022-04-27 13:06:35 +09:00
Stephen Seo 059d0608b6 Impl match players via phrase
Front-end now has option to input phrase on game start.
Fixed back-end accepting empty strings (will treat empty strings as if
no phrase was given).
2022-04-27 12:47:45 +09:00
Stephen Seo f9338d4093 back-end: Impl "phrase", update protocol 2022-04-27 11:42:28 +09:00
Stephen Seo 87d93e5b4f back_end: Update back-end for new "phrase" column 2022-04-27 11:15:53 +09:00
Stephen Seo e060d94186 front-end: Minor fix related to reset button 2022-04-25 15:19:25 +09:00
Stephen Seo 96e28b9d68 Update Sprint 6 backlog 2022-04-25 15:03:37 +09:00
Stephen Seo b26c9ff6d1 front-end: Impl Reset button 2022-04-25 15:02:18 +09:00
Stephen Seo d55e43cc6c Merge branch 'dev' (refactorings) 2022-04-25 13:56:10 +09:00
Stephen Seo b7e0b522af Add "Refactoring and Code Improvement" constraint 2022-04-25 13:55:12 +09:00
Stephen Seo e54d239260 Update user stories, backlogs, prep for Sprint 6 2022-04-25 13:50:06 +09:00
Stephen Seo a7c67fd098 Redo NonTechnical_SimpleModel 2022-04-21 17:04:39 +09:00
Stephen Seo 975a878eb6 Update README.md 2022-04-21 13:38:48 +09:00
Stephen Seo f8da5f4997 Organize plans/specs 2022-04-21 13:37:09 +09:00
Stephen Seo 501ce91ac3 back_end refactorings
Have back_end cleanup stale players/games on an interval, not every
iteration of its loop.

Replace usage of recursion in db_handler.rs .
2022-04-20 14:14:03 +09:00
Stephen Seo 27ff10293a Update release_plan.md 2022-04-20 14:13:45 +09:00
Stephen Seo c98e4723bb Create non-technical release-plan and simple-model 2022-04-20 14:06:26 +09:00
Stephen Seo 73ac99b7cc Rename Scrum artifacts to be more accurate 2022-04-20 14:06:26 +09:00
Stephen Seo 381c5d3b29 Convert spreadsheets to ".xlsx" format (MS Office) 2022-04-16 18:48:57 +09:00
Stephen Seo fdbef5f6df Update product backlog 2022-04-15 17:33:50 +09:00
Stephen Seo 7a4821ac26 Add Sprint 5 Retrospective 2022-04-15 17:32:23 +09:00
Stephen Seo bb7d150196 Update Product backlog 2022-04-10 13:08:52 +09:00
Stephen Seo 6aa2927b42 Update Sprint 5 backlog 2022-04-10 13:04:41 +09:00
Stephen Seo 2aa4200835 Fix not "disconnecting" (hopefully on mobile too)
Sometimes the player would not disconnect from the Network Multiplayer
session on the back-end. Seems to work on PC browsers, not so well with
moblie browsers. This commit hopefully fixes this for mobile browsers.
2022-04-08 12:41:20 +09:00
Stephen Seo 57b782ad4d Update Sprint 5 backlog 2022-04-08 12:24:24 +09:00
Stephen Seo 70eb1ca121 Fix not "disconnecting" on refresh (hopefully) 2022-04-08 12:17:15 +09:00
Stephen Seo ee8187cabb Fix not "disconnecting" on page close/refresh
Hopefully this works this time.
2022-04-08 12:01:15 +09:00
Stephen Seo 284f294c6d Fix not "disconnecting" on refresh 2022-04-08 11:55:31 +09:00
Stephen Seo 392fc5e7f0 Fix whitespace in edited classes, try fix unload
The method to send the disconnect on page close was changed, but it is
still uncertain if it works correctly.
2022-04-08 11:42:18 +09:00
Stephen Seo 1e6e5ff1f5 Update backend_protocol_specification.md 2022-04-08 11:05:03 +09:00
Stephen Seo c9ba80e6a4 Impl "too_many_players" response from back-end
Previous implementation did not respond with the proper JSON response if
there were too many players.
2022-04-08 11:01:33 +09:00
Stephen Seo bc3de10d4e Add Release Plan 2022-04-07 15:02:13 +09:00
Stephen Seo ca0e9f55f6 Add "Simple Model" 2022-04-07 14:43:03 +09:00
Stephen Seo 23d9b5647e Fix bug: backend didn't cleanup stale players 2022-04-07 11:16:50 +09:00
Stephen Seo 9fc0408d16 Update README.md 2022-04-06 20:57:26 +09:00
Stephen Seo 74ca3fd696 Add GPL3 Licence headers to sources 2022-04-06 20:49:54 +09:00
Stephen Seo 62431f0d0e Update README.md for backend and frontend 2022-04-06 20:38:49 +09:00
Stephen Seo 50221a0356 Add Licenses for frontend and backend (GPL3) 2022-04-06 20:34:45 +09:00
Stephen Seo 32d58fae2c Update Sprint 5 backlog and product backlog 2022-04-06 20:27:35 +09:00
Stephen Seo 91c9eab05e Fix messages being displayed on networked game end 2022-04-06 20:17:27 +09:00
Stephen Seo 59bdcc2a34 Tweak "board to string" and back for better info 2022-04-06 20:09:22 +09:00
Stephen Seo 2e0b29ed70 Add "release" configuration for BACKEND_URL 2022-04-06 19:40:40 +09:00
Stephen Seo 567cec9500 Minor tweaks (and `cargo fmt` got aggressive) 2022-04-06 19:38:59 +09:00
Stephen Seo 89b9bf860b Working multiplayer between frontend backend
WIP Need to set the URL and host the backend on the website.
2022-04-06 18:43:17 +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