Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/24seconds/rust-sadari-cli
rust sadari game based on terminal! (Ghost leg or Amidakuji in another words)
https://github.com/24seconds/rust-sadari-cli
amidakuji ghost-leg ghostleg rust sadari tui
Last synced: about 1 month ago
JSON representation
rust sadari game based on terminal! (Ghost leg or Amidakuji in another words)
- Host: GitHub
- URL: https://github.com/24seconds/rust-sadari-cli
- Owner: 24seconds
- License: other
- Created: 2020-03-23T15:45:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-11T14:47:06.000Z (over 4 years ago)
- Last Synced: 2024-10-31T11:46:56.346Z (about 2 months ago)
- Topics: amidakuji, ghost-leg, ghostleg, rust, sadari, tui
- Language: Rust
- Homepage:
- Size: 232 KB
- Stars: 32
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ratatui - rust-sadari-cli - Rust sadari game based on terminal! (Ghost leg or Amidakuji in another words). (đģ Apps / đšī¸ Games and Entertainment)
README
# đē rust-sadari-cli
[![Crates.io](https://img.shields.io/crates/v/rust-sadari-cli.svg)](https://crates.io/crates/rust-sadari-cli)
`rust-sadari-cli` is sadari game (ghost leg in another words) based on terminal. Check more info [here!](https://en.wikipedia.org/wiki/Ghost_Leg)
> Generally, it is used to do lottery game to find random pairs of two sets.
Rust-sadari-cli draws most parts using [tui-rs](https://github.com/fdehau/tui-rs). Tui-rs is awesome library for making cli tools. (Rust-sadari-cli is also listed in [tui-rs' Apps using tui section!](https://github.com/fdehau/tui-rs#apps-using-tui))
### Demo
#### main page
#### result page
-------------
### đ´ How to use?
#### Run with file path!
```
$ cargo run ./text.txt
```In `text.txt` file... (two lines of texts separated by comma)
```
Iron man, Spider man, Thanos, Doctor strange, Captim america, Thor
Soul, Time, Space, Mind, Reality, Power
```--------------
#### Just Run! rust-sadari will ask several questions to you!
```
$ cargo run
```It will ask you some inputs like this!
```
Type list of names separated by comma! ex) name1, name2, name3 ...Q,q) Quit
$ type:
```
--------------#### Installation
For rust users
```
$ cargo install rust-sadari-cli
```