Marbles Puzzle

Object: Delete all marbles except for one, which—with its last marble-smashing move—should land on the gray target position.
Click one of the arrow buttons to the north, south, east, or west of a marble.
The nearest marble in the row (or column) that can be shifted in the direction of the arrow is shifted as far as there are positions vacant. It must hit another marble, and this second marble is eliminated.
Beginners: Delete all marbles except for one.
Advanced: With its last marble-smashing move, the last surviving marble should land on the gray target position.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


There are 31 randomized and six fixed setups to choose from. In the challenges with randomized setups, you have to click the empty board first. Challenges with randomized setups do not have a target position for the last remaining marble.
You can select among 26 randomized setups. An empty board without marbles appears. Click the board anywhere to let the system randomly drop a certain number of marbles.
"<",">" setter bar:
Click to select the previous or next challenge.
Takes you back to the scrambled starting position. To see a differently randomized setup for this challenge, select a different challenge and then select the desired challenge again (use "<," then ">").
Counts the moves; useful when you compete for the fastest solution with your friends.
Click to return to last move.
This puzzle was previously published as the Zillions game "Marbles" by the same author.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+