{"id":18552013,"url":"https://github.com/bepb/python-bot","last_synced_at":"2025-04-09T22:31:46.352Z","repository":{"id":43787469,"uuid":"422978489","full_name":"BEPb/python-bot","owner":"BEPb","description":"offline bot for game on chrome","archived":false,"fork":false,"pushed_at":"2022-03-01T05:43:37.000Z","size":346,"stargazers_count":46,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T13:05:04.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/BEPb.png","metadata":{"files":{"readme":"README.chinese.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":"2021-10-30T19:59:20.000Z","updated_at":"2024-09-28T09:44:50.000Z","dependencies_parsed_at":"2022-08-12T10:42:23.193Z","dependency_job_id":null,"html_url":"https://github.com/BEPb/python-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BEPb%2Fpython-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BEPb%2Fpython-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BEPb%2Fpython-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BEPb%2Fpython-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BEPb","download_url":"https://codeload.github.com/BEPb/python-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248123685,"owners_count":21051512,"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":[],"created_at":"2024-11-06T21:11:35.356Z","updated_at":"2025-04-09T22:31:45.524Z","avatar_url":"https://github.com/BEPb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Profile views](https://gpvc.arturio.dev/BEPb) \n![GitHub top language](https://img.shields.io/github/languages/top/BEPb/python-bot) \n![GitHub language count](https://img.shields.io/github/languages/count/BEPb/python-bot)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/BEPb/python-bot)\n![GitHub repo size](https://img.shields.io/github/repo-size/BEPb/python-bot) \n![GitHub](https://img.shields.io/github/license/BEPb/python-bot) \n![GitHub last commit](https://img.shields.io/github/last-commit/BEPb/python-bot)\n\n![GitHub User's stars](https://img.shields.io/github/stars/BEPb?style=social)\n\n\nЧитать на других языках: [English](README.md), [हिन्दी](README.hindi.md), [Russian](README.ru.md)\n\n## CHROME 瀏覽器離線遊戲機器人\n\n____\n![](./media/title.gif)\n\n在自動模式下，在 windows 操作系統下啟動 Chrome 瀏覽器，也會自動檢測屏幕分辨率，\n根據收到的數據，它找到主角 - 恐龍併計算響應區域。 我的個人\n這個機器人的記錄是3119，但你覺得弱嗎？...\n\n##如何安裝和運行\n____\n### 克隆存儲庫\n \n```sh\n$ cmd\n$ git clone https://github.com/BEPb/python-bot\n$ cd python-bot\n```\n \n### 安裝必要的包（安裝依賴）\n```sh\n$    -r requirements.txt\n```\n###關掉網絡，這個要確定，不然瀏覽器裡不會出現遊戲\n### 運行我們的機器人\n \n```sh\n$ python bot_offline.py\n```\n\n機器人打開最後一頁並更新它，在沒有互聯網的情況下，遊戲打開。因為算法\n 僅基於一個區域的定義，不考慮接近物體的速度增加\n 是最佳的，當你輸了，遊戲會在 15 秒後重新開始，在輸掉之後。該程序本身提供了一個日誌\n 文件，考慮到屏幕分辨率和每個遊戲的持續時間。\n      \n 對於手動選擇響應區域，還編寫了 draft.py 程序，它將執行所有相同的操作。\n 啟動瀏覽器後，它將為您保存一個屏幕截圖，並在響應區域突出顯示黑色矩形。\n 我非常詳細地描述了代碼，對於它的改進，這是唯一的歡迎。 Python 規則\n \n____\n![](./media/python.jpeg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbepb%2Fpython-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbepb%2Fpython-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbepb%2Fpython-bot/lists"}