Pegball drops a ball from a cannon at the top of a tall board full of blue pegs, with 14 orange pegs hidden among them. You choose the angle, fire, and watch gravity and bounces do the rest. Clear all the orange pegs within 10 balls to win. It is a good feel-for-physics game, because you slowly learn how angle and contact point change a path. Frank Force built it for the LittleJS Arcade.

Playing a board

Press PLAY. Aim anywhere inside a wide cone below the cannon, and a dotted line shows your starting direction. Fire, and the ball falls and bounces off every peg it touches. Struck pegs light up and disappear shortly after, so the board thins out as you go.

Blue pegs pay 100 points, orange pegs 1,000 and the green peg 5,000, each multiplied by the combo for that shot. The top bar shows score, orange pegs left and balls left. Clear the last orange peg to win, or use up all your balls and the round closes with your score and best combo.

Pegball Controls

Controls for Pegball
ActionKeyboardMouseTouch
Aim the cannonLeft and Right arrows, or A and DMove the pointerTouch where you want to aim
ShootSpaceLeft clickTap
PauseEsc——

The physics you are learning

The ball follows a curved path under gravity, and each bounce changes its direction based on where it hits a round peg. A hit near the center throws it back the way it came. A hit near the edge deflects it to the side and keeps its speed moving downward. Learning that rule by feel is a lot like learning how angles of reflection work.

You also build an instinct for probability. You cannot predict ten bounces ahead, but you can tilt the odds by aiming at crowded areas.

Tips for more orange hits

  • Use early shots to clear blue pegs around orange clusters so later shots reach them directly.
  • Aim to clip the side of a peg rather than its middle.
  • Save the green peg for when the ball still has many pegs below it.
  • Watch the bucket’s rhythm before firing a long, straight drop.
  • When two orange pegs remain, choose a precise shot over a showy combo.

Saving, Devices and Play Time

Pegball plays well in portrait on phones: touch where you want to aim and tap to fire. Your best score is saved. For another aim-based game, try Marble Spiral, or keep a ball in play in Brick Smash.

Tested and updated: