game_result | R Documentation |
This function tells if the game is still ongoing, or if a checkamte or stalemate are on the board
game_result(game)
game |
chess game object (i.e., a list with elements board, turn, history, and fen_history as created by newgame function) |
a message
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.