code100x / chess

A multiplayer chess platform
https://chess.100xdevs.com/
1.62k stars 585 forks source link

Fixed player rejoin and game over issue #333

Closed asutosh-147 closed 5 months ago

asutosh-147 commented 6 months ago

fixed #332

shifted join room logic to joinGame( ) function and called it inside INIT_GAME to rejoin in existing game and added code to set result of game when the game is over. this fixes the issues