A game ends in a draw (stalemate) if your King is not in check but has no legal moves.