{"id":13753953,"url":"https://github.com/mhonert/chess","last_synced_at":"2025-05-09T21:36:17.514Z","repository":{"id":40956305,"uuid":"223772903","full_name":"mhonert/chess","owner":"mhonert","description":":sushi: Wasabi Chess Engine - written in AssemblyScript","archived":false,"fork":false,"pushed_at":"2024-04-23T02:05:26.000Z","size":9706,"stargazers_count":92,"open_issues_count":4,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-04T09:06:20.652Z","etag":null,"topics":["assemblyscript","chess","chess-engine","javascript","react","react-dnd","styled-components","wasm","web-workers"],"latest_commit_sha":null,"homepage":"https://mhonert.github.io/chess","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhonert.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-11-24T16:16:35.000Z","updated_at":"2024-07-26T02:32:19.000Z","dependencies_parsed_at":"2024-04-23T03:57:58.592Z","dependency_job_id":"7c7eaee6-5a42-4757-86e6-c44a8490bef8","html_url":"https://github.com/mhonert/chess","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhonert%2Fchess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhonert%2Fchess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhonert%2Fchess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhonert%2Fchess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhonert","download_url":"https://codeload.github.com/mhonert/chess/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224884615,"owners_count":17386121,"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":["assemblyscript","chess","chess-engine","javascript","react","react-dnd","styled-components","wasm","web-workers"],"created_at":"2024-08-03T09:01:35.600Z","updated_at":"2024-11-16T06:31:12.875Z","avatar_url":"https://github.com/mhonert.png","language":"TypeScript","funding_links":[],"categories":["Projects","TypeScript"],"sub_categories":["Games"],"readme":"## :sushi: Wasabi Chess Engine\n\n![Release](https://img.shields.io/github/v/release/mhonert/chess)\n![Test](https://img.shields.io/github/actions/workflow/status/mhonert/chess/test.yml?label=Test\u0026logo=github)\n[![Website mhonert.github.io./chess](https://img.shields.io/website?url=https%3A%2F%2Fmhonert.github.io%2Fchess)](https://mhonert.github.io/chess)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n\n[\u003cimg src=\"screenshots/chess_mobile.png\" align=\"right\" alt=\"Screenshot\" width=\"25%\"\u003e](screenshots/chess_mobile.png?raw=true)\n\n**Wasabi Chess** is a web-based chess engine, written in AssemblyScript that runs directly in the Browser.\n\n\u003e [**Play here!**](https://mhonert.github.io/chess)\n\nThe React web application embeds the engine using [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API)\nto compute the AI moves in the background without blocking the main thread for the UI.\n\n### Features\n\n- Chess engine implemented in [AssemblyScript](https://github.com/AssemblyScript/assemblyscript)\n- Computer opponent with 6 difficulty levels\n- Opening Database for varied gameplay\n- Move history to undo player moves\n- Drag'n'Drop support to move chess pieces\n- Touch support for mobile devices\n\n### Built With\n* [AssemblyScript](https://github.com/AssemblyScript/assemblyscript) - for the chess engine\n* [as-pect](https://github.com/jtenner/as-pect) - to test the engine\n* [react](https://reactjs.org/) - for the user interface\n* [react-dnd](https://github.com/react-dnd/react-dnd) - for Drag and Drop support\n* [styled-components](https://www.styled-components.com/) - to style React components in JS\n* [react-fontawesome](https://github.com/FortAwesome/react-fontawesome) - for some font icons\n* [workerize-loader](https://github.com/developit/workerize-loader) - to load modules as Web Workers\n* [as-wasi](https://github.com/jedisct1/as-wasi) - for WASI system calls (only for the standalone UCI engine)\n\n### License\nThis project is licensed under the GNU General Public License - see the [LICENSE](LICENSE) for details.\n\n### Attributions\n* Images for the chess pieces come from [Wikimedia Commons](https://commons.wikimedia.org/wiki/Category:SVG_chess_pieces)\n* The opening book was generated from a selection of chess games from the [FICS Games Database](https://www.ficsgames.org)\n* A set of 725000 [test positions](https://bitbucket.org/zurichess/tuner/downloads/) collected by the author of Zurichess was used to tune all evaluation parameters \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhonert%2Fchess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhonert%2Fchess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhonert%2Fchess/lists"}