pygame-gameover


Namepygame-gameover JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/kurban-hussain-786/MY-CODE
SummaryIt game gameover module
upload_time2023-05-05 07:19:18
maintainer
docs_urlNone
authorkurban hussain
requires_python
licenseMIT
keywords gameover in pygame pygame gameover gameover over game game over pygame_gameover gameover_pygame pygame game pygame pygame gameover
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # first from pygame_gameover import gameover
from pygame_gameover import gameover
import pygame
import sys
screen=pygame.display.set_mode((1000,500))

# this is a example of gameover

def gameloop():
    game=True
    while game:
        for event in pygame.event.get():
            if event.type==pygame.QUIT:
                game=False
                sys.exit()
            if event.type==pygame.KEYDOWN:
                if event.key==pygame.K_s:
                    # second gameover.gameover() and is module call the gameover function
                    gameover.gameover()


        screen.fill((255,255,0))           

        pygame.display.update()


gameloop()

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kurban-hussain-786/MY-CODE",
    "name": "pygame-gameover",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "gameover in pygame,pygame gameover,gameover,over game,game over,pygame_gameover,gameover_pygame,pygame game,pygame,pygame GAMEOVER",
    "author": "kurban hussain",
    "author_email": "kurbanhussain086@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d0/10/3a8e1c2eb76b04a0c30db081b1b6742adb5aa87a73c003862e0a1dcf200f/pygame_gameover-0.0.4.tar.gz",
    "platform": null,
    "description": "# first from pygame_gameover import gameover\r\nfrom pygame_gameover import gameover\r\nimport pygame\r\nimport sys\r\nscreen=pygame.display.set_mode((1000,500))\r\n\r\n# this is a example of gameover\r\n\r\ndef gameloop():\r\n    game=True\r\n    while game:\r\n        for event in pygame.event.get():\r\n            if event.type==pygame.QUIT:\r\n                game=False\r\n                sys.exit()\r\n            if event.type==pygame.KEYDOWN:\r\n                if event.key==pygame.K_s:\r\n                    # second gameover.gameover() and is module call the gameover function\r\n                    gameover.gameover()\r\n\r\n\r\n        screen.fill((255,255,0))           \r\n\r\n        pygame.display.update()\r\n\r\n\r\ngameloop()\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "It game gameover module",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/kurban-hussain-786/MY-CODE"
    },
    "split_keywords": [
        "gameover in pygame",
        "pygame gameover",
        "gameover",
        "over game",
        "game over",
        "pygame_gameover",
        "gameover_pygame",
        "pygame game",
        "pygame",
        "pygame gameover"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e105ed53f7c8f51205412651bcdd7c4ee97cf138ce74c8a424b593349d8d7f40",
                "md5": "4d8b1f42a37295ba8c45fff664a665ec",
                "sha256": "633bc873230d4c15edfa3da812ceb2088fa56e28e11334ef217de7ec639e5093"
            },
            "downloads": -1,
            "filename": "pygame_gameover-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4d8b1f42a37295ba8c45fff664a665ec",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3594,
            "upload_time": "2023-05-05T07:19:02",
            "upload_time_iso_8601": "2023-05-05T07:19:02.638033Z",
            "url": "https://files.pythonhosted.org/packages/e1/05/ed53f7c8f51205412651bcdd7c4ee97cf138ce74c8a424b593349d8d7f40/pygame_gameover-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0103a8e1c2eb76b04a0c30db081b1b6742adb5aa87a73c003862e0a1dcf200f",
                "md5": "634de6f272eed26b8081db6cc88adfd5",
                "sha256": "3898c28fd23ef48a6ce7f004ac47f73305ee9dc8c1ae09a102a9d50330cee288"
            },
            "downloads": -1,
            "filename": "pygame_gameover-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "634de6f272eed26b8081db6cc88adfd5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3151,
            "upload_time": "2023-05-05T07:19:18",
            "upload_time_iso_8601": "2023-05-05T07:19:18.823005Z",
            "url": "https://files.pythonhosted.org/packages/d0/10/3a8e1c2eb76b04a0c30db081b1b6742adb5aa87a73c003862e0a1dcf200f/pygame_gameover-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-05 07:19:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kurban-hussain-786",
    "github_project": "MY-CODE",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pygame-gameover"
}
        
Elapsed time: 0.08449s