In baseball or softball , a strikeout ( or strike-out ) occurs when a batter accumulates three strikes during a time at bat .
A strikeout is when a batter makes three successive failed attempts to hit the ball .