{"id":24752832,"url":"https://github.com/adri326/5dchess-tools","last_synced_at":"2025-10-10T23:30:41.518Z","repository":{"id":48622632,"uuid":"291456583","full_name":"adri326/5dchess-tools","owner":"adri326","description":"Toolset for 5D Chess computer-aided analysis written in Rust","archived":false,"fork":false,"pushed_at":"2021-07-17T09:05:31.000Z","size":798,"stargazers_count":15,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T03:51:01.019Z","etag":null,"topics":["5d-chess","chess-engine"],"latest_commit_sha":null,"homepage":"https://www.5dchesswithmultiversetimetravel.com/","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/adri326.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":"2020-08-30T11:26:14.000Z","updated_at":"2025-02-05T04:44:34.000Z","dependencies_parsed_at":"2022-09-15T21:02:56.343Z","dependency_job_id":null,"html_url":"https://github.com/adri326/5dchess-tools","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/adri326/5dchess-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adri326%2F5dchess-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adri326%2F5dchess-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adri326%2F5dchess-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adri326%2F5dchess-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adri326","download_url":"https://codeload.github.com/adri326/5dchess-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adri326%2F5dchess-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005573,"owners_count":26083919,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":["5d-chess","chess-engine"],"created_at":"2025-01-28T10:51:30.269Z","updated_at":"2025-10-10T23:30:41.254Z","avatar_url":"https://github.com/adri326.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 5dchess-tools\n\nProgramming set of tools to analyze [5D Chess](https://5dchesswithmultiversetimetravel.com/) games.\n\n***Note**: you are currently seeing an old, unmaintained version of this library.*\n*The library is currently being rewritten in its entirety as part of the `0.2` update.*\n*You can see and contribute to its progress over on the [`v2` branch](https://github.com/adri326/5dchess-tools/tree/v2)!*\n\n## Installation\n\nClone this repository:\n\n```sh\ngit clone https://github.com/adri326/5dchess-tools/\ncd 5dchess-tools\n```\n\nThen build or run it using `cargo`:\n\n```sh\ncargo run path/to/game.json\n```\n\nThe current, included executable will read a JSON file (outputted by [this parser](https://github.com/adri326/5dchess-notation/)) and proceed to run calculations on it.\n\n### As a dependency\n\nAdd the following to your `Cargo.toml`:\n\n```\n[dependencies.chess5dtools]\nversion = \"0.1\"\ngit = \"https://github.com/adri326/5dchess-tools\"\n```\n\nYou can then import the different modules in your code, for instance:\n\n```rs\nuse chess5dlib::game::*;\n```\n\n## Usage\n\nThe library half of this tool is labelled as `chess5dlib` (the executable and package `chess5dtools`).\n\n- The various structures making a game's state can be found in `chess5dlib::game` (`/lib/game.rs`).\n- Per-board move-related logic can be found in `chess5dlib::moves` (`/lib/moves.rs`).\n- Moveset-related logic can be found in `chess5dlib::moveset` (`/lib/moveset.rs`).\n  Note that as I am writing this, these functions are heavily oriented towards a branch factor-limited, tree-based analysis.\n- Board scoring logic can be found in `chess5dlib::resolve` (`/lib/resolve.rs`, might be renamed later)\n- αβ-pruned search and other tree-based search algorithms can be found in `chess5dlib::tree`\n\n## Notes\n\nThis game can reach very complex states (multi-dimensional series of checks, having to create several timelines in a specific order, etc.).\nSoundness over checkmate proof is complicated to achieve and has been found to sometimes be extremely computationally expensive.\n\nIt could be very expensive to list out all of the possible movesets (sets of moves per turn), thus the algorithms here are based around a lazy method of generating these movesets.\nThis method relies on a two-pass analysis of the moves:\n\n- moves are listed for every board\n- for every board, moves are scored and illegal moves are pruned (**first pass**),i n the same way that the game shows you a red indicator when you try out these moves in the original game\n- moves are lazily combined, based on their ordering made in the first pass\n- movesets are scored and illegal movesets are pruned (**second pass**)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadri326%2F5dchess-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadri326%2F5dchess-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadri326%2F5dchess-tools/lists"}