command_line_solitaire 1.1.0 copy "command_line_solitaire: ^1.1.0" to clipboard
command_line_solitaire: ^1.1.0 copied to clipboard

A command-line implementation of the Klondike Solitaire game, written in dart.

example/README.md

Command Line Solitaire Example #

This is a simple example of how to use the Command Line Solitaire package.

Installation #

dart pub global activate command_line_solitaire

Usage #

If you are using a unix-like operating system, you can run the game by running the following command:

solitaire

If you are using Windows, you can run the game by running the exact same command:

solitaire

Controls #

  • Arrow keys - Move cursor
  • Space - Select/Place cards
  • 'd' - Draw card
  • 'u' - Undo
  • 'r' - Redo
  • 'a' - Auto-complete
  • 'q' - Quit

Game Rules #

Standard Klondike Solitaire rules apply:

  • Build foundation piles up by suit (starting with Ace)
  • Build tableau piles down by alternating colors
  • Only Kings can be placed in empty tableau columns
  • Click through the deck to reveal new cards
1
likes
160
points
26
downloads

Publisher

verified publisherdivvit.co

Weekly Downloads

A command-line implementation of the Klondike Solitaire game, written in dart.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on command_line_solitaire