Python one-liner to pretty print FEN string in a human readable format

preview_player
Показать описание
How to pretty print FEN string so that ranks got aligned and the number representing empty squares got replaced by a certain number of placeholders.

Chess programming playlists:

My engines:

Support the channel:
Рекомендации по теме
Комментарии
Автор

Very cool video format, I do my pretty_print function in similar ways, but I never was able to achieve a readable 1 liner with the rank names on the side (still trying!)
If you do other python videos could you consider writing them in an IDE with colors? it is way easier to read than in the console ;)
Thanks a lot for chess programming videos !

avo_k