Generally how do I determine whether to repeat? This is an example where I incorrectly drew by repetition because of my back rank and undeveloped pieces (engine says white's better), there were other games where I should have repeated but didn't.
Consider a chess variant in which the objective is to capture the opponent's king (putting yourself in check is allowed). What is the minimum number of pieces needed to stalemate in this game? Here's one possible solution (white to move):