All Projects → mpereira → Tty Solitaire

mpereira / Tty Solitaire

Licence: mit
Play solitaire in your terminal!

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Tty Solitaire

Ncursesfm
Ncurses File Manager for linux
Stars: ✭ 79 (-55.62%)
Mutual labels:  ncurses
Pspg
Unix pager (with very rich functionality) designed for work with tables. Designed for PostgreSQL, but MySQL is supported too. Works well with pgcli too. Can be used as CSV or TSV viewer too. It supports searching, selecting rows, columns, or block and export selected area to clipboard.
Stars: ✭ 1,749 (+882.58%)
Mutual labels:  ncurses
Mocp
Music On Console Player
Stars: ✭ 171 (-3.93%)
Mutual labels:  ncurses
Pulseaudio Mixer Cli
Interactive python/ncurses UI to control volume of pulse streams
Stars: ✭ 86 (-51.69%)
Mutual labels:  ncurses
Tig
Text-mode interface for git
Stars: ✭ 10,497 (+5797.19%)
Mutual labels:  ncurses
Neix
neix - a RSS/Atom feed reader for your terminal.
Stars: ✭ 128 (-28.09%)
Mutual labels:  ncurses
Corewar
School 42 project // Implementation of programming game “Core War” [Champions + Assembler + Disassembler + Virtual Machine + Visualizer]
Stars: ✭ 76 (-57.3%)
Mutual labels:  ncurses
Tremc
Curses interface for transmission
Stars: ✭ 174 (-2.25%)
Mutual labels:  ncurses
Vifm
Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Stars: ✭ 1,822 (+923.6%)
Mutual labels:  ncurses
Tuicss
Text-based user interface CSS library
Stars: ✭ 167 (-6.18%)
Mutual labels:  ncurses
Netbsd Curses
libcurses and dependencies taken from netbsd and brought into a portable shape (at least to musl or glibc)
Stars: ✭ 93 (-47.75%)
Mutual labels:  ncurses
Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (-44.94%)
Mutual labels:  ncurses
Tetris
Tetris in C and NCURSES.
Stars: ✭ 130 (-26.97%)
Mutual labels:  ncurses
Turbo
An experimental text editor based on Scintilla and Turbo Vision.
Stars: ✭ 78 (-56.18%)
Mutual labels:  ncurses
Corewar
A reproduction of the Core War game. Assembly compiler, Virtual Machine and GUI.
Stars: ✭ 173 (-2.81%)
Mutual labels:  ncurses
Pacmixer
an alsamixer alike for PulseAudio.
Stars: ✭ 78 (-56.18%)
Mutual labels:  ncurses
Nnn
n³ The unorthodox terminal file manager
Stars: ✭ 13,138 (+7280.9%)
Mutual labels:  ncurses
2048 Cli
The game 2048 for your Linux terminal (https://github.com/gabrielecirulli/2048)
Stars: ✭ 176 (-1.12%)
Mutual labels:  ncurses
Mandown
man-page inspired Markdown viewer
Stars: ✭ 173 (-2.81%)
Mutual labels:  ncurses
Programmer Calculator
Terminal calculator made for programmers working with multiple number representations, sizes, and overall close to the bits
Stars: ✭ 135 (-24.16%)
Mutual labels:  ncurses

--org--

  • tty-solitaire Ncurses-based klondike solitaire game.

    #+CAPTION: ttysolitaire gameplay [[https://raw.github.com/mpereira/tty-solitaire/master/resources/ttysolitaire.gif]]

** Dependencies

  • Terminal emulator with UTF-8 support
  • C library with multibyte locales support
  • Ncurses with wide-char/UTF-8 support

** Install [[https://repology.org/project/tty-solitaire/versions][https://repology.org/badge/vertical-allrepos/tty-solitaire.svg]]

*** Using package managers **** Arch Linux #+begin_src bash pacman -S tty-solitaire #+end_src

**** macOS #+begin_src bash brew install tty-solitaire #+end_src

**** Nix #+begin_src bash nix-env --install tty-solitaire #+end_src

**** Void Linux #+begin_src bash xbps-install -S tty-solitaire #+end_src

**** FreeBSD #+begin_src bash pkg install tty-solitaire #+end_src

**** Slackware [[https://www.slackbuilds.org/repository/14.2/games/tty-solitaire/][Via Slackbuilds]].

**** ALT Linux #+begin_src bash apt-get install tty-solitaire #+end_src

We still need help making tty-solitaire available on Ubuntu, Fedora, Gentoo, and more. Please give us a hand at [[https://github.com/mpereira/tty-solitaire/issues/29][issue #29]] if you think you can help.

*** From source **** Install Ncurses tty-solitaire depends on Ncurses. Some platforms provide it out of the box and some don't, so you might need to install it yourself.

***** Ubuntu #+begin_src bash sudo apt-get install libncurses5-dev libncursesw5-dev #+end_src

***** macOS macOS has Ncurses with wide character support out of the box, so there's nothing you need to do.

  *If* for some reason you want to use other Ncurses libraries (from
  Macports, Homebrew, etc.) you are able to do it by specifying =LDLAGS= in
  the make invocation. See [[https://github.com/mpereira/tty-solitaire/pull/8][this pull request]] for more information.

**** Install tty-solitaire #+begin_src bash wget -O tty-solitaire-v1.3.0.tar.gz https://github.com/mpereira/tty-solitaire/archive/v1.3.0.tar.gz tar xvf tty-solitaire-v1.3.0.tar.gz cd tty-solitaire-1.3.0 make sudo make install #+end_src

** Play Run in your favorite shell:

#+begin_src bash ttysolitaire #+end_src

** Usage #+begin_src text usage: ./ttysolitaire [OPTIONS] -v, --version Show version -h, --help Show this message -p, --passes Number of passes through the deck (default: 3) --four-color-deck Draw unique card suit colors (default: false) --no-background-color Don't draw background color (default: false) #+end_src

** Development *** Get the code #+begin_src bash git clone https://github.com/mpereira/tty-solitaire.git #+end_src

*** Run the unit tests #+begin_src bash make test #+end_src

*** [[https://invisible-island.net/ncurses/man/ncurses.3x.html][Ncurses documentation]]

*** [[https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/][Ncurses programming HOWTO]]

** Author [[http://murilopereira.com][Murilo Pereira]]

** License [[https://github.com/mpereira/tty-solitaire/blob/master/LICENSE][MIT]]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].