Did I break my finger

So I went bowling last night with a couple of friends and during one of my throws, when I threw it I heard my middle finger crack. Now I'm a 2 handed bowler and sometimes for practice I'll rest my fingers on the holes to work on consistency and what not. But this time when I heard it crack, it immediately began to swell and I can move it but it hurts to bend past the first knuckle.