Commit Graph

205 Commits

Author SHA1 Message Date
Stephen Seo 090b8bbd30 Fix crash bug 2022-05-06 11:32:20 +09:00
Stephen Seo 59b2bc34fb back-end: Do refactorings 2022-05-05 12:35:30 +09:00
Stephen Seo 1872c4877e Fix bug: board not updated on win/lose/draw 2022-05-04 14:55:01 +09:00
Stephen Seo b5529cb542 Convert User Stories to MSExcel compatible format 2022-05-04 12:41:04 +09:00
Stephen Seo f4f3ad7a5b Refactorings, fix bug where board doesn't update
Also silence warnings related to unused code since the front-end and
back-end share some code.
2022-05-03 13:18:07 +09:00
Stephen Seo 4331a20daa Update README.md 2022-05-02 21:12:18 +09:00
Stephen Seo 047549ecb5 Convert spreadsheets to MS Excel compatible format 2022-05-02 13:56:48 +09:00
Stephen Seo bc6c234314 Add Sprint 6 Retrospective 2022-05-02 13:53:50 +09:00
Stephen Seo 1f27defe11 Update Sprint 6 Backlog, Product Backlog 2022-05-02 13:45:32 +09:00
Stephen Seo 3eb663c305 Update Sprint 6 backlog 2022-04-30 17:48:58 +09:00
Stephen Seo b2ea79a7f7 Impl conditionally update front-end board
When the front-end polls the back-end for the game-state, the back-end includes
a "date_updated" String in the JSON. If the String is the same as in the
front-end, then no updates are needed, but if they are not the same, then the
front-end will update the board. Because the front-end polls the back-end's
board state approximately every second, this should make the front-end more
efficient.
2022-04-30 16:44:48 +09:00
Stephen Seo b4eaba09c5 Refactorings/Fixes related to emoting 2022-04-29 19:21:59 +09:00
Stephen Seo d88e8ef9f3 Update Product Backlog, Sprint 6 Backlog 2022-04-29 18:34:05 +09:00
Stephen Seo 105cd880f2 Impl sending/receiving emotes 2022-04-29 18:30:41 +09:00
Stephen Seo 36dd43bb70 Fixes related to new send emote functionality 2022-04-29 17:24:42 +09:00
Stephen Seo 5381578b08 Update specs, impl back-end support for send emote 2022-04-29 17:16:32 +09:00
Stephen Seo f498f2c475 Update backend_protocol for emote send/recv 2022-04-29 15:53:36 +09:00
Stephen Seo 8eb30fc5d5 Update Product Backlog 2022-04-29 15:35:26 +09:00
Stephen Seo 6ef8667382 Update Sprint 6 backlog 2022-04-29 15:28:08 +09:00
Stephen Seo a4bf4cbd25 Change fn string_from_board to accept board ref 2022-04-29 15:21:22 +09:00
Stephen Seo f799bae530 front-end: Minor refactorings fixes 2022-04-29 12:12:01 +09:00
Stephen Seo b158e7347e front-end: Minor refactorings 2022-04-29 11:37:15 +09:00
Stephen Seo e6152331b0 front-end: minor refactoring 2022-04-29 11:23:03 +09:00
Stephen Seo e77d25996d front-end: fix repeated disconnects on close
When the front-end connects to the back-end, it creates a callback that
sends a disconnect message with the received ID on "pagehide" and
"beforeunload" events. The previous implementation did not "undo" these
callbacks when the game was reset and a new ID was received. This fix
prevents the front-end from resending disconnect messages with
previously received IDs on browser window/tab close.
2022-04-29 11:08:54 +09:00
Stephen Seo e0ed5fc5d8 back_end: Fix bug where CyanWin is MagentaWin 2022-04-28 22:12:36 +09:00
Stephen Seo 6b430660b7 Update README.md 2022-04-28 12:23:04 +09:00
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