{"id":21435532,"url":"https://github.com/mountain/battlefield2","last_synced_at":"2025-08-15T17:05:20.954Z","repository":{"id":261002398,"uuid":"882953908","full_name":"mountain/battlefield2","owner":"mountain","description":"A genetic neural evolution platform for Robot Rumble Game","archived":false,"fork":false,"pushed_at":"2024-11-17T16:49:04.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T23:13:49.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/mountain.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":"2024-11-04T05:31:48.000Z","updated_at":"2024-11-17T16:49:07.000Z","dependencies_parsed_at":"2024-11-04T08:56:01.894Z","dependency_job_id":null,"html_url":"https://github.com/mountain/battlefield2","commit_stats":null,"previous_names":["mountain/battlefield2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mountain/battlefield2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fbattlefield2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fbattlefield2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fbattlefield2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fbattlefield2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mountain","download_url":"https://codeload.github.com/mountain/battlefield2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mountain%2Fbattlefield2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270602449,"owners_count":24614260,"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-08-15T02:00:12.559Z","response_time":110,"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":[],"created_at":"2024-11-22T23:44:31.388Z","updated_at":"2025-08-15T17:05:20.904Z","avatar_url":"https://github.com/mountain.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zot-bot\n\nAn evolutionary neural-network bot playing [Robot Rumble games](https://robotrumble.org/).\n\nTo run the python code, you need download rumblebot and create a symbol link to rumblebot in the project root.\n\n## how to run\n\ninstall dependencies\n\n```bash\nbrew install redis\npip3 install redis rq rq-dashboard sh\nln -s RUMBLEBOT PROJ_DIR\n```\n\ninitialize the genetic pool with size of 1000\n\n```bash\nzb init -n 1000\n```\n\nstart the workers\n\n```bash\nzb worker -t match -n 10\n```\n\nexecute the genetic evolution\n\n```bash\nzb run -n 10000\n```\n\nreport the first 10 seeds\n\n```bash\nzb report -n 10\n```\n\n### commands\n\n#### init \ninitialize the genetic pool with size of 1000\n\n```bash\nzb init -n 1000\n```\n\n#### worker \nexecute the worker asynchronously\n\n```bash\nzb worker -t match -n 10\n```\n\ncurrently only two buildin task(the -t paramater) are supported\n* match\n* exam\n\n#### run \nexecute the genetic evolution\n\n```bash\nzb run -n 10000\n```\n\n#### report \nreport the first 10 seeds\n\n```bash\nzb report -n 10\n```\n\n#### peek \ngiven the detailed information of the seed with bid 1234\n\n```bash\nzb peek -b 1234\n```\n\n#### poke \ngiven the code of the seed with bid 1234\n\n```bash\nzb poke -b 1234\n```\n\n#### benchmark \nmake a benchmark between bot with bid 1234 and the buildin random-bot\n\n```bash\nzb benchmark -b 1234 -t random-bot -n 200\n```\n\ncurrently only four buildin bot are supported\n* random-bot\n* flail\n* chaser\n* black-magic\n\n#### play \nmake a play between bot with bid 1234 and the buildin random-bot\n\n```bash\nzb play -b 1234 -t random-bot -m web\n```\n\ncurrently only two buildin bot are supported\n* random-bot\n* flail\n* chaser\n* black-magic\n\ntwo mode are supported\n* term\n* web\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmountain%2Fbattlefield2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmountain%2Fbattlefield2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmountain%2Fbattlefield2/lists"}