RonSijm / ButtFish

Effortlessly transmitting Morse Code of chess moves to your butthole 💝

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create Custom Board Visual

RonSijm opened this issue · comments

Given the input: "rnb1kbnr/pppp1ppp/8/4p1q1/5P2/4PQ2/PPPP2PP/RNB1KBNR b KQkq - 2 3"

StockFish has the option to generate a visual chess board though the "d" command:

 +---+---+---+---+---+---+---+---+
 | r | n | b |   | k | b | n | r | 8
 +---+---+---+---+---+---+---+---+
 | p | p | p | p |   | p | p | p | 7
 +---+---+---+---+---+---+---+---+
 |   |   |   |   |   |   |   |   | 6
 +---+---+---+---+---+---+---+---+
 |   |   |   |   | p |   | q |   | 5
 +---+---+---+---+---+---+---+---+
 |   |   |   |   |   | P |   |   | 4
 +---+---+---+---+---+---+---+---+
 |   |   |   |   | P | Q |   |   | 3
 +---+---+---+---+---+---+---+---+
 | P | P | P | P |   |   | P | P | 2
 +---+---+---+---+---+---+---+---+
 | R | N | B |   | K | B | N | R | 1
 +---+---+---+---+---+---+---+---+

Apparently this is not UCI standard - so Leela Chess Zero (Lc0) engine does not support this.

To fix this I'm busy implementing a custom FEN to ASCII component, so every engine can show an ascii of the chessboard