This is a console-based version of Solitaire written in Go
Go
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.
cmd/solitaire
klondike
sample
.gitignore
README.md
glide.lock
glide.yaml
solitaire.iml

README.md

go-solitaire : Solitaire Written in Go

This is a console-based version of Solitaire written in Go.

install

go get github.com/nirasan/go-solitaire
cd $GOPATH/src/github.com/nirasan/go-solitaire

go get github.com/Masterminds/glide
glide install

Build

go build github.com/nirasan/go-solitaire/cmd/solitaire

Execute

solitaire

Playable sample for mac

https://github.com/nirasan/go-solitaire/blob/master/sample/solitaire

How to play

  • Move cursor: Arrow key or "hjkl"
  • Select card: "space"
  • Quit: "q" or "escape"

ls mode

The output of the ls mode is to simulate the output of the ls command . Please play while at work by all means .

solitaire --mode=ls