https://github.com/akuli/curses-klondike
Terminal klondike solitaire game
https://github.com/akuli/curses-klondike
Last synced: 3 months ago
JSON representation
Terminal klondike solitaire game
- Host: GitHub
- URL: https://github.com/akuli/curses-klondike
- Owner: Akuli
- License: mit
- Created: 2019-01-01T11:39:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-19T23:34:42.000Z (over 1 year ago)
- Last Synced: 2025-01-06T01:53:14.033Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 292 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Curses klondike
This is a text-based [klondike] game written in C++ using curses.
[klondike]: https://en.wikipedia.org/wiki/Klondike_(solitaire)

If you don't like colors, use the `--no-colors` option:

If you have apt, you can install all dependencies like this:
$ sudo apt install git make g++ libncurses5-dev libncursesw5-dev
Then you can download my code, compile it and run.
$ git clone https://github.com/Akuli/curses-klondike
$ cd curses-klondike
$ make -j2
$ ./cursesklon
## FAQ
### How do I exit this game?
It's not vim, so you can quit it like any other sane curses program (less,
bsdgames tetris etc). In other words, press q to quit.
### I don't like the rules that this game uses! When X happens, it should do Y instead of Z
See `./cursesklon --help`. Maybe one of the options is what you want. If none
of them is, [create an issue].
[create an issue]: https://github.com/Akuli/curses-klondike/issues/new
### Why did you write a klondike game?
Because it's fun.
### Why did you write a klondike game using curses?
Because it's fun.
### Does it work on Windows?
No, but Windows comes with a klondike. Windows command prompt and powershell
are kind of awful anyway, and you probably want to use GUI applications instead
of them whenever possible.