CLI Klondike Solitaire written in Rust
This project is built using standard cargo
commands. To run it, check out the
repository and run
$ cargo run
Before it can run, cargo
will have to download and compile all necessary
dependencies, as well as compile this project's source, so it may take a few
moments.
If you don't have Rust, you can get it using Rustup. I will try to keep the project compiling on stable Rust, but I reserve the right to require nightly if there's a really nice feature I want. :)
You can always type h
or ?
to get the help screen!
To be written…
Configuration uses TOML, a popular mark-up language among Rust projects. Below is a sample configuration file which sets all settings to their default values, so you'd only need to include a key if you wanted to change its value.
```toml [display]
color = true
unicode = true
[game]
drawfromstock_len = 3
takefromfoundation = true ```
Configuration files are picked up from several locations, depending on your OS:
$HOME/.klondike-rs.toml
— Any OS
/home/chris/.klondkie-rs.toml
$XDG_CONFIG_HOME/klondike-rs/config.toml
— Linux only
/home/chris/.config/klondkie-rs/config.toml
$HOME/Library/Preferences/net.upliftinglemma.klondike-rs/config.toml
— MacOS only
/Users/Chris/Library/Preferences/net.upliftinglemma.klondike-rs/config.toml
{FOLDERID_RoamingAppData}\upliftinglemma\klondike-rs\config\config.toml
— Windows only
C:\Users\Chris\AppData\Roaming\upliftinglemma\klondike-rs\config\config.toml
This project is still very alpha, but it's at least runnable. Some high-level things that still need to happen:
warn(missing_docs)
.To be written…