Mating pattern

When a mating pattern is available, the game should be over. But when it's really over?
video|right|300px right|300px 
==Scholars checkmate ==
#e4 e5
#Bc5 Bc4
#Qh5 a6
#Qxf7
==Rook and King endgame==
Make your opponents king go in front of you king, then check with rook and go after with your king until mated.
==Stalemate.==