View source: R/autoplay_game.R
| append_result | R Documentation | 
The function append_result() is  helper function for autoplay_game() that
takes a string of chess moves in standard algebraic notation (SAN) as the
argument. If the last character is # it checks to see which side won, and
appends the appropriate result ("1-0" or "0-1").  If the last character is
not #, it tests for stalemate or checkmate.
append_result(movetext)
| movetext | A string of chess moves in standard algebraic notation (SAN). | 
A string of chess moves with the game result appended.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.