{"id":17714550,"url":"https://github.com/nickzuber/chs","last_synced_at":"2025-05-10T22:53:14.209Z","repository":{"id":41233378,"uuid":"191454427","full_name":"nickzuber/chs","owner":"nickzuber","description":"♝♞ Play chess against the Stockfish engine in your terminal.","archived":false,"fork":false,"pushed_at":"2022-07-28T08:09:26.000Z","size":12921,"stargazers_count":211,"open_issues_count":19,"forks_count":24,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-10T22:53:06.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/nickzuber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-11T21:42:58.000Z","updated_at":"2025-04-02T14:54:29.000Z","dependencies_parsed_at":"2022-07-28T21:18:52.783Z","dependency_job_id":null,"html_url":"https://github.com/nickzuber/chs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickzuber%2Fchs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickzuber%2Fchs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickzuber%2Fchs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickzuber%2Fchs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickzuber","download_url":"https://codeload.github.com/nickzuber/chs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253492636,"owners_count":21916964,"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":[],"created_at":"2024-10-25T11:15:28.660Z","updated_at":"2025-05-10T22:53:14.178Z","avatar_url":"https://github.com/nickzuber.png","language":"Python","funding_links":[],"categories":["\u003ca name=\"games\"\u003e\u003c/a\u003eGames"],"sub_categories":[],"readme":"# ♗ chs\n\n\u003e Play chess against the Stockfish engine in your terminal.\n\n\u003cimg src=\"https://travis-ci.org/nickzuber/chs.svg?branch=master\" /\u003e \u003cimg src=\"https://img.shields.io/badge/project-active-brightgreen.svg\" /\u003e \u003cimg src=\"https://img.shields.io/badge/status-stable-brightgreen.svg\" /\u003e \u003cimg src=\"https://img.shields.io/pypi/dm/chs.svg?color=yellow\" /\u003e \u003cimg src=\"https://img.shields.io/pypi/format/chs.svg\" /\u003e \u003cimg src=\"https://img.shields.io/badge/state-released-brightgreen.svg\" /\u003e \u003cimg src=\"https://img.shields.io/badge/license-MIT%20Licence-blue.svg\" /\u003e\n\n\u003cimg src=\"https://user-images.githubusercontent.com/10540865/119232802-80c34700-baf4-11eb-9fed-af558575ae4e.png\" /\u003e\n\n### Table of Contents\n\n- [Installation](#installation)\n  - [Pip](#pip)\n  - [Arch Linux](#arch-linux)\n- [Usage](#usage)\n  - [How to start playing](#how-to-start-playing)\n  - [How to play](#how-to-play)\n- [License](#license)\n\n## Installation\n\n#### Pip\n\nThis package is available via PyPi.\n\n```\n$ python3 -m pip install chs\n```\n\n#### Arch Linux\n\nThere is a [chs-git](https://aur.archlinux.org/packages/chs-git/) package in the Arch User Repository, which you can install with an AUR helper:\n\n```\n$ yay -S chs-git || paru -S chs-git\n```\n\n## Usage\n\nTo play against the default level 1 (easiest) version of the Stockfish engine, just run `chs` command.\n\n### How to start playing\n\n```\n$ chs\n```\n\nTo see all possible options, use the help command.\n\n```\n$ chs help\n```\n\nTo play as the black pieces, use the `--play-black` flag.\n\n```\n$ chs --play-black\n```\n\nYou can also specify the level of the engine if you want to tweak the difficulty.\n\n```\n$ chs --level=8\n```\n\n### How to play\n\nThere are a few things you can do while playing:\n\n- Make moves using valid algebraic notation (e.g. `Nf3`, `e4`, etc.).\n- Take back your last move by playing `back` instead of a valid move.\n- Get a hint from the engine by playing `hint` instead of a valid move.\n\n## License\n\nThis software is free to use under the MIT License. See [this reference](https://opensource.org/licenses/MIT) for license text and copyright information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickzuber%2Fchs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickzuber%2Fchs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickzuber%2Fchs/lists"}