code100x / chess

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

Feat/Add Exit Game Functionality #356

Closed giripatel closed 5 months ago

giripatel commented 5 months ago

Adds Exit Game Functionality

1) Implemented an "Exit Game" feature. 2) Users can now exit the game in the middle of playing. 3) The opponent will be considered as the winner with a 'PLAYER_EXIT' status.

Screencast from 18-06-24 01:07:07 AM IST.webm

@hkirat @siinghd Please review and suggest if any are needed

siinghd commented 5 months ago

@giripatel can we improve the little bit the ui? its weird the button down there

giripatel commented 5 months ago

Hi @siinghd

Thanks for the review.

Regarding UI changes.

The button has adjusted due to the responsiveness of the application. If I make the webpage a bit wider/full-screen, it will move to the right of the chessboard.

siinghd commented 5 months ago

Thank you sir

siinghd commented 5 months ago

For the bounty please do wait, will submit the PR to kirat.