EN605.607.81.SP22_ASDM_Project/front_end/src
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
..
ai.rs front-end/back-end: Tweaks to game AI 2022-04-27 15:02:53 +09:00
constants.rs back-end: Enforce max-length of user-input phrase 2022-04-27 14:11:02 +09:00
game_logic.rs Add GPL3 Licence headers to sources 2022-04-06 20:49:54 +09:00
html_helper.rs Fix whitespace in edited classes, try fix unload 2022-04-08 11:42:18 +09:00
main.rs Add GPL3 Licence headers to sources 2022-04-06 20:49:54 +09:00
random_helper.rs Add GPL3 Licence headers to sources 2022-04-06 20:49:54 +09:00
state.rs back_end: Fix bug where CyanWin is MagentaWin 2022-04-28 22:12:36 +09:00
yew_components.rs front-end: fix repeated disconnects on close 2022-04-29 11:08:54 +09:00