cools maths gamesSurprise me

Backyard Slugger

Time each swing against an endless stream of pitches and try to drive the ball fair and over the outfield wall.

Backyard Slugger title screen
  • Partly works on mobile
Report a problem

Turn your phone sideways for a bigger view of this game.

Backyard Slugger is a top-down baseball batting game where you face pitch after pitch in a small ballpark. All you do is swing, so timing is everything. The goal is to send the ball fair, between the two foul lines, and over the outfield fence for a home run.

How Backyard Slugger Works

After you press Play, the pitcher starts throwing. Each pitch varies a little in speed and location. Roughly two in three head for the yellow zone painted over home plate, and the others go wide, high or low.

Swinging is quick, close to 0.25 seconds from start to finish, as the bat sweeps across the zone. If you connect, a percentage shows how clean the contact was. The ball flies off square to the bat’s angle at contact, so swinging early or late sends it toward a foul line.

The count works like a real at-bat. A whiff counts as a strike, and so does a good pitch you let pass. A pitch that misses the zone counts as a ball. Three strikes is an out, four balls is a walk, and either one wipes the count clean.

Your First Few Minutes

  1. Press Play and watch two or three pitches go by without swinging.
  2. Notice which pitches cross the yellow zone and which ones miss.
  3. Swing at the next good pitch with Space, a click or a tap.
  4. A foul to the left means you were early, so wait a bit.
  5. A foul to the right means you were late, so start sooner.

Controls for Backyard Slugger

Keyboard, mouse and touch controls for Backyard Slugger
To do thisKeyboardMouseTouch screen
Swing the batSpace (gamepad A)Left clickTap the screen
Call the next pitch right awayEnternot usednot used
Reset your session statsRnot usednot used
Pause, restart or quitEscClick the menu icon (top right)Tap the menu icon (top right)

What It Trains

This game is about reaction timing. You learn to start the swing before the ball reaches the plate, since the bat takes time to sweep through.

It also builds focus and judgment. Each pitch is a quick yes-or-no call on whether it will land in the zone, and patience earns walks while chasing earns strikes.

Strategy Notes

  • Swing ahead of the ball. Begin moving the bat before the pitch reaches the plate.
  • Take the bad ones. Pitches outside the zone become balls if you leave them alone.
  • Hunt the sweet spot. Contact near the bat’s end and center line gives the fastest ball.
  • Correct after fouls. Use the direction of each foul to nudge your timing.
  • Call pitches with Enter. It skips the short pause and keeps a steady rhythm.

Good to Know

A tap on any part of the screen swings the bat, so phones work, but the view is wide, so turn the screen sideways. Sessions can be as short or long as you like. It was built by Frank Force using LittleJS, with Box2D handling the physics.

Backyard Slugger questions and answers

Does the game ever end?

No. Nothing times you and no out ends the session, so treat it as open batting practice. Outs and walks just reset the count, and you may stay at the plate for as long as you want.

Should I swing at every pitch?

No. About one pitch in three lands outside the yellow box. If you hold still on those, they count as balls, and four balls gives you a walk. Swinging and missing adds a strike.

How do I reset my stats?

Press R. Your counts of hits, perfect hits and homers, plus your longest hit, remain visible for the session until you reset them that way.

What makes a hit PERFECT?

A contact score above 90 percent. To get there, connect out near the tip of the bat and right along its middle line. Above 65 percent shows Solid hit, and lower scores show Contact.

Games that use reflexes like Backyard Slugger

Different rules, same kind of thinking.

Try something from another shelf