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
Metadata
Release files for ricochet-robots 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ricochet-robots-0.0.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ricochet_robots-0.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / ricochet-robots-0.0.0.tar.gz
| Download URL | ricochet-robots-0.0.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4949aad69457c6b617900ea45501f53effecd5b6c8f02f4e57fcf2412f392e0
|
|
BLAKE2b-256 checksum How to use checksums |
6870ec0feba74616ea22063ddf2c18a1b9119de3d6ab1f6a4e456f2a2499246e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / ricochet_robots-0.0.0-py2.py3-none-any.whl
| Download URL | ricochet_robots-0.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7df0c826457f463467dff064a859f710e553d36f1582026c65099d8071e17b1e
|
|
BLAKE2b-256 checksum How to use checksums |
7a0f3cfda6de4dc95f4827b8199b203477790749a465c9a1d4e3b2c97c176cc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|