If a player is NOT in check, but there ISN'T any possible legal move for them to make, then the game is automatically drawn by stalemate.
just search it up, DUH
When a player does not have any legal moves, and it is not a check.