{"id":20288007,"url":"https://github.com/dopecodez/python-pygame-snake","last_synced_at":"2025-04-11T10:00:08.237Z","repository":{"id":117103046,"uuid":"191685935","full_name":"dopecodez/python-pygame-snake","owner":"dopecodez","description":"Classic Snake made with pygame library and collections.deque!","archived":false,"fork":false,"pushed_at":"2019-11-19T07:27:05.000Z","size":359,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T06:51:13.235Z","etag":null,"topics":["deque","game","pygame","python","python-pygame-snake","snake"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dopecodez.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":"2019-06-13T03:39:32.000Z","updated_at":"2020-05-21T07:07:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"36d130ba-d245-4409-b28c-0ad527164886","html_url":"https://github.com/dopecodez/python-pygame-snake","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/dopecodez%2Fpython-pygame-snake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dopecodez%2Fpython-pygame-snake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dopecodez%2Fpython-pygame-snake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dopecodez%2Fpython-pygame-snake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dopecodez","download_url":"https://codeload.github.com/dopecodez/python-pygame-snake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248372116,"owners_count":21093133,"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":["deque","game","pygame","python","python-pygame-snake","snake"],"created_at":"2024-11-14T14:43:41.186Z","updated_at":"2025-04-11T10:00:08.222Z","avatar_url":"https://github.com/dopecodez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-pygame-snake\n\nClassic Snake Game built with pygame library and collections.deque(Arrays are terrible for the memory). \nThe snake can eat food, grow longer, and collide with itself. \nWho likes boundaries, so snake is free to go through one side of the screen and appear on opposite.\nImplements background sounds, eating sounds and game over sounds using pygame.mixer() with multiple channels.\nAlso displays a score and a game over message. \n\nPlease use the #ESCAPE key to quit the game.\n\nAlso note that the backgound-sound.wav is not uploaded. I shall add a new background sound soon but in the meantime, please add a background-sound.wav file to the sounds folder to get the project up and running.\n\nIf you have any doubts or clarifications on this code or pygame, hit me up and I'll try to help you guys out!\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. \n\n### Prerequisites\n\nYou'll need to install python for running this game. I'm using python 3, you can find it at:\n```\nhttps://www.python.org/downloads/windows/\n```\nYou'll also need to install pygame. You can install pygame by checking out this link and following the steps:\n```\nhttps://www.pygame.org/wiki/GettingStarted\n```\nYou'll also need a code editor to see how the code goes. Use whichever editor which has python support, I use Visual Studio Code on \nWindows 10.\n\n### Installing\n\nA simple step to get the game running. Open the terminal to the folder containing snake.py and just type:\n```\nsnake.py\n```\nIf your python environment is set up, the game should appear on the screen.\n\n## Built With\n\n* [Python 3](https://docs.python.org/3/) - The language used\n* [Pygame](https://www.pygame.org/docs/) - Open Source Game development framework.\n\n## Contributing\n\nAnybody with ideas to genuinely improve the project are welcome. We use git flow, so just pull the repo, cut a branch on develop and put a pull request back to us. We will look through the PR as soon as possible.\n\n## Versioning\nFor the versions available, see the [tags on this repository](https://github.com/your/project/tags). \n\n## Authors\n\n* **Govind S** - *Initial work* - [dopecodez](https://github.com/dopecodez)\n\n## License\n\nThis project is free. Use it in whichever way you please.\n\n## Acknowledgments\n\n* Hat tip to anyone whose code was used\n* Thanks to https://pythonspot.com/snake-with-pygame/ for getting me started\n* Thanks to https://codereview.stackexchange.com/questions/183343/snake-game-on-pygame for giving me ideas.\n* My old Nokia 7800 for insipiring me to get this done\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdopecodez%2Fpython-pygame-snake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdopecodez%2Fpython-pygame-snake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdopecodez%2Fpython-pygame-snake/lists"}