Marbles Puzzle

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

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.


Contributed by: Karl Scherer (April 2014)
Open content licensed under CC BY-NC-SA



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.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.