plants-vs-zombies


Nameplants-vs-zombies JSON
Version 0.0.5 PyPI version JSON
download
home_pageNone
Summarya simple PlantsVsZombies game
upload_time2024-04-09 07:12:54
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseMIT
keywords pygame
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PythonPlantsVsZombies
  A simple PlantsVsZombies game. <br>
  `It's only for personal learning and noncommercial use. If this game infringes the copyright, please let me know.`
* implement plants: sunflower, peashooter, wallnut, snowpeashooter, cherrybomb, threepeashooter, chomper, puffshroom, potatomine, spikeweed, scaredyshroom, squash, scaredyshroom, jalapeno, sunShroom, iceShroom, hypnoShroom.
* implement zombies: zombie, flagzombie, coneheadzombie, bucketheadzombie, newspaperzombie.
* use json file to store level data (e.g.position and time of zombies, background info)
* support to select plant cards at the beginning of the level
* support day level, night level, moving card select level and wallnut bowling level

# Requirement
* Python 3.7 
* Notice: python version 3.7 is advisable, but not required. For LINUX: if your Linux system has a preinstalled python 3+, it's ok to run this game. Updating to python 3.7 directly may break LINUX Mint.
* Python-Pygame 1.9

# How To Start Game
$ python -m plants_vs_zombies
or
$ pip install plants-vs-zombies
$ plants-vs-zombies

# How to Play
* use mouse to collect sun, select the plant cards and seed the plant 
* you can set the start level by changing START_LEVEL_NUM value in plants_vs_zombies/constants.py
  * level 1 and 2:day level
  * level 3: night level
  * level 4: moving card select level
  * level 5: wallnut bowling level

# Demo
![demo1](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo1.jpg)
![demo2](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo2.jpg)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "plants-vs-zombies",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "pygame",
    "author": null,
    "author_email": "marblexu <47616581+marblexu@users.noreply.github.com>",
    "download_url": "https://files.pythonhosted.org/packages/e4/fe/ac32c648f048e7a3a19f0e58ac52b4593a14cb85b81a244d21516435c1cc/plants-vs-zombies-0.0.5.tar.gz",
    "platform": null,
    "description": "# PythonPlantsVsZombies\n  A simple PlantsVsZombies game. <br>\n  `It's only for personal learning and noncommercial use. If this game infringes the copyright, please let me know.`\n* implement plants: sunflower, peashooter, wallnut, snowpeashooter, cherrybomb, threepeashooter, chomper, puffshroom, potatomine, spikeweed, scaredyshroom, squash, scaredyshroom, jalapeno, sunShroom, iceShroom, hypnoShroom.\n* implement zombies: zombie, flagzombie, coneheadzombie, bucketheadzombie, newspaperzombie.\n* use json file to store level data (e.g.position and time of zombies, background info)\n* support to select plant cards at the beginning of the level\n* support day level, night level, moving card select level and wallnut bowling level\n\n# Requirement\n* Python 3.7 \n* Notice: python version 3.7 is advisable, but not required. For LINUX: if your Linux system has a preinstalled python 3+, it's ok to run this game. Updating to python 3.7 directly may break LINUX Mint.\n* Python-Pygame 1.9\n\n# How To Start Game\n$ python -m plants_vs_zombies\nor\n$ pip install plants-vs-zombies\n$ plants-vs-zombies\n\n# How to Play\n* use mouse to collect sun, select the plant cards and seed the plant \n* you can set the start level by changing START_LEVEL_NUM value in plants_vs_zombies/constants.py\n  * level 1 and 2\uff1aday level\n  * level 3: night level\n  * level 4: moving card select level\n  * level 5: wallnut bowling level\n\n# Demo\n![demo1](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo1.jpg)\n![demo2](https://raw.githubusercontent.com/marblexu/PythonPlantsVsZombies/master/demo/demo2.jpg)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "a simple PlantsVsZombies game",
    "version": "0.0.5",
    "project_urls": {
        "Bug Report": "https://github.com/marblexu/PythonPlantsVsZombies/issues",
        "Download": "https://github.com/marblexu/PythonPlantsVsZombies/releases",
        "Homepage": "https://github.com/marblexu/PythonPlantsVsZombies",
        "Source": "https://github.com/marblexu/PythonPlantsVsZombies"
    },
    "split_keywords": [
        "pygame"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2c319e2272bea85ef159bd3037756cb03d0f2717613e621e0666237da2b8a9b2",
                "md5": "bd334e46fc1e907bea27a0db09b1ebb3",
                "sha256": "c74a46fe7bda5c8f3f379e69c9584140af79d524a30b9ed255659ba9ce11eabb"
            },
            "downloads": -1,
            "filename": "plants_vs_zombies-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bd334e46fc1e907bea27a0db09b1ebb3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6651769,
            "upload_time": "2024-04-09T07:12:49",
            "upload_time_iso_8601": "2024-04-09T07:12:49.536946Z",
            "url": "https://files.pythonhosted.org/packages/2c/31/9e2272bea85ef159bd3037756cb03d0f2717613e621e0666237da2b8a9b2/plants_vs_zombies-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e4feac32c648f048e7a3a19f0e58ac52b4593a14cb85b81a244d21516435c1cc",
                "md5": "b6ede1e3f321fff12dc1ebc3c00b95d1",
                "sha256": "9a6640d417b7e0a7780beb1cb4b6f1d63d6915a0fc6fae884dd956334c664bd5"
            },
            "downloads": -1,
            "filename": "plants-vs-zombies-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "b6ede1e3f321fff12dc1ebc3c00b95d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 6305513,
            "upload_time": "2024-04-09T07:12:54",
            "upload_time_iso_8601": "2024-04-09T07:12:54.324950Z",
            "url": "https://files.pythonhosted.org/packages/e4/fe/ac32c648f048e7a3a19f0e58ac52b4593a14cb85b81a244d21516435c1cc/plants-vs-zombies-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-09 07:12:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "marblexu",
    "github_project": "PythonPlantsVsZombies",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "plants-vs-zombies"
}
        
Elapsed time: 0.23645s