This is a console-based version of Solitaire written in Go.
go get github.com/nirasan/go-solitaire
cd $GOPATH/src/github.com/nirasan/go-solitaire
go get github.com/Masterminds/glide
glide install
go build github.com/nirasan/go-solitaire/cmd/solitaire
solitaire
https://github.com/nirasan/go-solitaire/blob/master/sample/solitaire
- Move cursor: Arrow key or "hjkl"
- Select card: "space"
- Quit: "q" or "escape"
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