Skip to content
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

Modify get_board_visual function Change chess pieces expressed in alp… #133

Closed
wants to merge 1 commit into from

Conversation

HyoungSooo
Copy link

Hello zhelyabuzhsky!

I am making a chess game using the stockfish engine in the terminal.
Changed the visual aspect of the chess board as it appears in the terminal.
We added a parameter to the function, which allows you to use both the alphabet version and the 2D character version.
with created test code and it will be passed

2d charactor version

+---+---+---+---+---+---+---+---+
| ♖ | ♘ | ♗ | ♕ | ♔ | ♗ | ♘ | ♖ | 8
+---+---+---+---+---+---+---+---+
| ♙ | ♙ | ♙ |   |   | ♙ | ♙ | ♙ | 7
+---+---+---+---+---+---+---+---+
|   |   |   |   | ♙ |   |   |   | 6
+---+---+---+---+---+---+---+---+
|   |   |   | ♙ |   |   |   |   | 5
+---+---+---+---+---+---+---+---+
|   |   |   | ♟ | ♟ |   |   |   | 4
+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   | 3
+---+---+---+---+---+---+---+---+
| ♟ | ♟ | ♟ |   |   | ♟ | ♟ | ♟ | 2
+---+---+---+---+---+---+---+---+
| ♜ | ♞ | ♝ | ♛ | ♚ | ♝ | ♞ | ♜ | 1
+---+---+---+---+---+---+---+---+
  a   b   c   d   e   f   g   h

@HyoungSooo HyoungSooo closed this by deleting the head repository Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants