{"id":15908217,"url":"https://github.com/wilhelmagren/pychess","last_synced_at":"2026-05-01T09:31:44.683Z","repository":{"id":49249202,"uuid":"379079707","full_name":"wilhelmagren/pychess","owner":"wilhelmagren","description":"Terminal User Interface for playing chess. Either against your friend or the Deep CNN limited look ahead agent.","archived":false,"fork":false,"pushed_at":"2021-11-21T18:54:07.000Z","size":1098552,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-23T08:46:09.369Z","etag":null,"topics":["ai","autoencoder","chess","classification","convolutional-neural-networks","deep-learning","deep-neural-networks","machine-learning","pygame","python-chess","pytorch","regression"],"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/wilhelmagren.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":"2021-06-21T22:36:09.000Z","updated_at":"2022-10-03T16:38:39.000Z","dependencies_parsed_at":"2022-09-02T15:31:27.879Z","dependency_job_id":null,"html_url":"https://github.com/wilhelmagren/pychess","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wilhelmagren/pychess","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilhelmagren%2Fpychess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilhelmagren%2Fpychess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilhelmagren%2Fpychess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilhelmagren%2Fpychess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilhelmagren","download_url":"https://codeload.github.com/wilhelmagren/pychess/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilhelmagren%2Fpychess/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai","autoencoder","chess","classification","convolutional-neural-networks","deep-learning","deep-neural-networks","machine-learning","pygame","python-chess","pytorch","regression"],"created_at":"2024-10-06T14:12:05.930Z","updated_at":"2026-05-01T09:31:44.665Z","avatar_url":"https://github.com/wilhelmagren.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Pychess logo](images/pychess.png)\n# ♟️ Pychess, the minimal python chess GUI/TUI \nHave you every wondered where all the great GUI applications written in Python are? Or are you an oldschooler that loves immersing yourself in a black and green 16bit terminal? Then Pychess offers just the thing for you. An easy to setup chess GUI or TUI implemented with minimalism in mind (currently only supports Terminal User Interface).\n\nFollow the below steps in order to install all dependencies and set up Pychess:\n```\n$ git clone https://github.com:willeagren/pychess.git\n$ cd pychess\n$ python3 -m pip install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio===0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html\n$ python3 -m pip install chess==1.7.0\n$ python3 -m pip install numpy==1.21.2\n$ python3 -m pip install matplotlib==3.4.3\n```\n\nIf you are running this in a Windows terminal, then you need to install additional **curses** package:\n```\n$ python3 -m pip install windows-curses==2.2.0\n```\n\nTo run unittests for all modules run **test.sh**, and to start with default settings in TUI mode for 2 players run **run.sh**.\nStarting with default options requires you to run the python file like this\n```\n$ python3 pychess [mode] [players] [options]\n\npositional arguments:\n        mode                                set running mode to either TUI or GUI\n        players                             set number of players to either 1 or 2\n    optional arguments:\n        -h, --help                          show this help message and exit\n        -v, --verbose                       print debugs in verbose mode\n        -n NAME NAME, --names NAME NAME     set the player names\n        -t TIME, --time TIME                set the time format (in seconds)\n        -i INCREMENT, --increment INCREMENT set the time increment (in seconds)\n```\n\n# Deep CNN for limited look ahead playing\nStatic evalution of chess positions to play with limited look ahead, i.e. only searching the moves available in the current state.\n\n\n### Contact and license\nAuthor: Wilhelm Ågren, wagren@kht.se\n\u003cbr\u003eLicense: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilhelmagren%2Fpychess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilhelmagren%2Fpychess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilhelmagren%2Fpychess/lists"}