Skip to content

rust sadari game based on terminal! (Ghost leg or Amidakuji in another words)

License

Notifications You must be signed in to change notification settings

24seconds/rust-sadari-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍺 rust-sadari-cli

Crates.io

rust-sadari-cli is sadari game (ghost leg in another words) based on terminal. Check more info here!

Generally, it is used to do lottery game to find random pairs of two sets.

Rust-sadari-cli draws most parts using tui-rs. Tui-rs is awesome library for making cli tools. (Rust-sadari-cli is also listed in tui-rs' Apps using tui section!)

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

About

rust sadari game based on terminal! (Ghost leg or Amidakuji in another words)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages