Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.
/ thyme Public archive

Command-line interface implementation of Sage Solitaire

License

Notifications You must be signed in to change notification settings

kattrali/thyme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thyme

A command-line interface implementation of Sage Solitaire.

screenshot

Installation

Homebrew

brew install kattrali/formulae/thyme

Source

Dependencies

Thyme is written in Rust, and built using version 1.41.0. It depends on ncurses 6.0.

Building

Run make install to install thyme to /usr/local/bin, or use DESTDIR to specify an alternate location:

DESTDIR=/some/directory make install

Usage

Run thyme. Use the directional keys to move the card selection cursor and press the spacebar to toggle card selection. Select a set of cards to make a hand, then press return to play the move. A single card may occasionally be selected as a discard move. The goal is to clear all cards from the board.

Keys

  • Arrow keys or WASD: Move the cursor
  • Q: Quit game
  • Space: Toggle card selection
  • Return: Play card selection as a hand

Hands

  • Straight Flush: Five consecutive cards of the same suit
  • Four of a Kind: Four cards with the same value
  • Flush: Five cards with the same suit
  • Full House: Three cards with the same value and two cards with the same value
  • Five-card Straight: Five consecutive cards of various suits
  • Three of a Kind: Three cards with the same value
  • Three-card Straight: Three consecutive cards of various suits
  • Pair: Two cards with the same value
  • Trash: Discard a single card

About

Command-line interface implementation of Sage Solitaire

Resources

License

Stars

Watchers

Forks