Here's what the output looks like:
Code: Select all
'1 https://lichess.org/training/0000D'
if in_backrank_wall { Rd8 }
ve attack_and_through { Rd8 }
if evades_attack_non_confrontational { Rd8 Qa3 }..
if check_king_with_block_no_capture_no_evade { Rd8 Qa3 Rxd1+ }..
if blocks { Rd8 Qa3 Rxd1+ Ne1 }..
if checkmate { Rd8 Qa3 Rxd1+ Ne1 Rxe1# }..
if evades_with_cover_block { Rd8 Qb4 }..
if captures_hanging { Rd8 Qb4 Qxb4 }.
if sacrifices_with_exchange { Rd8 Qxd8+ Bxd8 }
Here's my blog post about it:
https://lichess.org/@/heroku/blog/gofch ... s/KULHdYDn
There is a Playground Website you can try out the language for yourself here: https://gofchess.com/
I believe this language is a big step in getting to solve chess using human understanding. In the age of AI we need a little bit humility and appreciation of creative human thought process. If this tool helps please let me know. And make sure to leave a star on the Github Page.