afaucher17 / npuzzle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

N-Puzzle

[![travis-badge][]][travis] [travis-badge]: https://travis-ci.org/Thomas2511/n-puzzle.svg?branch=master&style=flat-square [travis]: https://travis-ci.org/Thomas2511/n-puzzle

Usage

Npuzzle

Taquin (N-Puzzle) is a sliding puzzle that consists of a frame of numbered square tiles in random order with one tile missing.

USAGE:
    n-puzzle [FLAGS] [OPTIONS] --file <file>...

FLAGS:
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -f, --file <file>           Defines the input.
    -h, --heuristic <heuristic>    Defines the heuristic. [values: manhattan]

How to run:

cargo run -- --file <(python npuzzle-gen.py -s 4) <(python npuzzle-gen.py -s 5)

About


Languages

Language:Rust 88.8%Language:Python 11.2%