{"id":17609889,"url":"https://github.com/emmiegit/chess","last_synced_at":"2025-03-29T23:40:34.170Z","repository":{"id":144515749,"uuid":"482312263","full_name":"emmiegit/chess","owner":"emmiegit","description":"Code and experiments related to chess and chess engines.","archived":false,"fork":false,"pushed_at":"2024-04-11T02:59:07.000Z","size":161,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T01:26:53.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/emmiegit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-04-16T17:01:03.000Z","updated_at":"2022-10-23T17:55:22.000Z","dependencies_parsed_at":"2024-04-11T03:43:53.350Z","dependency_job_id":null,"html_url":"https://github.com/emmiegit/chess","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmiegit%2Fchess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmiegit%2Fchess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmiegit%2Fchess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmiegit%2Fchess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmiegit","download_url":"https://codeload.github.com/emmiegit/chess/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258863,"owners_count":20748573,"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-22T17:10:29.646Z","updated_at":"2025-03-29T23:40:34.150Z","avatar_url":"https://github.com/emmiegit.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## mallard-chess\n\n\u003ca href=\"https://github.com/emmiegit/chess/actions?query=workflow%3A%22Build%22\"\u003e\n  \u003cimg src=\"https://github.com/emmiegit/chess/workflows/Build/badge.svg\"\n       alt=\"Build status\"\u003e\n\u003c/a\u003e\n\nChess engine wrapper created for fun. Intended for use with xboard; utilizes the [Universal Chess Interface](https://en.wikipedia.org/wiki/Universal_Chess_Interface).\n\nTo use it in xboard, add engine lines similar to the following:\n```\n\"Pacifist\" -fcp \"mallard-chess pacifist\" -fUCI\n\"Worstfish\" -fcp \"mallard-chess -N 10000 worstfish\" -fUCI\n```\n\nThese chess engines are my implementation of some of the silly strategies used in [tom7](http://tom7.org)'s fantastic video [30 Weird Chess Algorithms: Elo World](https://www.youtube.com/watch?v=DpXy041BIlA).\n\n## Requirements\n\nBecause the engine uses [stockfish](https://stockfishchess.org/) for actual game engine decisioning, it must be installed and available in your `$PATH`.\n\nThis code should be portable, but I do not use Windows and am not confident it will work flawlessly.\n\n## Execution\n\n```\ncargo run --release -- [options] \u003cengine\u003e\n```\n\nRun with `--help` for command-line usage. Current engines are:\n* `random` (Choose moves at random)\n* `pacifist` (Avoids making moves that checkmate, capture, or check)\n* `stockfish` (Run Stockfish normally)\n* `worstfish` (Use Stockfish to choose the worst-scoring moves)\n* `mediocrefish` (Uses Stockfish to choose a median score move)\n* `drawfish` (Uses Stockfish to attempt to stalemate)\n* `scoville` (Plays X% of moves using Stockfish, diluting the rest with random moves)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmiegit%2Fchess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmiegit%2Fchess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmiegit%2Fchess/lists"}