Markus Shepherd 578c87a76e Update README.md
2020-02-15 21:44:35 +00:00
2020-01-29 14:15:01 +02:00
2020-02-05 15:59:38 +02:00
2020-01-29 14:22:40 +02:00
2020-02-05 16:02:16 +02:00
2020-02-05 16:17:45 +02:00
2020-02-05 16:17:45 +02:00
2020-02-05 16:17:45 +02:00
2020-02-05 16:17:45 +02:00
2020-02-05 16:17:45 +02:00
2020-02-05 16:17:45 +02:00
2020-02-15 21:44:35 +00:00
2020-02-05 13:49:47 +02:00
2020-02-05 16:17:45 +02:00
2020-02-05 15:59:38 +02:00

Ricochet Robots 🤖

A Python implementation of Alex Randolph's 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
S
Description
No description provided
Readme MIT 394 KiB
Languages
Java 88.4%
Python 11.2%
Shell 0.4%