]> git.seodisparate.com - EN605.607.81.SP22_ASDM_Project/log
EN605.607.81.SP22_ASDM_Project
4 months agoUpdate README.md main
Stephen Seo [Wed, 18 Dec 2024 03:54:05 +0000 (12:54 +0900)]
Update README.md

4 months agoUpdate README.md
Stephen Seo [Wed, 18 Dec 2024 02:59:46 +0000 (11:59 +0900)]
Update README.md

12 months agoMaintenance update
Stephen Seo [Wed, 3 Apr 2024 02:04:52 +0000 (11:04 +0900)]
Maintenance update

`cargo update` to update Cargo.lock for backend and frontend Rust
projects.

2 years agoFix crash bug
Stephen Seo [Fri, 6 May 2022 02:32:20 +0000 (11:32 +0900)]
Fix crash bug

2 years agoback-end: Do refactorings
Stephen Seo [Thu, 5 May 2022 03:35:30 +0000 (12:35 +0900)]
back-end: Do refactorings

2 years agoFix bug: board not updated on win/lose/draw
Stephen Seo [Wed, 4 May 2022 05:55:01 +0000 (14:55 +0900)]
Fix bug: board not updated on win/lose/draw

2 years agoConvert User Stories to MSExcel compatible format
Stephen Seo [Wed, 4 May 2022 03:41:04 +0000 (12:41 +0900)]
Convert User Stories to MSExcel compatible format

2 years agoRefactorings, fix bug where board doesn't update
Stephen Seo [Tue, 3 May 2022 04:17:54 +0000 (13:17 +0900)]
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.

2 years agoUpdate README.md
Stephen Seo [Mon, 2 May 2022 12:12:18 +0000 (21:12 +0900)]
Update README.md

2 years agoConvert spreadsheets to MS Excel compatible format
Stephen Seo [Mon, 2 May 2022 04:56:48 +0000 (13:56 +0900)]
Convert spreadsheets to MS Excel compatible format

2 years agoAdd Sprint 6 Retrospective
Stephen Seo [Mon, 2 May 2022 04:53:50 +0000 (13:53 +0900)]
Add Sprint 6 Retrospective

2 years agoUpdate Sprint 6 Backlog, Product Backlog
Stephen Seo [Mon, 2 May 2022 04:45:32 +0000 (13:45 +0900)]
Update Sprint 6 Backlog, Product Backlog

2 years agoUpdate Sprint 6 backlog
Stephen Seo [Sat, 30 Apr 2022 08:48:58 +0000 (17:48 +0900)]
Update Sprint 6 backlog

2 years agoImpl conditionally update front-end board
Stephen Seo [Sat, 30 Apr 2022 07:27:43 +0000 (16:27 +0900)]
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.

2 years agoRefactorings/Fixes related to emoting sprint_06_day_5
Stephen Seo [Fri, 29 Apr 2022 10:21:59 +0000 (19:21 +0900)]
Refactorings/Fixes related to emoting

2 years agoUpdate Product Backlog, Sprint 6 Backlog
Stephen Seo [Fri, 29 Apr 2022 09:34:05 +0000 (18:34 +0900)]
Update Product Backlog, Sprint 6 Backlog

2 years agoImpl sending/receiving emotes
Stephen Seo [Fri, 29 Apr 2022 09:30:41 +0000 (18:30 +0900)]
Impl sending/receiving emotes

2 years agoFixes related to new send emote functionality
Stephen Seo [Fri, 29 Apr 2022 08:24:42 +0000 (17:24 +0900)]
Fixes related to new send emote functionality

2 years agoUpdate specs, impl back-end support for send emote
Stephen Seo [Fri, 29 Apr 2022 08:16:32 +0000 (17:16 +0900)]
Update specs, impl back-end support for send emote

2 years agoUpdate backend_protocol for emote send/recv
Stephen Seo [Fri, 29 Apr 2022 06:53:36 +0000 (15:53 +0900)]
Update backend_protocol for emote send/recv

2 years agoUpdate Product Backlog
Stephen Seo [Fri, 29 Apr 2022 06:35:26 +0000 (15:35 +0900)]
Update Product Backlog

2 years agoUpdate Sprint 6 backlog
Stephen Seo [Fri, 29 Apr 2022 06:28:08 +0000 (15:28 +0900)]
Update Sprint 6 backlog

2 years agoChange fn string_from_board to accept board ref
Stephen Seo [Fri, 29 Apr 2022 06:21:22 +0000 (15:21 +0900)]
Change fn string_from_board to accept board ref

2 years agofront-end: Minor refactorings fixes
Stephen Seo [Fri, 29 Apr 2022 03:11:49 +0000 (12:11 +0900)]
front-end: Minor refactorings fixes

2 years agofront-end: Minor refactorings
Stephen Seo [Fri, 29 Apr 2022 02:37:15 +0000 (11:37 +0900)]
front-end: Minor refactorings

2 years agofront-end: minor refactoring
Stephen Seo [Fri, 29 Apr 2022 02:23:03 +0000 (11:23 +0900)]
front-end: minor refactoring

2 years agofront-end: fix repeated disconnects on close
Stephen Seo [Fri, 29 Apr 2022 02:08:54 +0000 (11:08 +0900)]
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.

2 years agoback_end: Fix bug where CyanWin is MagentaWin sprint_06_day_4
Stephen Seo [Thu, 28 Apr 2022 13:12:36 +0000 (22:12 +0900)]
back_end: Fix bug where CyanWin is MagentaWin

2 years agoUpdate README.md
Stephen Seo [Thu, 28 Apr 2022 03:23:04 +0000 (12:23 +0900)]
Update README.md

2 years agoback-end/front-end: Rust clippy fixes/refactorings sprint_06_day_3
Stephen Seo [Wed, 27 Apr 2022 07:51:57 +0000 (16:51 +0900)]
back-end/front-end: Rust clippy fixes/refactorings

2 years agoUpdate Sprint 6 backlog
Stephen Seo [Wed, 27 Apr 2022 06:17:25 +0000 (15:17 +0900)]
Update Sprint 6 backlog

2 years agofront-end/back-end: Tweaks to game AI
Stephen Seo [Wed, 27 Apr 2022 06:02:53 +0000 (15:02 +0900)]
front-end/back-end: Tweaks to game AI

2 years agoback-end: Minor fix related to phrase handling
Stephen Seo [Wed, 27 Apr 2022 05:15:54 +0000 (14:15 +0900)]
back-end: Minor fix related to phrase handling

Fixes passing an empty string to the db in (probably) rare cases.

2 years agoback-end: Enforce max-length of user-input phrase
Stephen Seo [Wed, 27 Apr 2022 05:11:02 +0000 (14:11 +0900)]
back-end: Enforce max-length of user-input phrase

2 years agoUpdate Sprint 6 backlog
Stephen Seo [Wed, 27 Apr 2022 04:06:35 +0000 (13:06 +0900)]
Update Sprint 6 backlog

2 years agoImpl match players via phrase
Stephen Seo [Wed, 27 Apr 2022 03:47:45 +0000 (12:47 +0900)]
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).

2 years agoback-end: Impl "phrase", update protocol
Stephen Seo [Wed, 27 Apr 2022 02:42:28 +0000 (11:42 +0900)]
back-end: Impl "phrase", update protocol

2 years agoback_end: Update back-end for new "phrase" column
Stephen Seo [Wed, 27 Apr 2022 02:15:53 +0000 (11:15 +0900)]
back_end: Update back-end for new "phrase" column

2 years agofront-end: Minor fix related to reset button sprint_06_day_1 sprint_06_day_2
Stephen Seo [Mon, 25 Apr 2022 06:19:25 +0000 (15:19 +0900)]
front-end: Minor fix related to reset button

2 years agoUpdate Sprint 6 backlog
Stephen Seo [Mon, 25 Apr 2022 06:03:37 +0000 (15:03 +0900)]
Update Sprint 6 backlog

2 years agofront-end: Impl Reset button
Stephen Seo [Mon, 25 Apr 2022 06:02:18 +0000 (15:02 +0900)]
front-end: Impl Reset button

2 years agoMerge branch 'dev' (refactorings)
Stephen Seo [Mon, 25 Apr 2022 04:56:10 +0000 (13:56 +0900)]
Merge branch 'dev' (refactorings)

2 years agoAdd "Refactoring and Code Improvement" constraint pre_sprint_06
Stephen Seo [Mon, 25 Apr 2022 04:53:04 +0000 (13:53 +0900)]
Add "Refactoring and Code Improvement" constraint

2 years agoUpdate user stories, backlogs, prep for Sprint 6
Stephen Seo [Mon, 25 Apr 2022 04:50:06 +0000 (13:50 +0900)]
Update user stories, backlogs, prep for Sprint 6

3 years agoRedo NonTechnical_SimpleModel
Stephen Seo [Thu, 21 Apr 2022 08:04:39 +0000 (17:04 +0900)]
Redo NonTechnical_SimpleModel

3 years agoUpdate README.md
Stephen Seo [Thu, 21 Apr 2022 04:38:48 +0000 (13:38 +0900)]
Update README.md

3 years agoOrganize plans/specs
Stephen Seo [Thu, 21 Apr 2022 04:37:09 +0000 (13:37 +0900)]
Organize plans/specs

3 years agoback_end refactorings
Stephen Seo [Wed, 20 Apr 2022 03:21:02 +0000 (12:21 +0900)]
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 .

3 years agoUpdate release_plan.md
Stephen Seo [Wed, 20 Apr 2022 05:13:45 +0000 (14:13 +0900)]
Update release_plan.md

3 years agoCreate non-technical release-plan and simple-model
Stephen Seo [Wed, 20 Apr 2022 05:05:47 +0000 (14:05 +0900)]
Create non-technical release-plan and simple-model

3 years agoRename Scrum artifacts to be more accurate
Stephen Seo [Wed, 20 Apr 2022 04:11:55 +0000 (13:11 +0900)]
Rename Scrum artifacts to be more accurate

3 years agoConvert spreadsheets to ".xlsx" format (MS Office)
Stephen Seo [Sat, 16 Apr 2022 09:48:57 +0000 (18:48 +0900)]
Convert spreadsheets to ".xlsx" format (MS Office)

3 years agoUpdate product backlog
Stephen Seo [Fri, 15 Apr 2022 08:33:50 +0000 (17:33 +0900)]
Update product backlog

3 years agoAdd Sprint 5 Retrospective
Stephen Seo [Fri, 15 Apr 2022 08:32:23 +0000 (17:32 +0900)]
Add Sprint 5 Retrospective

3 years agoUpdate Product backlog
Stephen Seo [Sun, 10 Apr 2022 04:08:52 +0000 (13:08 +0900)]
Update Product backlog

3 years agoUpdate Sprint 5 backlog
Stephen Seo [Sun, 10 Apr 2022 04:04:41 +0000 (13:04 +0900)]
Update Sprint 5 backlog

3 years agoFix not "disconnecting" (hopefully on mobile too) sprint_05_day_5
Stephen Seo [Fri, 8 Apr 2022 03:41:00 +0000 (12:41 +0900)]
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.

3 years agoUpdate Sprint 5 backlog
Stephen Seo [Fri, 8 Apr 2022 03:24:24 +0000 (12:24 +0900)]
Update Sprint 5 backlog

3 years agoFix not "disconnecting" on refresh (hopefully)
Stephen Seo [Fri, 8 Apr 2022 03:17:15 +0000 (12:17 +0900)]
Fix not "disconnecting" on refresh (hopefully)

3 years agoFix not "disconnecting" on page close/refresh
Stephen Seo [Fri, 8 Apr 2022 03:01:15 +0000 (12:01 +0900)]
Fix not "disconnecting" on page close/refresh

Hopefully this works this time.

3 years agoFix not "disconnecting" on refresh
Stephen Seo [Fri, 8 Apr 2022 02:55:31 +0000 (11:55 +0900)]
Fix not "disconnecting" on refresh

3 years agoFix whitespace in edited classes, try fix unload
Stephen Seo [Fri, 8 Apr 2022 02:42:18 +0000 (11:42 +0900)]
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.

3 years agoUpdate backend_protocol_specification.md
Stephen Seo [Fri, 8 Apr 2022 02:05:03 +0000 (11:05 +0900)]
Update backend_protocol_specification.md

3 years agoImpl "too_many_players" response from back-end
Stephen Seo [Fri, 8 Apr 2022 02:01:33 +0000 (11:01 +0900)]
Impl "too_many_players" response from back-end

Previous implementation did not respond with the proper JSON response if
there were too many players.

3 years agoAdd Release Plan sprint_05_day_4
Stephen Seo [Thu, 7 Apr 2022 06:02:13 +0000 (15:02 +0900)]
Add Release Plan

3 years agoAdd "Simple Model"
Stephen Seo [Thu, 7 Apr 2022 05:43:03 +0000 (14:43 +0900)]
Add "Simple Model"

3 years agoFix bug: backend didn't cleanup stale players
Stephen Seo [Thu, 7 Apr 2022 02:16:50 +0000 (11:16 +0900)]
Fix bug: backend didn't cleanup stale players

3 years agoUpdate README.md sprint_05_day_3
Stephen Seo [Wed, 6 Apr 2022 11:57:26 +0000 (20:57 +0900)]
Update README.md

3 years agoAdd GPL3 Licence headers to sources
Stephen Seo [Wed, 6 Apr 2022 11:49:54 +0000 (20:49 +0900)]
Add GPL3 Licence headers to sources

3 years agoUpdate README.md for backend and frontend
Stephen Seo [Wed, 6 Apr 2022 11:38:49 +0000 (20:38 +0900)]
Update README.md for backend and frontend

3 years agoAdd Licenses for frontend and backend (GPL3)
Stephen Seo [Wed, 6 Apr 2022 11:34:45 +0000 (20:34 +0900)]
Add Licenses for frontend and backend (GPL3)

3 years agoUpdate Sprint 5 backlog and product backlog
Stephen Seo [Wed, 6 Apr 2022 11:27:35 +0000 (20:27 +0900)]
Update Sprint 5 backlog and product backlog

3 years agoFix messages being displayed on networked game end
Stephen Seo [Wed, 6 Apr 2022 11:17:27 +0000 (20:17 +0900)]
Fix messages being displayed on networked game end

3 years agoTweak "board to string" and back for better info
Stephen Seo [Wed, 6 Apr 2022 11:09:22 +0000 (20:09 +0900)]
Tweak "board to string" and back for better info

3 years agoAdd "release" configuration for BACKEND_URL
Stephen Seo [Wed, 6 Apr 2022 10:40:40 +0000 (19:40 +0900)]
Add "release" configuration for BACKEND_URL

3 years agoMinor tweaks (and `cargo fmt` got aggressive)
Stephen Seo [Wed, 6 Apr 2022 10:38:37 +0000 (19:38 +0900)]
Minor tweaks (and `cargo fmt` got aggressive)

3 years agoWorking multiplayer between frontend backend
Stephen Seo [Wed, 6 Apr 2022 09:43:17 +0000 (18:43 +0900)]
Working multiplayer between frontend backend

WIP Need to set the URL and host the backend on the website.

3 years ago605.607 WIP! working get-id and disconnect
Stephen Seo [Wed, 6 Apr 2022 04:39:12 +0000 (13:39 +0900)]
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.

3 years agofrontend: WIP! request id in progress sprint_05_day_2
Stephen Seo [Tue, 5 Apr 2022 09:16:04 +0000 (18:16 +0900)]
frontend: WIP! request id in progress

Frontend is able to successfully send a Request, but is failing to
get/parse the Response.

3 years agoUpdate Sprint 5 backlog sprint_05_day_1
Stephen Seo [Tue, 5 Apr 2022 07:00:29 +0000 (16:00 +0900)]
Update Sprint 5 backlog

3 years agofrontend: WIP! in progress setting up id request
Stephen Seo [Mon, 4 Apr 2022 09:25:17 +0000 (18:25 +0900)]
frontend: WIP! in progress setting up id request

3 years agoAdd Sprint 5 backlog pre_sprint_05
Stephen Seo [Mon, 4 Apr 2022 05:37:20 +0000 (14:37 +0900)]
Add Sprint 5 backlog

3 years agoUpdate Sprint 4 Retrospective, Product Backlog
Stephen Seo [Mon, 4 Apr 2022 05:25:10 +0000 (14:25 +0900)]
Update Sprint 4 Retrospective, Product Backlog

3 years agoUpdate Product Backlog
Stephen Seo [Mon, 4 Apr 2022 05:10:07 +0000 (14:10 +0900)]
Update Product Backlog

3 years agoAdd Sprint 4 Retrospective
Stephen Seo [Mon, 4 Apr 2022 05:06:56 +0000 (14:06 +0900)]
Add Sprint 4 Retrospective

3 years agoUpdate Sprint 4 backlog
Stephen Seo [Mon, 4 Apr 2022 04:58:23 +0000 (13:58 +0900)]
Update Sprint 4 backlog

3 years agoMinor refactorings sprint_04_day_5
Stephen Seo [Fri, 1 Apr 2022 11:04:40 +0000 (20:04 +0900)]
Minor refactorings

3 years agoUpdate Sprint 4 backlog
Stephen Seo [Fri, 1 Apr 2022 10:58:17 +0000 (19:58 +0900)]
Update Sprint 4 backlog

3 years agoImpl turn timeouts, db entry timeouts
Stephen Seo [Fri, 1 Apr 2022 10:49:50 +0000 (19:49 +0900)]
Impl turn timeouts, db entry timeouts

AI takes a players turn if they take too long on their turn (currently
set to 25 seconds).
Backend times out player/game entries in database.

3 years agoRefactorings, split lengthy code into separate fn
Stephen Seo [Fri, 1 Apr 2022 08:37:37 +0000 (17:37 +0900)]
Refactorings, split lengthy code into separate fn

3 years agoRefactorings and bug fixes
Stephen Seo [Fri, 1 Apr 2022 08:17:42 +0000 (17:17 +0900)]
Refactorings and bug fixes

Protocol was also updated to match the output from the backend.
Fixed "id" not returning as an integer from the backend.

3 years agoMove some backend fns to the shared "state.rs" sprint_04_day_4
Stephen Seo [Thu, 31 Mar 2022 12:02:52 +0000 (21:02 +0900)]
Move some backend fns to the shared "state.rs"

3 years agoUpdate Sprint 4 backlog
Stephen Seo [Thu, 31 Mar 2022 11:45:24 +0000 (20:45 +0900)]
Update Sprint 4 backlog

3 years agobackend: Impl "place_token" protocol
Stephen Seo [Thu, 31 Mar 2022 11:38:22 +0000 (20:38 +0900)]
backend: Impl "place_token" protocol

Some edge-cases might not be addressed.

Need to impl. "timers" for clearing out stale entries in the database.

3 years agoImpl disconnect protocol (and related changes)
Stephen Seo [Thu, 31 Mar 2022 08:38:03 +0000 (17:38 +0900)]
Impl disconnect protocol (and related changes)

Players can now make a "disconnect" request, and requests for
"game_state" will respond once that an opponent has disconnected before
removing the game from the DB.

3 years agoUpdate Sprint 4 backlog sprint_04_day_3
Stephen Seo [Wed, 30 Mar 2022 12:40:24 +0000 (21:40 +0900)]
Update Sprint 4 backlog

3 years agobackend: refactorings, impl "board_state" query
Stephen Seo [Wed, 30 Mar 2022 11:43:49 +0000 (20:43 +0900)]
backend: refactorings, impl "board_state" query

Implemented the fifth backend protocol request/response ("board_state").
Some refactorings involve improving readability from handling unwrapping Option
of &Connection objects.

3 years agoAdd note for debugging the backend sprint_04_day_2
Stephen Seo [Tue, 29 Mar 2022 08:30:26 +0000 (17:30 +0900)]
Add note for debugging the backend

Just in case I lose my terminal history, I'm saving a curl command used
to test the backend.

3 years agoUpdate Sprint 4 backlog
Stephen Seo [Tue, 29 Mar 2022 08:19:04 +0000 (17:19 +0900)]
Update Sprint 4 backlog

3 years agobackend: Some refactoring
Stephen Seo [Tue, 29 Mar 2022 08:10:12 +0000 (17:10 +0900)]
backend: Some refactoring

Reuse "check if player exists" fn where needed. Also, the same fn was
refactored to handle using an existing DB Connection.