i though I was winning, why didn't the computer resign.


Isn't computer 20 the highest level?
Why don't you try an easier level?
Well, lets put it this way. It looks to me like you were outplayed and didn't lose because of a misclick. 11. bb5 is a huge blunder, even if it may not be obvious why that is so. You were always lost after that. Being down a pawn when your opponent has the two bishops in an open position is more than sufficient to lose, and stockfish assesses the advantage as worth a full piece. If bb5 was the misclick and you wanted bd3, you'd still be losing, just not as badly.

As far as I know, the computer will never resign. I'm pretty sure the programming assumes you want to play to checkmate, so no matter how far you are ahead the computer will play on as long as it has legal moves. Of course, if it thinks the game is close or it is ahead it certainly won't resign.

Out played because I missed click lol... But in all seriousness, I thought it was a good move. I saw nothing wrong with it. Until I get checkmated, plus I was very angry when playing against the computer so I had no chance from the beginning. I can't even give the computer one free move, as it will destroy me.