Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/destinecarma/sortpuz-sorter
SortPuz-Sorter is a Rust project inspired by the game SortPuz. This project aims to solve the puzzles.
https://github.com/destinecarma/sortpuz-sorter
dfs rust sorter sortpuz
Last synced: 15 days ago
JSON representation
SortPuz-Sorter is a Rust project inspired by the game SortPuz. This project aims to solve the puzzles.
- Host: GitHub
- URL: https://github.com/destinecarma/sortpuz-sorter
- Owner: DestinEcarma
- License: mit
- Created: 2024-06-09T07:37:11.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T11:49:35.000Z (7 months ago)
- Last Synced: 2024-11-05T15:19:04.490Z (2 months ago)
- Topics: dfs, rust, sorter, sortpuz
- Language: Rust
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SortPuz Sorter
SortPuz-Sorter is a Rust project inspired by the popular puzzle game SortPuz. This project implements an algorithm to solve SortPuz using Depth First Search (DFS). While the DFS algorithm may not always provide the most optimal or shortest solution, it effectively solves the puzzle.
## Usage
First, build the executable file or run it directly in release mode for optimal performance:
```sh
cargo build --release
```or
```sh
cargo run --release
```There is also an option to use the ball method via features:
```sh
cargo run --release --features ball
```Finally, you can display all available options and commands by running the program with the `-h` or `--help` argument:
```sh
cargo run --release -- -h
```## License
This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.