chess / chessfenbot /message_template.py
rosenthal's picture
v1 of chess space
e936283
raw
history blame contribute delete
No virus
1.07 kB
# -*- coding: utf-8 -*-
# Response message template
MESSAGE_TEMPLATE = """[◕ _ ◕]^*
I attempted to generate a [chessboard layout]({unaligned_fen_img_link}) from the posted image[^(what I saw)]({visualize_link}),
with a certainty of **{certainty:.3f}%**. *{pithy_message}*
-
◇ White to play : [Analysis]({lichess_analysis_w}) | [Editor]({lichess_editor_w})
`{fen_w}`
-
◆ Black to play : [Analysis]({lichess_analysis_b}) | [Editor]({lichess_editor_b})
`{fen_b}`
-
> ▾ Links for when pieces are inverted on the board:
>
> White to play : [Analysis]({inverted_lichess_analysis_w}) | [Editor]({inverted_lichess_editor_w})
> `{inverted_fen_w}`
>
> Black to play : [Analysis]({inverted_lichess_analysis_b}) | [Editor]({inverted_lichess_editor_b})
> `{inverted_fen_b}`
-
---
^(Yes I am a machine learning bot | )
[^(`How I work`)](http://github.com/Elucidation/tensorflow_chessbot 'Must go deeper')
^( | )[^(`Try your own images`)](http://tetration.xyz/ChessboardFenTensorflowJs/)
^( | Reply with a corrected FEN to add to my next training dataset)
"""