user16037: My friend played this game as white and wants to know how this is a stalemate. I do not know much about chess and both of us would like to know more about this rule. 
k7/2Q5/8/P2P4/1R6/8/2P3PP/6K1 w - - 0 1

1.Rb6 1/2-1/2


user13147: Stalemate is a checkmate without check. The king is not being attacked but it cannot go anywhere. It is a draw.
If Black had other pieces (or pawns), he may move them - passing the move to you - and then checkmate is surely imminent by 1. Qb7#. If all of Black's pieces cannot move anywhere, the game is a draw.

user16038: Stalemate is defined as the player's whose turn it is to not be in check, & cannot make a legal move (black's only piece, the king, can only move to squares where it will be in check, which is illegal). 
By playing Rb6 (or possibly Rxb6), your friend walked into that exact situation. Essentially, she blocked off all the squares the King could move to, which is stalemate (& the result is a draw). It might have been a mistake, or it could have been the best move given the situation.
Additional discussion beyond the original question
If there was a black queen on b6, your friend capturing (Rxb6) was the best move, because they would have to get out of check. They can capture with the queen, the rook, or the pawn, but all three lead to stalemate (a draw is all they can hope for here). If they try to move the king out of check, black takes their queen and has a tiny advantage going into the endgame.
Interestingly, if there was a black bishop on b6 threatening the king, the best move would be to move the king and give up the queen. A rook plus several pawns will eventually overpower a lone bishop in the endgame.
If your friend captured anything other than a queen or bishop on b6, that was a blunder that forced stalemate from a winning position. 
If there was no black piece on b6, your friend also had the game basically won. They could have finished it with:
1.Rb8# (Rook moves to the dark square up and to the left of the Queen, and checkmate) 
Another option: 
1.Qb8# (Queen moves to the same square, and checkmate) among other moves. 
The last two cases are perfect examples of how chess can punish or reward you in one move; you can be totally winning and then end up with what is essentially a tie because you messed up.

16037: <p>My friend played this game as white and wants to know how this is a stalemate. I do not know much about chess and both of us would like to know more about this rule. </p>

<pre><code>k7/2Q5/8/P2P4/1R6/8/2P3PP/6K1 w - - 0 1

1.Rb6 1/2-1/2
</code></pre>
 13147: <p>Stalemate is a checkmate without check. The king is not being attacked but it cannot go anywhere. It is a draw.</p>

<p>If Black had other pieces (or pawns), he may move them - passing the move to you - and then checkmate is surely imminent by 1. Qb7#. If all of Black's pieces cannot move anywhere, the game is a draw.</p>
 16038: <p><strong>Stalemate</strong> is defined as the player's whose turn it is to not be in check, &amp; cannot make a legal move (black's only piece, the king, can only move to squares where it will be in check, which is illegal). </p>

<p>By playing <strong><code>Rb6</code></strong> (or possibly <strong><code>Rxb6</code></strong>), your friend walked into that exact situation. Essentially, she blocked off all the squares the King could move to, which is stalemate (&amp; the result is a draw). It might have been a mistake, or it could have been the best move given the situation.</p>

<p><strong>Additional discussion beyond the original question</strong></p>

<p>If there was a black queen on b6, your friend capturing (<strong><code>Rxb6</code></strong>) was the best move, because they would have to get out of check. They can capture with the queen, the rook, or the pawn, but all three lead to stalemate (a draw is all they can hope for here). If they try to move the king out of check, black takes their queen and has a tiny advantage going into the endgame.</p>

<p>Interestingly, if there was a black bishop on b6 threatening the king, the best move would be to move the king and give up the queen. A rook plus several pawns will eventually overpower a lone bishop in the endgame.</p>

<p>If your friend captured anything other than a queen or bishop on b6, that was a blunder that forced stalemate from a winning position. </p>

<p>If there was no black piece on b6, your friend also had the game basically won. They could have finished it with:</p>

<p><strong><code>1.Rb8#</code></strong> (Rook moves to the dark square up and to the left of the Queen, and checkmate) </p>

<p>Another option: </p>

<p><strong><code>1.Qb8#</code></strong> (Queen moves to the same square, and checkmate) among other moves. </p>

<p>The last two cases are perfect examples of how chess can punish or reward you in one move; you can be totally winning and then end up with what is essentially a tie because you messed up.</p>
