]> git.seodisparate.com - EN605.607.81.SP22_ASDM_Project/commit
Impl disconnect protocol (and related changes)
authorStephen Seo <seo.disparate@gmail.com>
Thu, 31 Mar 2022 08:38:03 +0000 (17:38 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Thu, 31 Mar 2022 08:38:03 +0000 (17:38 +0900)
commit473e76a1bc91b148219a63164e9041c07a197936
treeff651965e440c1ed07d34f09da55227fd112d944
parent234baefb9ed763f17b20e7e675c85bcd9ba5b560
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.
back_end/src/db_handler.rs
back_end/src/json_handlers.rs