So is it cool if i approach and game a female inna smart way?

Like right now I'm in class and this girl is in front of me (we're all bored) and i was just gonna get a piece of paper and write" you down to play cup pong?, Whats your #?"

I don't know if its smart to game a female and escalate while the whole class is quite. Like its hella quite. Like LIBRARY quite. If i talk EVERYONE CAN HERE ME.