4626084abd
Do some more restructuring. ChessApp is now the app. ChessGame is the widget that contains the game and board.
2022-12-25 19:57:47 +01:00
80a24bafd6
Add GoRouter and do a lot of renaming.
2022-12-25 16:16:23 +01:00
0b7c3897e5
1. Remove leading counter from move message,
...
2. Only allow color to move when it's their turn.
2022-12-21 23:14:53 +01:00
c9a93dd167
Connect to localhost if in debug mode.
2022-12-18 23:06:55 +01:00
9128bb1cbb
Remove Platform.localhostname because it is not supported in web app.
2022-12-18 16:11:00 +01:00
31faabcf94
Connect to localhost when I am on my dev environment.
2022-12-18 15:54:19 +01:00
23f6a6b14c
Connect to correct host. Refactor some code.
2022-12-18 03:21:39 +01:00
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
8a0139640c
Add server password for connection, and change reconnect handling.
2022-12-13 03:36:22 +01:00
4768d22168
Add reconnect mechanism.
2022-11-19 13:24:38 +01:00
76e141619b
Add class that handles server connections via web sockets.
2022-11-13 14:25:47 +01:00