I'm making chess AI using the python chess module. I'm doing well, but it's hard to read the board as the font I'm using makes it hard to tell the difference between P and p. How can I change the font in the console?
You can't change the actual font in the terminal. You can however change the color, and make it bold or italics. This is possible with ANSI escape sequences. For example, if you want to make it bold, print
\033[1m. Then if you want to make it bright red use
\033[91m. There's a full list of colors in that same Wikipedia article. Finally, you can clear the color, boldness, etc, by simply printing