Metadata-Version: 2.1
Name: ricochet-robots
Version: 0.0.0
Summary: An implementation of Alex Randolph's game Ricochet Robots
Home-page: https://gitlab.com/mshepherd/ricochet-robots
Author: Markus Shepherd
Author-email: robots@recommend.games
License: MIT
Project-URL: Documentation, https://gitlab.com/mshepherd/ricochet-robots/blob/master/README.md
Project-URL: Source, https://gitlab.com/mshepherd/ricochet-robots
Project-URL: Tracker, https://gitlab.com/mshepherd/ricochet-robots/issues
Keywords: ricochet robots,game
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown


# RicochetRobots

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

## Compile

Compile the Java code with the command:

```bash
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

```bash
./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

```bash
./solve.sh -b boards/3.txt -g
```

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

```bash
./solve.sh
```


