{"id":13822390,"url":"https://github.com/robot-rumble/logic","last_synced_at":"2026-01-14T09:46:24.649Z","repository":{"id":37178292,"uuid":"255359065","full_name":"robot-rumble/logic","owner":"robot-rumble","description":"Logic backend implementation for Robot Rumble","archived":false,"fork":false,"pushed_at":"2024-03-31T14:07:40.000Z","size":978,"stargazers_count":101,"open_issues_count":15,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-27T19:54:31.373Z","etag":null,"topics":["ai-challenge","ai-competition","coding-game","multiplayer-game","online-game","programming-game"],"latest_commit_sha":null,"homepage":"https://robotrumble.org/","language":"Rust","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/robot-rumble.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,"publiccode":null,"codemeta":null}},"created_at":"2020-04-13T15:00:28.000Z","updated_at":"2025-10-13T13:17:15.000Z","dependencies_parsed_at":"2024-03-31T03:24:53.236Z","dependency_job_id":"7e81ea38-bdc8-40dd-be25-9c29eba1f81f","html_url":"https://github.com/robot-rumble/logic","commit_stats":{"total_commits":341,"total_committers":2,"mean_commits":170.5,"dds":0.4897360703812317,"last_synced_commit":"b520b90e391dee4650b463f0201abdb818d2f11c"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/robot-rumble/logic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robot-rumble%2Flogic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robot-rumble%2Flogic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robot-rumble%2Flogic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robot-rumble%2Flogic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robot-rumble","download_url":"https://codeload.github.com/robot-rumble/logic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robot-rumble%2Flogic/sbom","scorecard":{"id":781132,"data":{"date":"2025-08-11","repo":{"name":"github.com/robot-rumble/logic","commit":"b9cc0c6e5e012f41b5c113b8561e747b2d905ec7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2021-0145 / GHSA-g98v-hv3f-hcfr","Warn: Project is vulnerable to: RUSTSEC-2024-0375","Warn: Project is vulnerable to: RUSTSEC-2024-0388","Warn: Project is vulnerable to: RUSTSEC-2024-0014","Warn: Project is vulnerable to: RUSTSEC-2024-0332 / GHSA-q6cp-qfwq-4gcv","Warn: Project is vulnerable to: RUSTSEC-2024-0421 / GHSA-h97m-ww89-6jmq","Warn: Project is vulnerable to: RUSTSEC-2024-0384","Warn: Project is vulnerable to: RUSTSEC-2020-0168","Warn: Project is vulnerable to: GHSA-q445-7m23-qrmw","Warn: Project is vulnerable to: RUSTSEC-2024-0357","Warn: Project is vulnerable to: RUSTSEC-2025-0004 / GHSA-rpmj-rpgj-qmpm","Warn: Project is vulnerable to: GHSA-4fcv-w3qc-ppgg","Warn: Project is vulnerable to: RUSTSEC-2025-0022","Warn: Project is vulnerable to: RUSTSEC-2024-0436","Warn: Project is vulnerable to: RUSTSEC-2024-0370","Warn: Project is vulnerable to: RUSTSEC-2022-0071","Warn: Project is vulnerable to: RUSTSEC-2020-0056","Warn: Project is vulnerable to: GHSA-rr8g-9fpq-6wmg","Warn: Project is vulnerable to: RUSTSEC-2025-0023","Warn: Project is vulnerable to: GHSA-55f3-3qvg-8pv5","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T04:56:50.901Z","repository_id":37178292,"created_at":"2025-08-23T04:56:50.901Z","updated_at":"2025-08-23T04:56:50.901Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-challenge","ai-competition","coding-game","multiplayer-game","online-game","programming-game"],"created_at":"2024-08-04T08:01:58.377Z","updated_at":"2026-01-14T09:46:24.629Z","avatar_url":"https://github.com/robot-rumble.png","language":"Rust","readme":"# robot rumble - logic backend\n\n\u003e https://robotrumble.org\n\n![](https://d3kx2398yo1gg8.cloudfront.net/images/demo.gif)\n\n[![Testing Powered By SauceLabs](https://opensource.saucelabs.com/images/opensauce/powered-by-saucelabs-badge-gray.png?sanitize=true \"Testing Powered By SauceLabs\")](https://saucelabs.com)\n\nRobot Rumble is a game where you code robots to battle other users' bots in an\narena. This is the logic backend, which is primarily written in Rust (using\n`wasm-bindgen` in the browser and tokio + wasmer otherwise).\n\nA detailed writeup of our architecture/infrastructure can be found\n[here](https://rr-docs.readthedocs.io/en/latest/technical-details.html).\n\n### Directory structure\n\n- `logic/`: This contains the pure game logic of robot rumble. It mainly\n  operates on the `RobotRunner` trait, which has a single method that takes in\n  the state of the board and outputs a list of actions for each unit under its\n  control.\n- `lang-runners/`: wasm modules that implement our runner \"ABI\"/\"protocol\", for\n  running user code in a sandboxed WebAssembly environment. Each runner\n  receives JSON-serialized `ProgramInput` structs in stdin, and should print\n  JSON-serialized `ProgramResult`s to stdout (types defined in `logic/`).\n  - `lang-runners/javascript`: implements the\n    [robot rumble API/environment](https://rr-docs.readthedocs.io/en/latest/index.html)\n    for JavaScript, running JS code in the\n    [quickjs](https://bellard.org/quickjs/) interpreter.\n  - `lang-runners/python`: the same as above, but running Python in\n    [RustPython](https://rustpython.github.io).\n  - `lang-runners/lang-common.*`: \"shared\" functionality used for implementing\n    `lang-runner`s.\n- `env-runners/`: libraries or binaries that wrap the `logic` crate in order to\n  run in environments like AWS lambda or the browser. Notably absent is the\n  `rumblebot` CLI, which lives in its own repo at\n  [robot-rumble/cli](https://github.com/robot-rumble/cli).\n  - `env-runners/browser/`: a `wasm-bindgen` wasm module that runs robots as\n    web workers, in conjunction with the portions of the\n    [garage](https://github.com/robot-rumble/battle-viewer/blob/master/src/garage/match.worker.js)\n    that are written in JS.\n  - `env-runners/lambda`: an AWS lambda function that runs a battle between two\n    robots and outputs the results to SQS for our backend server to process.\n  - `env-runners/lambda-cache`: a tool to precompile the lang-runners to native\n    code for running on lambda.\n  - `env-runners/native`: a crate providing a `RobotRunner` that runs in tokio,\n    with robots running as (blocking) tokio tasks. This is used by the cli and\n    the `lambda` runner.\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobot-rumble%2Flogic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobot-rumble%2Flogic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobot-rumble%2Flogic/lists"}