Brick Breaker
Bounce, break, and clear the wall. Made by Frank Force (LittleJS).
Move the mouse to steer the paddle. Touch and gamepad also supported.
How to play
- Keep the ball in play with the paddle at the bottom of the screen.
- Every brick you hit disappears and adds to your score.
- Clear the wall to start again with the ball moving faster.
- Letting the ball past the paddle costs you.
Playing it better
- Hit the ball with the edge of the paddle to send it out at a sharp angle.
- Aim for a tunnel up one side. A ball trapped above the wall clears rows on its own.
- Return the paddle toward the centre between hits so you can reach either side.
- Small corrections beat frantic sweeps once the ball picks up speed.
About Brick Breaker
This brick breaker is the official example game for LittleJS, an open source game engine by Frank Force, and it is a good deal more polished than the word example suggests. It has particle effects on every impact, sound, a post processing pass over the whole screen and physics that feel right, all under the MIT licence.
The mechanic that gives the genre its depth is paddle angle control. The ball does not simply mirror off your paddle. Where it lands matters: strike it near the centre and it comes back steeply, catch it on the outer edge and it flies off at a shallow angle across the screen. Once you can place the ball on purpose you stop reacting and start aiming.
Experienced players chase the tunnel. Instead of clearing the wall evenly they grind a vertical channel up one side, squeeze the ball through the gap, and let it rattle along the top destroying a row at a time while the paddle waits below. Setting one up costs accuracy early, and a successful tunnel clears more bricks in a few seconds than a minute of careful play.
Because LittleJS is built for very small builds, the whole game loads almost instantly and runs at a steady frame rate on modest hardware. It also doubles as a readable demonstration of the engine, so if you have ever wanted to see how a compact JavaScript game engine handles rendering, audio and input, the source is right there.
Advertisement
Common questions
What is LittleJS?+
An open source JavaScript game engine by Frank Force, built for small, fast browser games. This game ships as its official example.
Can I use a gamepad?+
Yes. Mouse, touch and gamepad input are all supported.
How do I aim the ball?+
By where it hits the paddle. The contact point sets the rebound angle.
What licence is it under?+
MIT, with the engine and licence file served alongside the game.
Play something else

2048
Slide matching tiles and chase the big number.
PuzzleMIT

Hextris
Spin the hexagon and match the colours before they stack.
PuzzleGPL-3.0

Pacman
Clear the maze, dodge four ghosts, eat the power pills.
ArcadeWTFPL v2 (public domain equivalent)

Clumsy Bird
One tap keeps you flying. The pipes do the rest.
ArcadeGPL-3.0