thomasahle / sunfish

Sunfish: a Python Chess Engine in 111 lines of code
https://www.chessprogramming.org/Sunfish
Other
2.95k stars 543 forks source link

function for different formats of the board #62

Closed SotirisKantz closed 3 years ago

SotirisKantz commented 5 years ago

Hi, I created the function get_print_pos, so players can decide between different formats of the board and the chosen one to be displayed. I added three simple formats by now, but the function is more like a stepping stone for more formats to be added later.

thomasahle commented 3 years ago

Thanks for the PR! I'm not really interested in adding a lot of features to sunfish.py, but I've pushed a fancy.py script one can use to get more features in the terminal. Let me know if this works for you, and feel very free to add more formatting options to that!