2ad028f8a7
Many many changes.
2022-12-18 01:04:08 +01:00
c04407ae67
Make chess work.
...
Remove sending the new move in moveHandler, in order to prevent a loop
move -> emit -> move ...
Handle incoming moves.
There still is a major bug. Sometimes random pieces move.
2022-12-14 23:17:31 +01:00
7198f591bd
Replace print() calls with log() calls.
2022-12-13 03:43:05 +01:00
6f124b9a5f
Fix bug in onWillAccept. Set endSquare correctly.
2022-11-19 11:46:44 +01:00
75727980a7
Show server response in main window for debugging purpose.
2022-11-13 14:28:30 +01:00
a6880dd0e9
Fix late/final variables. Fix calls to ChessBloc by using context.
2022-11-13 13:09:36 +01:00
0ab37c5564
Change pre-checking to be method-driven instead of event-driven, so we can get the return value.
2022-11-13 03:50:29 +01:00
8ebc010e63
Fix shit.
2022-11-13 03:42:30 +01:00
f5f89a070d
MORE CHANGES. Pieces can be moved now.
2022-11-13 03:24:42 +01:00
b3a7418c5f
More changes. Memory error when accessing state.position in ChessBloc.
2022-11-13 02:42:10 +01:00
94b7c227c9
Make a lot of changes. CAUTION: Board flips on purpose on every move.
2022-11-13 01:03:47 +01:00
1d528d4be2
Initial commit. Board builds but without pieces and logic.
2022-11-12 22:55:45 +01:00