Yeah there was a PON sound effect with the bat, so that was presumably her hitting the ball. I'd imagine it's like on of those sports arcades with the batting cages.
Her trying to hit the ball is her trying to convince (or at least tell) herself Ozu-sensei is his girlfriend's and then she does it and hits the ball.