lichess-org / lichobile

lichess.org mobile application
https://lichess.org/mobile
GNU General Public License v3.0
2.04k stars 317 forks source link

Pawn movement #1901

Open Neo70722 opened 3 years ago

Neo70722 commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here. When trying to move a pawn 2 spaces it often only moves 1 space, this happens whether done by holding down and dragging or by tapping on the dots.

MattMaginniss commented 2 years ago

Might be a stupid question but to check, this is happening when you are first moving a pawn piece correct?

Neo70722 commented 2 years ago

No it happens at anytime during the game and very often when it's important that is doesn't happen.

On Tue, 14 Dec 2021, 14:54 Matt Maginniss, @.***> wrote:

Might be a stupid question but to check, this is happening when you are first moving a pawn piece correct?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/veloce/lichobile/issues/1901#issuecomment-993624605, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWHYER234FLGBNLG2LGJCXLUQ5LD5ANCNFSM5G3KP25Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

MattMaginniss commented 2 years ago

But what I mean is that you can only move a pawn 2 spaces the first time you move that pawn.

So if you moved a pawn from e2 to e3 for example, you cant then move it from e3 to e5(two spaces) since you already moved it earlier in the game.

So is the issue that you're attempting to move a pawn (for the first time) two spaces and its not working? or that you're trying to move an already moved pawn two spaces which is not allowed in the rules of the game?

Neo70722 commented 2 years ago

I see, no its the second scenario, trying to move a pawn 2 spaces for the first time and it only goes 1 space even though it shows as having moved 2 spaces on the screen

On Tue, 14 Dec 2021, 16:01 Matt Maginniss, @.***> wrote:

But what I mean is that you can only move a pawn 2 spaces the first time you move that pawn.

So if you moved a pawn from e2 to e3 for example, you cant then move it from e3 to e5(two spaces) since you already moved it earlier in the game.

So is the issue that you're attempting to move a pawn (for the first time) two spaces and its not working? or that you're trying to move an already moved pawn two spaces which is not allowed in the rules of the game?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/veloce/lichobile/issues/1901#issuecomment-993689573, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWHYER6O6ZXNGM4JCDKU3DDUQ5S5RANCNFSM5G3KP25Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

MattMaginniss commented 2 years ago

It is the second scenario? If so then its working as expected. I feel like we're having a miscommunication.

Which is the scenario youre dealing with:

  1. Your white. its the first move. You go to move your pawn from e2 to e4 and it sometimes doesnt work or
  2. Your white. you move a pawn from e2 to e3. Then a few moves later. you go to move the pawn two places. from e3 to e5 but it doesn't work?
Neo70722 commented 2 years ago

It happens at anytime in the game when moving any pawn from its starting position for that pieces first move.

On Tue, 14 Dec 2021, 16:43 Matt Maginniss, @.***> wrote:

It is the second scenario? If so then its working as expected. I feel like we're having a miscommunication.

Which is the scenario youre dealing with:

  1. Your white. its the first move. You go to move your pawn from e2 to e4 and it sometimes doesnt work or
  2. Your white. you move a pawn from e2 to e3. Then a few moves later. you go to move the pawn two places. from e3 to e5 but it doesn't work?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/veloce/lichobile/issues/1901#issuecomment-993742477, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWHYER6WPHPCVSCFVTNC3FTUQ5X2VANCNFSM5G3KP25Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.