Chess player: Difference between revisions
Content added Content deleted
Line 959: | Line 959: | ||
The default Unicode board may look wonky and misaligned with certain terminal fonts. To use an ASCII board instead (like in the output shown below), set UNICODE = False. If your terminal uses dark mode, set DARKMODE = True. |
The default Unicode board may look wonky and misaligned with certain terminal fonts. To use an ASCII board instead (like in the output shown below), set UNICODE = False. If your terminal uses dark mode, set DARKMODE = True. |
||
The computer may say some things that allude to the chess game in ''2001: A Space Odyssey'', by the way. |
|||
<lang python># Simple Python chess engine |
<lang python># Simple Python chess engine |
||
# Computer plays Black |
# Computer plays Black |