{"id":24975292,"url":"https://github.com/glolichen/potato-chess-browser","last_synced_at":"2025-03-29T07:15:44.555Z","repository":{"id":37659770,"uuid":"471902828","full_name":"glolichen/potato-chess-browser","owner":"glolichen","description":"A short and simple chess engine that works in the browser","archived":false,"fork":false,"pushed_at":"2023-07-28T14:10:58.000Z","size":4542,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T20:55:16.079Z","etag":null,"topics":["algorithm","chess","engine","javascript","webassembly"],"latest_commit_sha":null,"homepage":"https://glolichen.github.io/potato-chess-browser","language":"C++","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/glolichen.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}},"created_at":"2022-03-20T06:55:44.000Z","updated_at":"2024-07-07T15:45:49.000Z","dependencies_parsed_at":"2023-07-28T15:26:07.218Z","dependency_job_id":"b95dd13c-9ec3-41c9-abb9-ea3ccdbac8ee","html_url":"https://github.com/glolichen/potato-chess-browser","commit_stats":null,"previous_names":["glolichen/potato-chess-browser"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glolichen%2Fpotato-chess-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glolichen%2Fpotato-chess-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glolichen%2Fpotato-chess-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glolichen%2Fpotato-chess-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glolichen","download_url":"https://codeload.github.com/glolichen/potato-chess-browser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246150453,"owners_count":20731419,"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":["algorithm","chess","engine","javascript","webassembly"],"created_at":"2025-02-03T20:55:21.082Z","updated_at":"2025-03-29T07:15:44.537Z","avatar_url":"https://github.com/glolichen.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Potato Chess\n\n## Fork of https://github.com/glolichen/potato-chess-uci\n\nA chess engine written in C++ and compiled to Web Assembly\n\nFeatures:\n * Written in C++ and compiled to web assembly using [Emscripten](https://github.com/emscripten-core/emscripten)\n   * Compiled using the command `em++ src/*.cpp -o js/engine.js -lembind -O3 -sALLOW_MEMORY_GROWTH`\n   * Memory growth must be allowed as memory usage usually exceeds 16MB\n * Can also be used as a desktop app (electron) for maximum performance\n * Bitboard-based move generator\n * 30-100 million nodes per second move generator (depends on platform and position)\n   * Keeps track of pinned pieces and the direction they are pinned\n   * Keeps track of squares attacked by the opponent to prevent king from moving there\n * Tapered evaluation (uses game phase to \"weigh\" the importance of midgame score to endgame score) with piece tables\n * Minimax search with Alpha-Beta pruning\n * Transposition table with Zobrist Hashing\n * Move ordering is used to guess the strength of moves to speed up AB pruning\n * Syzygy endgame tablebase (powered by [Lichess](https://github.com/lichess-org/lila-tablebase))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglolichen%2Fpotato-chess-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglolichen%2Fpotato-chess-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglolichen%2Fpotato-chess-browser/lists"}