Commit Graph

18 Commits

Author SHA1 Message Date
1cb5ffb82b Handle board status message
This is another step to allow reconnecting after connection loss or
browser closing.

When the game is left with the X button on the bottom right, we will
close the websocket connection, to let the server know, that we are
gone.

The server still has issues that prevent this from working flawlessly.
2023-12-09 20:41:34 +01:00
e441aaec1e pub ugrade 2023-11-27 00:20:02 +01:00
01dcc74cfc Refactor chess square and prepare display of square in check. 2023-09-04 21:39:51 +02:00
7c5439a635 Display last played move.
We now color the squares of the last move. This makes the state of the
board clearer and shows whose turn it is.
2023-08-19 03:45:03 +02:00
9ce188ae32 dart fix 2023-07-03 19:55:44 +02:00
43fca47dae Changes you see? To many to name them. And a splash screen for flutter web of course. 2023-06-28 12:37:59 +02:00
6e5d84364d Various changes. 2023-06-08 17:10:48 +02:00
b0d6f4002c Change connection handling (Use playerID from registering to connect via websocket. 2023-05-28 17:44:22 +02:00
9492644ac9 Introduce changes in API (register game first, then ws connection). 2023-05-28 14:54:46 +02:00
122731ac50 Remove html depencencies and alway connecto to remote server. 2023-01-29 21:09:18 +01:00
c7810d4e7e Remove /# from URL when using the web app 2022-12-28 20:27:38 +01:00
80a24bafd6 Add GoRouter and do a lot of renaming. 2022-12-25 16:16:23 +01:00
27f0e802ae pubspec.lock 2022-12-13 03:36:39 +01:00
8d5cf7592d Add Connection cubit that updates the part that must be rebuilt after a reconnect. 2022-11-19 16:36:29 +01:00
05980a6b63 Adding dependency to web_socket_channel 2022-11-13 14:25:18 +01:00
f5f89a070d MORE CHANGES. Pieces can be moved now. 2022-11-13 03:24:42 +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