A small collection of solitaire/patience games to play in the terminal
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
games
src
themes
CMakeLists.txt
LICENSE
README.md
csol.png
csolrc

README.md

csol

A small collection of solitaire games implemented in C using ncurses.

csol

Usage

Compile and run:

cmake .
make
./csol

Games

Klondike (default): csol klondike

Klondike

Yukon: csol yukon

Yukon

Eight Off: csol eightoff

Eight Off

Freecell: csol freecell

Freecell

Russian Solitaire: csol russian

Russian Solitaire

Themes

csol -t default

csol -t default-xl

default-xl

csol -t ascii

ascii

Options

  • --version/-v: Show version
  • --help/-h: Show help
  • --list/-l: List games
  • --themes/-T: List themes
  • --theme <name>/-t <name>: Use a theme
  • --mono/-m: Disable colors
  • --seed <seed>/-s <seed>: Seed the prng
  • --config <file>/-c <file>: Use a configuration file

Configuration

The system-wide configuration file is /etc/xdg/csol/csolrc with games in /etc/xdg/csol/games and themes in /etc/xdg/csol/themes.

Keys

Move the cursor using H, J, K, and L or the arrow keys.

Select the card under the cursor using SPACE.

Move the selected card to the tableau or foundaton under the cursor using M.

Press A to automatically move a card (from any tableau) to a foundation if possible.

Press Q to quit.