chess icon indicating copy to clipboard operation
chess copied to clipboard

Feat/chess moves UI

Open nimit9 opened this issue 1 year ago • 4 comments

  • Solved error in ws, which was causing an issue for the user to rejoin the game on refresh
  • Added moves table UI, allow user to go back to any move in live game, resets when player moves or opponent makes a move, just like chess.com.
  • changed moves table to have before fen, after fen and san.

Screencast from 2024-04-23 02-10-25.webm

nimit9 avatar Apr 22 '24 20:04 nimit9

@devsargam the accept draw and resign functionality can be merged with this? I have just added the buttons

nimit9 avatar Apr 22 '24 21:04 nimit9

Yeah cool cool

devsargam avatar Apr 22 '24 21:04 devsargam

hey @nimit9 I was just curious: why are you using recoil, A simple context could have also worked fine; I mean, the state is not that complex to use an external library

alexbennycodes avatar Apr 26 '24 04:04 alexbennycodes

True, but recoil already being added to the project, as the project grows we'll be using more of this.

nimit9 avatar Apr 26 '24 04:04 nimit9

Could u put a pointer to what was wrong with ws?

hkirat avatar Apr 30 '24 05:04 hkirat

Trying locally

hkirat avatar Apr 30 '24 05:04 hkirat

Could u put a pointer to what was wrong with ws?

@hkirat have added a comment, could you please check that? Was a very small fix

nimit9 avatar Apr 30 '24 05:04 nimit9

trying locally

hkirat avatar Apr 30 '24 06:04 hkirat

/bounty $120 Follow up https://github.com/code100x/chess/issues/271

hkirat avatar Apr 30 '24 06:04 hkirat

Thanks @hkirat 🙌

Will fix #271

nimit9 avatar Apr 30 '24 07:04 nimit9

@nimit9 What will be Stored in before and after the moveId or something else

Airbornharsh avatar May 01 '24 10:05 Airbornharsh