Skip to main content

An implementation of Alex Randolph's game Ricochet Robots

Project description


A simple implementation of Alex Randolph's board game Ricochet Robots including solver.


Compile the Java code with the command:

mkdir --parents bin
javac -classpath java/lib/commons-cli-1.3.1.jar \
    -d bin \


To run, type

./ -b <board> -g

This will place four robots in random positions on the board, pick one of the targets and one of the robots to reach it, try to find a solution (within the move and time contraints specified), and then give a graphical representation of the moves.

E.g., if you want to solve the board 3 in the repository, simply run

./ -b boards/3.txt -g

For a full description of all available command line options, simply type


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ricochet-robots, version 0.0.0
Filename, size File type Python version Upload date Hashes
Filename, size ricochet_robots-0.0.0-py2.py3-none-any.whl (3.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size ricochet-robots-0.0.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page