lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.72k stars 2.28k forks source link

option to enable piece click/drag/both #801

Closed ornicar closed 8 years ago

ornicar commented 9 years ago

defaulting to both as is now

ornicar commented 9 years ago

http://fr.lichess.org/forum/lichess-feedback/can-we-turn-off-two-click-moving

Unihedro commented 9 years ago

additionally, voice control

Vinvin20 commented 9 years ago

additionally, voice control <- that would be amazing. Where the voice would be decoded ? on the host or on the server ? CMU Sphinx seems to be a nice tool : https://en.wikipedia.org/wiki/CMU_Sphinx

Unihedro commented 9 years ago

Actually that's an inside joke, I highly doubt it will get implemented as a real feature unless it's April 1st.

Vinvin20 commented 9 years ago

It will be for sure ... in less than 20 years ;-) May be even 5 years ...

denis-jasselette commented 8 years ago

Watching some streamers and according to my own experience, the piece click is especially confusing in the following scenario:

  1. starting to drag the king
  2. changing your mind and dropping it on its original square, leaving it selected
  3. trying to drag the rook and being castled automatically on that side if legal

I suppose this scenario can't be avoided if you want to support piece click but I thought I'd point it out as IMHO its the only serious problem with having both enabled by default.

Vinvin20 commented 8 years ago

Yes, I already had the same behavior :'(

ddugovic commented 8 years ago

I agree with @denis-jasselette ! For standard (non-960) chess do we really need clicking on the king followed by clicking on the rook to execute a castling move? Does any sane person really castle that way in a standard (non-960) game?

Certainly, if I drag the king atop the rook I intend castling...

Nimzozo commented 8 years ago

Counter-intuitive. If you want to castle, you click e1, then g1. Not e1-h1.

Chess960 is another game with different rules, different implementations...

isaacl commented 8 years ago

As I mentioned in my duped bug, the two click input is harmful during bullet chess -- it's caused me many lost games due to misclick.

I'd like an option to disable two click entirely. But I also have some suggestions for improving the feature:

Unihedro commented 8 years ago

"create dedicated keyboard shortcut for cancelling the input click" - @isaacl right clicking is also an option...

also on the note of how the green isn't bright enough as is, I'll have to disagree with you there - if we're talking about how it's hard to notice on bullet, no color will save you except for blood red, which I'm afraid won't be added

you can use this userstyle:

body.base .cg-board square.selected {
    background-color: red!important;
}
Vinvin20 commented 8 years ago

About voice control : https://www.youtube.com/watch?v=Z2X7eq19D9U

isaacl commented 8 years ago

For what it's worth, I like the h1 castle behavior. I castle with king to h1 to avoid slips where you accidentally move the king instead of castling.

But a player clicks the king followed by clicking the h1 rook, I think castling is counter-intuitive. The most consistent way to fix this would be to add an option to disable 2-click move inputs.

Also, please add option to input moves from my blackberry 10