Commit Graph

8 Commits

Author SHA1 Message Date
2a4da9a1af Implement moves by tapping the squares
This adds an option to dragging-and-dropping which is slightly hard on
smaller screens.

Fix promotions when tapping and fix handling of subsequently tapping two pieces of your color

Cancel tap if a drag is started (tapped square will not stay red in case a drag is started)

Change url strategy back to the hashtag thing

Change version

Fix bug that would not allow a piece move if you tried to take an opponents piece.

Fix the coloring of the last move after an invalid move was played.
2024-01-09 19:11:56 +01:00
cb8e98ef81 Fix building of web and linux app at the same time 2023-12-27 15:57:01 +01:00
cdc0144e39 Fix routing again 2023-12-27 15:46:15 +01: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
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
1d528d4be2 Initial commit. Board builds but without pieces and logic. 2022-11-12 22:55:45 +01:00