An implementation of Alex Randolph's game Ricochet Robots
Project description
RicochetRobots
A simple implementation of Alex Randolph's board game Ricochet Robots including solver.
Compile
Compile the Java code with the command:
mkdir --parents bin
javac -classpath java/lib/commons-cli-1.3.1.jar \
-d bin \
java/src/info/riemannhypothesis/ricochetrobots/*.java
Run
To run, type
./solve.sh -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
./solve.sh -b boards/3.txt -g
For a full description of all available command line options, simply type
./solve.sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ricochet-robots-0.0.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for ricochet_robots-0.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7df0c826457f463467dff064a859f710e553d36f1582026c65099d8071e17b1e |
|
MD5 | ad0e8aa2e5ad2494bc00edd93abef9f7 |
|
BLAKE2b-256 | 7a0f3cfda6de4dc95f4827b8199b203477790749a465c9a1d4e3b2c97c176cc4 |