So I this girl alot before my history class, and have never had the balls to approach her. So I was chilling in the library, and she walks in to study. I knew this was my chance to make my move. I walked up to her and said

me-"hey i thought you were really pretty and wanted to introduce my self"

her-"oh thanks" (had kinda a surprised look on her face)

I hold out my hand and give her my name. She shakes my hand and say it was nice to meet me. BUT she didn't give me her name.Was I supposed to ask for her name? I new and all to game, so i took it as a Fuck Off and just left. Did i bail to early, or was she just not interested? Should I try again next time I see her, or move on? Any advice would be greatly appreciated.