If you're talking to a girl and she seems keen but then mentions the boyfriend at some point, is it game over?

In my head it's her saying she's off limits.

I'll carry on a convo while I finish my fag/drink, I'll still tease her and whatever just because I can, they'll often stroke my face/arm, this is often with girls who've approached me!

Wtf is going on in these situations?