user27243: 
This is a position from an endgame I played that I do not understand. How did I get a checkmate in this game? Is this a glitch? I ask this because I am pretty sure that Black's queen could take my White queen.

user12629: The position shown is not checkmate. As you say, the queen can be captured. Even if that wasn't the case, there are two squares the king can escape to, and there's also a pawn that could move to block the check.

27243: <p><a href="https://i.stack.imgur.com/bnfDf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bnfDf.jpg" alt="enter image description here" /></a></p>
<p>This is a position from an endgame I played that I do not understand. How did I get a checkmate in this game? Is this a glitch? I ask this because I am pretty sure that Black's queen could take my White queen.</p>
 12629: <p>The position shown is <em>not</em> checkmate. As you say, the queen can be captured. Even if that wasn't the case, there are two squares the king can escape to, and there's also a pawn that could move to block the check.</p>
