supertorpe / chessendgametraining

Chess Endgame Training: app to practice a variety of well organized set of chess endgames. From elementary to the most complex endgames, you can practice until you learn how to face all of them.
https://chess-endgame-trainer.mooo.com
GNU General Public License v3.0
102 stars 21 forks source link

Tap squares to move pieces #2

Closed jmanuelbr closed 5 years ago

jmanuelbr commented 5 years ago

It would be great if I could move the pieces by tapping the piece and then taping again the destination square, as opposed to drag and drop it. It would be more usable for mobile devices. E.g.

Some other mobile app applications work like this E.g. Lichess I personally find it easier to use.

supertorpe commented 5 years ago

The mobile app allows you to move the pieces in both ways. The web version only allows drag & drop because the hack I had to implement for the "tap" does not work well when there is a mouse pointer. Maybe it should detect if it is browsing the web version from a mobile device and, in that case, reactivate the hack.

supertorpe commented 5 years ago

I've released the patch; now you can move the pieces tapping in a mobile browser: https://chess-endgame-trainer.web.app