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.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate command_line_solitaire

Use it

The package has the following executables:

$ solitaire

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add command_line_solitaire

With Flutter:

 $ flutter pub add command_line_solitaire

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  command_line_solitaire: ^1.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:command_line_solitaire/command_line_solitaire.dart';
1
likes
160
points
20
downloads

Publisher

verified publisherdivvit.co

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on command_line_solitaire