{"id":13560481,"url":"https://github.com/mpereira/tty-solitaire","last_synced_at":"2025-04-09T05:12:21.347Z","repository":{"id":38324944,"uuid":"583744","full_name":"mpereira/tty-solitaire","owner":"mpereira","description":"Play solitaire in your terminal!","archived":false,"fork":false,"pushed_at":"2024-09-22T23:00:44.000Z","size":490,"stargazers_count":292,"open_issues_count":23,"forks_count":34,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-02T04:04:55.500Z","etag":null,"topics":["c","ncurses","solitaire-game","tty-game"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpereira.png","metadata":{"files":{"readme":"README","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-03-28T19:20:25.000Z","updated_at":"2025-03-20T09:38:17.000Z","dependencies_parsed_at":"2024-01-03T04:12:45.432Z","dependency_job_id":"c78dafb2-55c7-41dc-aba3-9305112b1489","html_url":"https://github.com/mpereira/tty-solitaire","commit_stats":{"total_commits":307,"total_committers":18,"mean_commits":"17.055555555555557","dds":0.5472312703583062,"last_synced_commit":"ef83b74a3c791c6faa5ad90fe437a5641ce0795c"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpereira%2Ftty-solitaire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpereira%2Ftty-solitaire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpereira%2Ftty-solitaire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpereira%2Ftty-solitaire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpereira","download_url":"https://codeload.github.com/mpereira/tty-solitaire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980844,"owners_count":21027808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","ncurses","solitaire-game","tty-game"],"created_at":"2024-08-01T13:00:44.896Z","updated_at":"2025-04-09T05:12:21.319Z","avatar_url":"https://github.com/mpereira.png","language":"C","funding_links":[],"categories":["Applications","Games","\u003ca name=\"games\"\u003e\u003c/a\u003eGames","Table of Contents"],"sub_categories":["Games","Directory Navigation"],"readme":"# -*-org-*-\n\n* tty-solitaire\n  Ncurses-based klondike solitaire game.\n\n  #+CAPTION: ttysolitaire gameplay\n  [[https://raw.github.com/mpereira/tty-solitaire/master/resources/ttysolitaire.gif]]\n\n** Dependencies\n   - Terminal emulator with UTF-8 support\n   - C library with multibyte locales support\n   - Ncurses with wide-char/UTF-8 support\n\n** Install\n   [[https://repology.org/project/tty-solitaire/versions][https://repology.org/badge/vertical-allrepos/tty-solitaire.svg]]\n\n*** Using package managers\n**** Arch Linux\n     #+begin_src bash\n     pacman -S tty-solitaire\n     #+end_src\n\n**** macOS\n     #+begin_src bash\n     brew install tty-solitaire\n     #+end_src\n\n**** Debian [[https://wiki.debian.org/DebianTesting][testing]]\n     #+begin_src bash\n     apt install tty-solitaire\n     #+end_src\n\n**** Nix\n     #+begin_src bash\n     nix-env --install tty-solitaire\n     #+end_src\n\n**** Void Linux\n     #+begin_src bash\n     xbps-install -S tty-solitaire\n     #+end_src\n\n**** FreeBSD\n     #+begin_src bash\n     pkg install tty-solitaire\n     #+end_src\n\n**** Slackware\n     [[https://www.slackbuilds.org/repository/14.2/games/tty-solitaire/][Via Slackbuilds]].\n\n**** ALT Linux\n     #+begin_src bash\n     apt-get install tty-solitaire\n     #+end_src\n\n   We still need help making tty-solitaire available on Ubuntu, Fedora, Gentoo,\n   and more. Please give us a hand at [[https://github.com/mpereira/tty-solitaire/issues/29][issue #29]] if you think you can help.\n\n*** From source\n**** Install Ncurses\n     tty-solitaire depends on Ncurses. Some platforms provide it out of the box\n     and some don't, so you might need to install it yourself.\n\n***** Ubuntu\n      #+begin_src bash\n      sudo apt-get install libncurses5-dev libncursesw5-dev\n      #+end_src\n\n***** macOS\n      macOS has Ncurses with wide character support out of the box, so *there's\n      nothing you need to do*.\n\n      *If* for some reason you want to use other Ncurses libraries (from\n      Macports, Homebrew, etc.) you are able to do it by specifying =LDLAGS= in\n      the make invocation. See [[https://github.com/mpereira/tty-solitaire/pull/8][this pull request]] for more information.\n\n**** Install tty-solitaire\n     #+begin_src bash\n     wget -O tty-solitaire-v1.3.1.tar.gz https://github.com/mpereira/tty-solitaire/archive/v1.3.1.tar.gz\n     tar xvf tty-solitaire-v1.3.1.tar.gz\n     cd tty-solitaire-1.3.1\n     make\n     sudo make install\n     #+end_src\n\n** Play\n   Run in your favorite shell:\n\n   #+begin_src bash\n   ttysolitaire\n   #+end_src\n\n** Usage\n   #+begin_src text\n   usage: ./ttysolitaire [OPTIONS]\n     -v, --version              Show version\n     -h, --help                 Show this message\n     -p, --passes               Number of passes through the deck  (default: 3)\n         --four-color-deck      Draw unique card suit colors       (default: false)\n         --no-background-color  Don't draw background color        (default: false)\n   #+end_src\n\n** Development\n*** Get the code\n    #+begin_src bash\n    git clone https://github.com/mpereira/tty-solitaire.git\n    #+end_src\n\n*** Run the unit tests\n    #+begin_src bash\n    make test\n    #+end_src\n\n*** [[https://invisible-island.net/ncurses/man/ncurses.3x.html][Ncurses documentation]]\n\n*** [[https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/][Ncurses programming HOWTO]]\n\n** Author\n   [[http://murilopereira.com][Murilo Pereira]]\n\n** License\n   [[https://github.com/mpereira/tty-solitaire/blob/master/LICENSE][MIT]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpereira%2Ftty-solitaire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpereira%2Ftty-solitaire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpereira%2Ftty-solitaire/lists"}