This function returns a character vector of how the game ended from chess.dom.
get_game_ending(termination_string, white, black)
A character vector in the chess.com extracted data frame called 'Termination'
A character vector in the chess.com extracted data frame called 'White' for the player on white
A character vector in the chess.com extracted data frame called 'Black' for the player on black
A character vector of the game ending for each game
if (FALSE) {
get_game_ending(termination_string = df$Termination, df$White, df$Black)
}