I think either excited or confused. Since the first sentence is well, with an exclamation point, I guess I would lean towards excited. It would help to know more of the story.
This is an example of a misplaced modifier. One instead could say, While I was playing basketball in the driveway, my ball was punctured by a cactus. Hope this helps