Sounds like you may have stalemate him maybe, without seeing the game it's a guess.
Why is this a draw instead of checkmate?

my next move ends the game in a draw. For example, I had my King on g3 and my Queen on g8. My opponent only had his king left...on h6. I moved my king to h4 and had his king in check. Shouldn’t his only moves available allow me to checkmate him?
I'd like to know which move you had in mind. If you were black, what move would you make in that position?
my next move ends the game in a draw. For example, I had my King on g3 and my Queen on g8. My opponent only had his king left...on h6. I moved my king to h4 and had his king in check. Shouldn’t his only moves available allow me to checkmate him? Instead the game ended in a draw. Why?