kreibaum / pacosako

This code drives the pacoplay.com website where you can play Paco Ŝako.
http://pacoplay.com
MIT License
23 stars 3 forks source link

Clicking a lifted piece should have it back down #118

Open kreibaum opened 6 months ago

kreibaum commented 6 months ago

I've observed several users struggle to place pieces back down. They click the piece again. That just selects it again.

kreibaum commented 6 months ago

This is not super easy to do with the way I am currently tracking mouse interaction.

Putting the mouse down on the first click will already lift the piece. When I then release the mouse, I am in a situation where I "click on the lifted piece to put it back down". That prevents me from moving at all.

Looks like building this requires me to rewrite more of the mouse input.