-
-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Board.__str__ including grid labels #971
Comments
I think this looks good. I wonder if it's acceptable to just change |
Yeah I think it would be fine to change One question is, how do you see |
|
For reference, here is a prettifying wrapper I use around
|
Use No grid lines. But this is a starting point that someone can use to write something more full-featured. |
@dubiousjim I like your support of unicode, nice! I am using this now 👍, with a few mods:
I think this means no need to support One possible improvement for For example, if it's white player's turn, note the
|
Flipped board just displays the 8 rank at the bottom, it doesn't change any piece positions. (White K still starts at e1, this is just now displayed at the top instead of at the bottom.) Mirrored board moves the piece that was at a6 instead to a3. These are different concepts. |
Okay I see, sorry I didn't scrutinize that much. I think the default One other cool feature in a display function would be to highlight captures, check, or checkmates, possibly via colors. This behavior could be turned on with an additional |
I would be interested in taking on this issue! |
I would also be interested in taking this, if someone already is in development though, please say |
To me, it's easier to see/understand a board's printed representation with the rank/file shown.
It would be nice to support the ability to show the grid:
Alternately, an instance attribute
verbose
could be added that somehow enables behaviors like this when__str__
is invoked.The text was updated successfully, but these errors were encountered: