replace "r n b q k b n r" with other characters. #898
Unanswered
vwallajabad
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi. Sure, translating symbols like that can be done without any chess logic: trans = str.maketrans({"a": "foo", "b": "bar", "c": "baz"})
"abc".translate(trans) # foobarbaz |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I was wondering if there is a function or and other way to replace the default
r n b q k b n r
with anything else. For example, if I want to use emoji's as chess pieces is that possible using the current chess package?Beta Was this translation helpful? Give feedback.
All reactions