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

Differentiate a genuine queen in crazyhouse #6165

Open Nordlandia opened 4 years ago

Nordlandia commented 4 years ago

In Crazyhouse i suppose it make sense to differentiate an genuine queen and a promoted one.

"For example, if my opponent has 2 queens on the board and I end up in a position where I can capture either one it would be nice to know at first glance which one will give me a queen in hand and which one will give me a pawn in hand and capture the correct one. "

ddugovic commented 4 years ago

Also, for spectators who didn't see earlier moves or are unfamiliar with the variant, this would be useful.

Finlip commented 4 years ago

All promoted pieces could show some residue of the pawn they promoted from.

Nordlandia commented 4 years ago

Chess is a game of perfect information. Why move in the direction of hiding information. Standard chess is a game of perfect information. zh is not quite so because of promoted pieces have pseudo-attributes.

Nordlandia commented 4 years ago

Possible ideas:

Idea 1.

P stands for "Pawn" or "Promoted"

Idea 2.

Small pawn in the corner idea actually seems to be a good one.

Idea 1: QP

Idea 2: unknown

Finlip commented 4 years ago

Actually, there's nothing wrong with making this universal. We'll always know that a piece is promoted if it is.

thewhisperinyourears commented 4 years ago

Whats the point of standing out a promoted piece? A promoted piece doesnt exist in chess. Once you promote the pawn because the piece you select. Being promoted doesn't add anything to the game except for visually.

On Wed, Apr 15, 2020, 6:21 AM Finlip notifications@github.com wrote:

Actually, there's nothing wrong with making this universal. We'll always know that a piece is promoted if it is.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ornicar/lila/issues/6165#issuecomment-613952505, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARR7YGOGICYVB45Z7E6EKLRMWDBFANCNFSM4LK3HTWQ .

isaacl commented 4 years ago

It matters in crazyhouse, because recapturing a promotion only gives you a pawn. But yes, it's clutter on standard chess.

On Wed, Apr 15, 2020 at 11:22 AM thewhisperinyourears < notifications@github.com> wrote:

Whats the point of standing out a promoted piece? A promoted piece doesnt exist in chess. Once you promote the pawn because the piece you select. Being promoted doesn't add anything to the game except for visually.

On Wed, Apr 15, 2020, 6:21 AM Finlip notifications@github.com wrote:

Actually, there's nothing wrong with making this universal. We'll always know that a piece is promoted if it is.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ornicar/lila/issues/6165#issuecomment-613952505, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AARR7YGOGICYVB45Z7E6EKLRMWDBFANCNFSM4LK3HTWQ

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ornicar/lila/issues/6165#issuecomment-614104755, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH26LWOMTOY44H3IKMIM2TRMXGMNANCNFSM4LK3HTWQ .

thewhisperinyourears commented 4 years ago

Understood. But now that creates a problem for all the other variations that doesn't benefit from this.

So it will need to be an ad hoc implementation for crazyhouse.

On Wed, Apr 15, 2020, 12:22 PM Isaac Levy notifications@github.com wrote:

It matters in crazyhouse, because recapturing a promotion only gives you a pawn. But yes, it's clutter on standard chess.

On Wed, Apr 15, 2020 at 11:22 AM thewhisperinyourears < notifications@github.com> wrote:

Whats the point of standing out a promoted piece? A promoted piece doesnt exist in chess. Once you promote the pawn because the piece you select. Being promoted doesn't add anything to the game except for visually.

On Wed, Apr 15, 2020, 6:21 AM Finlip notifications@github.com wrote:

Actually, there's nothing wrong with making this universal. We'll always know that a piece is promoted if it is.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ornicar/lila/issues/6165#issuecomment-613952505, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AARR7YGOGICYVB45Z7E6EKLRMWDBFANCNFSM4LK3HTWQ

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ornicar/lila/issues/6165#issuecomment-614104755, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAH26LWOMTOY44H3IKMIM2TRMXGMNANCNFSM4LK3HTWQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ornicar/lila/issues/6165#issuecomment-614139041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARR7YENLA7QKKTQCKUOEYLRMXNLZANCNFSM4LK3HTWQ .

ChesswurmOTB commented 4 years ago

Still new to java and related languages, but I assume this is an idea to go off of?

public class Promo_x extends _x { change the image when captures .Promo_x, add pawn to pocket }

thewhisperinyourears commented 4 years ago

Like I said I believe this is a waste of time.

It doesn't matter if a pawn is promoted or not. The piece won't act differently because it was promoted or the chess player will improve his gameplay.

Now if you just want to practice your java scala skills then by all means go ahead.

On Thu, Jun 25, 2020, 3:10 PM ChesswurmOTB notifications@github.com wrote:

Still new to java and related languages, but I assume this is an idea to go off of?

public class Promo_x extends _x { change the image when captures .Promo_x, add pawn to pocket }

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ornicar/lila/issues/6165#issuecomment-649765509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARR7YAOKRM3QE4DILAOEDDRYOOK5ANCNFSM4LK3HTWQ .

ChesswurmOTB commented 4 years ago

@thewhisperinyourears

In crazyhouse it does matter because even though the piece moves the same, when a promo-queen is captured the opponent gets a pawn in the pocket instead of a queen, while capturing the original queen puts a queen in the opponent's pocket. Sometimes a player may have the decision to capture the original queen or a promoted queen and the difference between getting a pawn or queen in the pocket is important. Or if you need to sacrifice one of the queens and save the other, it would make more sense to sacrifice the promo-queen so your opponent only gets a pawn in the pocket instead of another queen. This issue only exists in crazyhouse, which is the original intent for this issue thread. This solution will only be active in crazyhouse, just like you said "So it will need to be an ad hoc implementation for crazyhouse."

thewhisperinyourears commented 4 years ago

Indeed! Go ahead. I did t know when you capture a promoted piece in crazyhouse you actually get a pawn.

I dont play too much crazyhouse as you noted.

On Fri, Jun 26, 2020, 4:59 AM ChesswurmOTB notifications@github.com wrote:

@thewhisperinyourears https://github.com/thewhisperinyourears

In crazyhouse it does matter because even though the piece moves the same, when a promo-queen is captured the opponent gets a pawn in the pocket instead of a queen, while capturing the original queen puts a queen in the opponent's pocket. Sometimes a player may have the decision to capture the original queen or a promoted queen and the difference between getting a pawn or queen in the pocket is important. Or if you need to sacrifice one of the queens and save the other, it would make more sense to sacrifice the promo-queen so your opponent only gets a pawn in the pocket instead of another queen. This issue only exists in crazyhouse, which is the original intent for this issue thread. This solution will only be active in crazyhouse, just like you said "So it will need to be an ad hoc implementation for crazyhouse."

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ornicar/lila/issues/6165#issuecomment-650071578, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARR7YD5GXYR6SXWSLEBD3TRYRPQXANCNFSM4LK3HTWQ .

ChesswurmOTB commented 4 years ago

It's all good! now I don't know anybody else, but I like the concept of the "P" on the piece compared to the tiny pawn in the center. I think it is one of the cleanest options quickly available.

thewhisperinyourears commented 4 years ago

It doesnt look bad. I like it.

On Fri, Jun 26, 2020, 3:22 PM ChesswurmOTB notifications@github.com wrote:

It's all good! now I don't know anybody else, but I like the concept of the "P" on the piece compared to the tiny pawn in the center. I think it is one of the cleanest options quickly available.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ornicar/lila/issues/6165#issuecomment-650354293, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARR7YGK27JGPEM76CIW4CLRYTYOFANCNFSM4LK3HTWQ .