Commit Graph

19 Commits

Author SHA1 Message Date
Cozma Rares c6584bd9d8 chore: reorganize files 2023-08-02 18:16:57 +03:00
Cozma Rares 02333e68cd feat: add local game and history 2023-08-02 01:38:08 +03:00
Cozma Rares 69cd39f5e3 refactor: remove pre-compute of checkmate and draw, and rename 'Modal' property 2023-08-01 01:29:12 +03:00
Cozma Rares e6216aec9a feat: handle opponent disconnect 2023-08-01 01:09:08 +03:00
Cozma Rares a001ef57a5 feat: implement three fold repetiion check
and some fixes
- start another game without refresh
- chessboard handle click types
2023-08-01 00:14:05 +03:00
Cozma Rares 0b68d701c1 multiple changes
- add gameover overlay
- fix active tile background
- redirect to home on invalid page
- compute checkmate and draw after making a move
- cleanup code
- error handling on making moves
2023-07-31 01:24:26 +03:00
Cozma Rares 259393ca1b chore: remove console logs 2023-07-30 18:23:41 +03:00
Cozma Rares ce09e99c28 fix: add error handling for making moves 2023-07-30 15:25:44 +03:00
Cozma Rares 7088f89065 fix: board rerender, make moves when not your turn, cannot join as white 2023-07-30 12:44:19 +03:00
Cozma Rares abb9d4d092 fix: Home page errors 2023-07-30 12:06:07 +03:00
Cozma Rares 156073b6a0 BIG feat: add sockets, create and join games 2023-07-29 22:42:08 +03:00
Cozma Rares 6874bba431 refactor: move promotion choice a modal 2023-07-24 13:00:22 +03:00
Cozma Rares fd2d91deef feat: add react-router 2023-07-24 12:27:31 +03:00
Cozma Rares 76032237d4 chore: reorganize files and add some boilerplate 2023-07-24 12:18:58 +03:00
Cozma Rares 7d6dc492c3 feat: add promotion moves 2023-07-24 08:36:39 +03:00
Cozma Rares f9decf0fc5 feat: remove moves that leave the king in check 2023-06-08 23:59:41 +03:00
Cozma Rares 9249ba7524 feat: add history and update positon info 2023-06-07 00:53:51 +03:00
Cozma Rares e1da622457 feat: create chessboard, fix makeMove 2023-06-06 23:34:39 +03:00
Cozma Rares ddc4ec100d initial commit 2023-04-01 19:36:29 +03:00