{"id":13459208,"url":"https://github.com/marblexu/PythonPlantsVsZombies","last_synced_at":"2025-03-24T16:31:32.089Z","repository":{"id":37979828,"uuid":"204939699","full_name":"marblexu/PythonPlantsVsZombies","owner":"marblexu","description":"a simple PlantsVsZombies game","archived":false,"fork":false,"pushed_at":"2024-05-17T18:52:09.000Z","size":10317,"stargazers_count":3526,"open_issues_count":48,"forks_count":967,"subscribers_count":72,"default_branch":"master","last_synced_at":"2025-03-19T03:11:13.318Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marblexu.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-08-28T13:34:16.000Z","updated_at":"2025-03-18T16:28:31.000Z","dependencies_parsed_at":"2022-07-12T17:04:15.765Z","dependency_job_id":"cd783bbc-d5f5-42d9-9039-d094342e2972","html_url":"https://github.com/marblexu/PythonPlantsVsZombies","commit_stats":{"total_commits":51,"total_committers":4,"mean_commits":12.75,"dds":0.3137254901960784,"last_synced_commit":"afc4ae12c7a19bee5aaa2c20e9d765e1afcccd80"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marblexu%2FPythonPlantsVsZombies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marblexu%2FPythonPlantsVsZombies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marblexu%2FPythonPlantsVsZombies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marblexu%2FPythonPlantsVsZombies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marblexu","download_url":"https://codeload.github.com/marblexu/PythonPlantsVsZombies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245308618,"owners_count":20594278,"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-07-31T09:01:10.380Z","updated_at":"2025-03-24T16:31:28.385Z","avatar_url":"https://github.com/marblexu.png","language":"Python","readme":"# Python版植物大战僵尸\n  一个简单的植物大战僵尸游戏。\n  \n  `仅供个人学习和非商业用途。如果这个游戏侵犯了版权，请告诉我。`\n  \n* 已有的植物： 向日葵, 豌豆射手, 坚果墙, 寒冰豌豆射手, 樱桃炸弹, 三向豌豆射手, 食人花, 喷射蘑菇, 土豆地雷, 杂草地刺, 胆小菇, 南瓜, 愤怒辣椒, 阳光菇, 冰冻蘑菇, 诱惑蘑菇。\n* 已有的僵尸: 普通僵尸, 带队僵尸, 路锥僵尸, 水桶僵尸, 看报僵尸。\n* 使用 JSON 格式的文件存储进度数据 (例如僵尸出现的位置和时间, 背景信息)。\n* 支持选择植物卡片在每一关的开始。\n* 支持白昼模式,夜晚模式,传送带模式和坚果保龄球模式。\n\n# 系统要求\n* Python 3.7 \n* 注意: Python3.7是最佳运行环境，但是不是强制性要求。 对于Linux: 如果你的 Linux 有预装的 Python3+ 就可以运行了。 LINUX Mint 操作系统直接升级到 Python 3.7 有可能导致系统自带的 python 版本无法执行。\n* Python-Pygame 1.9\n\n# 怎样开始游戏\n$ python main.py\n\n# 怎样玩\n* 使用鼠标收集阳光,收集植物卡片和植物的种子。\n* 你可以通过更改 source/constants.py 中的 START＿LEVEL＿NUM 的数值来更改起始关卡：\n  * 1 和 2：白昼模式\n  * 3: 夜晚模式\n  * 4: 传送带模式\n  * 5: 坚果保龄球模式\n\n# 截屏\n![截屏1](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo1.jpg)\n![截屏2](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo2.jpg)\n![截屏3](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo3.jpg)\n","funding_links":[],"categories":["Python","好玩项目"],"sub_categories":["开源游戏"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarblexu%2FPythonPlantsVsZombies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarblexu%2FPythonPlantsVsZombies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarblexu%2FPythonPlantsVsZombies/lists"}