@@ -1280,9 +1280,9 @@ async def send_game_result(self, board: chess.Board, winner: Optional[Color] = N
12801280 Sends the engine the result of the game.
12811281
12821282 XBoard engines receive the final moves and a line of the form
1283- " result <winner> {<ending>}" . The <winner> field is one of " 1-0" ,
1284- " 0-1", " 1/2-1/2" , or "*" to indicate white won, black won, draw,
1285- or adjournment, respectively. The <ending> field is a description
1283+ `` result <winner> {<ending>}`` . The `` <winner>`` field is one of `` 1-0`` ,
1284+ `` 0-1``, `` 1/2-1/2`` , or ``*`` to indicate white won, black won, draw,
1285+ or adjournment, respectively. The `` <ending>`` field is a description
12861286 of the specific reason for the end of the game: "White mates",
12871287 "Time forfeiture", "Stalemate", etc.
12881288
@@ -1292,9 +1292,10 @@ async def send_game_result(self, board: chess.Board, winner: Optional[Color] = N
12921292 :param board: The final state of the board.
12931293 :param winner: Optional. Specify the winner of the game. This is useful
12941294 if the result of the game is not evident from the board--e.g., time
1295- forfeiture or draw by agreement.
1295+ forfeiture or draw by agreement. If not ``None``, this parameter
1296+ overrides any winner derivable from the board.
12961297 :param game_ending: Optional. Text describing the reason for the game
1297- ending. Similarly to the winner paramter , this overrides any game
1298+ ending. Similarly to the winner parameter , this overrides any game
12981299 result derivable from the board.
12991300 :param game_complete: Optional. Whether the game reached completion.
13001301 """
0 commit comments