Rules copied from Black Box from Simon Tatham's Portable Puzzle Collection. Simon Tatham's online implementation. This implementation was created independently from the same set of rules - I haven't seen Simon Tatham's source code. As such, this is not intended as a port to rust -- simply a fun programming exercise I undertook to recreate a puzzle game I enjoyed.
(assuming you have a working rust toolchain installed)
- Clone this repo.
- Build the executable.
cargo build --release
- Run the executable and play!
cargo run -- 10
binary file location:target/release/lightbox
./lightbox --help
to see the full usage instructions