Crates.io | solkit |
lib.rs | solkit |
version | 1.0.1 |
source | src |
created_at | 2020-12-26 23:43:35.90111 |
updated_at | 2021-01-11 06:06:24.145751 |
description | A bunch of solitaires and solitaire construction kit for terminals |
homepage | |
repository | https://github.com/VladimirMarkelov/solkit |
max_upload_size | |
id | 327660 |
size | 344,485 |
SolKit
is a solitaire construction kit and a lot of playable solitaires out of the box.
The application contains 26 built-in solitaires (23 distinct ones and 3 modifications).
Moreover, you can create a new solitaire with your own rules and test it.
If a new solitaire looks good to you, please, send me its rules(the file you passed to solkit
) or open an PR and I'll include it into a new release.
The built-in set of rules is limited, but you can experiment with different rule combinations and modifications:
Free cell
and Klondike
, or American Toad
and Klondike
Klondike
with fewer or greater number of columnsKlondike
with two decks and 4 foundations with ascending order starting from Ace, and other 4 foundations in descending order starting from KingPile'em up
The application provides two themes. The dark one(default one) that looks like a regular terminal application with black background:
dark theme with four suit colors enabled:
and Classic theme that looks like a table to play card games with green background:
The game is optimized for playing with keyboard, but mouse can be used as well(few terminals still do not support mouse, including new Windows Terminal, but it works in Windows cmd.exe
terminal).
Keyboard and mouse controls are describes in details in user's manual.
The application can be compiled from source, or installed using cargo:
$ cargo install solkit
You need Rust compiler that supports Rust 2018 edition to do it. If you want to upgrade existing SolKit
, execute the following command:
$ cargo install solkit --force
For Windows and Linux(musl-based build) you can download pre-compiled 64-bit binaries from Release page.
By default, solkit
saves all settings and statistics to user's configuration directory:
%APPDATA%\rionnag\solkit
~/.config/rionnag/solkit
If you create an empty file config.toml
(or copy it from user's configuration directory) in the same directory where solkit
executable binary is,
the application turns a portable one and since the next launch it will save its settings and your statistics local to the binary.
Note: if you played for a while and want to keep you statistics after making the application portable, do not forget to copy both files:
config.toml
: various application settings, including the last played solitairestats.toml
: detailed statistics for each played solitaireMIT or Apache 2.0
Thank you all who play Solkit
and send me new solitaires, report bugs, and propose new features.
Feel free to send bugs, suggestions, and pull requests.