Get number of half-moves since the last capture or pawn move

halfmove_clock(game)

Arguments

game

A game node

Value

An integer