{"id":19283933,"url":"https://github.com/dimagutierrez/python-games","last_synced_at":"2025-04-22T03:31:37.145Z","repository":{"id":65447281,"uuid":"569721649","full_name":"DimaGutierrez/Python-Games","owner":"DimaGutierrez","description":"6 Games with turtle graphics 🐢 Python","archived":false,"fork":false,"pushed_at":"2024-11-09T12:11:32.000Z","size":7542,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-09T13:19:40.657Z","etag":null,"topics":["games","idle","import","python","tetris","tetris-game","tetrisgame","time","turtle","turtle-graphics","winsound"],"latest_commit_sha":null,"homepage":"","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/DimaGutierrez.png","metadata":{"files":{"readme":"README.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":"2022-11-23T13:18:35.000Z","updated_at":"2024-11-09T12:11:36.000Z","dependencies_parsed_at":"2024-10-23T00:25:23.654Z","dependency_job_id":null,"html_url":"https://github.com/DimaGutierrez/Python-Games","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/DimaGutierrez%2FPython-Games","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimaGutierrez%2FPython-Games/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimaGutierrez%2FPython-Games/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimaGutierrez%2FPython-Games/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DimaGutierrez","download_url":"https://codeload.github.com/DimaGutierrez/Python-Games/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223888317,"owners_count":17220065,"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":["games","idle","import","python","tetris","tetris-game","tetrisgame","time","turtle","turtle-graphics","winsound"],"created_at":"2024-11-09T21:35:50.820Z","updated_at":"2025-04-22T03:31:37.138Z","avatar_url":"https://github.com/DimaGutierrez.png","language":"Python","readme":"# 🐍Python Games with turtle graphics 🐢\n\nInstall on terminal 👾\n```\nC:\\....\\....\u003epip install turtle\n```\nGo to proyects!\n```python\nimport turtle\nimport time\nimport random\nimport winsound\n```\n# Python \"tetris\" Game 🏆\nЛегендарная игра от создателя Алексей Пажитнов!\n\u003cbr\u003e\n\n![https://github.com/dimagutierrez](https://github.com/DimaGutierrez/Python-Games/blob/main/img/python_turtle_tetris.png)\n## Settings 💻\nRun \u003e `tetris_turtle.py`\n\u003cbr\u003e\n## тетрис controls 🎮\n🕹️Move  (← \u003ckbd\u003eA\u003c/kbd\u003e ) (→ \u003ckbd\u003eD\u003c/kbd\u003e )\n\u003cbr\u003e\n🕹️Rotate = \u003ckbd\u003espace\u003c/kbd\u003e \n```python\n# Keyboard\nwn.listen()\nwn.onkeypress(lambda: shape.move_left(grid), \"a\")\nwn.onkeypress(lambda: shape.move_right(grid), \"d\")\nwn.onkeypress(lambda: shape.rotate(grid), \"space\")\n```\n\u003cbr\u003e\n\n# Space Shooting 🛸...\nmany functions available here, movements and statistics, graphic animations, sound efects!\n```python\nimport turtle\nimport random\nimport winsound\n```\n\u003cbr\u003e\n\n![https://github.com/dimagutierrez](https://github.com/DimaGutierrez/Python-Games/blob/main/img/Space_shooting.jpg)\n## Settings 💻\nRun \u003e `space_shooting_turtle.py`\nthe py file and the images must be in the same folder\n\u003cbr\u003e\n## controls 🎮\n🕹️Move  (← \u003ckbd\u003e◄\u003c/kbd\u003e ) (→ \u003ckbd\u003e►\u003c/kbd\u003e ) (↑ \u003ckbd\u003e▲\u003c/kbd\u003e ) (↓ \u003ckbd\u003e▼\u003c/kbd\u003e )\n\u003cbr\u003e\n🕹️Shooting = \u003ckbd\u003espace\u003c/kbd\u003e \n```python\n# Keyboard binding\nwn.listen()\nwn.onkeypress(quit_game, \"q\")\nwn.onkeypress(player.up, \"Up\")\nwn.onkeypress(player.down, \"Down\")\nwn.onkeypress(player.move_left, \"Left\")\nwn.onkeypress(player.move_right, \"Right\")\nwn.onkeypress(fire_missile, \"space\")\n```\n## Sound Efects / misile, explossion\n```Ruby\ndef fire_missile():\n    for missile in missiles:\n        if missile.state == \"ready\":\n            missile.fire()\n            winsound.PlaySound(\"SS_missile.wav\",winsound.SND_ASYNC)\n            break\n```\n\u003cbr\u003e\n\n# ChernoBird ☢️🐤\nFlappyBird \n![https://github.com/dimagutierrez](https://github.com/DimaGutierrez/Python-Games/blob/main/img/python_chernobird.png)\n## Settings 💻\nRun \u003e `cherno_bird.py`\nthe py file and the images must be in the same folder\n\u003cbr\u003e\nTheme \u0026 graphic design Dima Gutierrez\n## controls 🎮\n🕹️Fly press \u003ckbd\u003espace\u003c/kbd\u003e  маленькая птичка летит 🐤\n\u003cbr\u003e\n\n# Python \"Pong\" Game 🏓\n\n![https://github.com/dimagutierrez](https://github.com/DimaGutierrez/Python-Games/blob/main/img/python_pong.png)\n## Settings 💻\nRun \u003e `pong.py`\n\u003cbr\u003e\n## Controls 🎮\n🕹️Player A   (↑ \u003ckbd\u003eW\u003c/kbd\u003e ) (↓ \u003ckbd\u003eS\u003c/kbd\u003e )\n\u003cbr\u003e\n🕹️Player B   (↑ \u003ckbd\u003e▲\u003c/kbd\u003e ) (↓ \u003ckbd\u003e▼\u003c/kbd\u003e )\n```python\n# Keyboard\nwn.listen()\nwn.onkeypress(paddle_a_up, \"w\")\nwn.onkeypress(paddle_a_down, \"s\")\nwn.onkeypress(paddle_b_up, \"Up\")\nwn.onkeypress(paddle_b_down, \"Down\")\n```\n\u003cbr\u003e\n\n# Python \"Turtle Race\" 🐢🏁\n\n![https://github.com/dimagutierrez](https://github.com/DimaGutierrez/Python-Games/blob/main/img/python_turtle_race.png)\n## Settings 💻\nRun \u003e `turtle race.py`\n```python\nfrom turtle import *\nfrom random import *\nimport turtle\nimport time\n```\n\u003cbr\u003e\n\n# Python \"tetris\" One block version 🟨\n\n![https://github.com/dimagutierrez](https://github.com/DimaGutierrez/Python-Games/blob/main/img/python_turtle_tetris_oneb.png)\n## Settings 💻\nRun \u003e `tetris_one_block.py`\n\u003cbr\u003e\n## тетрис controls 🎮\n🕹️Move  ( ← \u003ckbd\u003e◄\u003c/kbd\u003e ) ( → \u003ckbd\u003e►\u003c/kbd\u003e )\n\u003cbr\u003e\n## This simple version has a score counter\n```python\nscore_count = 0\nscore = turtle.Turtle()\nscore.color('red')\nscore.up()\nscore.hideturtle()\nscore.goto(60,-300)\nscore.write('Score: 0', align='center', font=('Courier', 24, 'normal'))\n```\n\u003cbr\u003e\u003cbr\u003e\n\nVisit the discussion section and find other projects\n\n## Enjoy the games! 🐍\n[![Python](https://img.shields.io/badge/Python-0095D5?style=for-the-badge\u0026logo=Python\u0026logoColor=white\u0026labelColor=101010)]()\n\u003cbr\u003e\u003c/br\u003e\n\n```python\nVisit discussion for more ideas \u0026 star my repo! ⭐🚀\nhttps://github.com/DimaGutierrez/Python-Games/discussions\n```\n![galaxy brain](https://github.com/user-attachments/assets/e4fabfee-b97e-40f2-9df2-89a4e5a17e8c)\n\n\u003cbr\u003e\u003c/br\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimagutierrez%2Fpython-games","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimagutierrez%2Fpython-games","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimagutierrez%2Fpython-games/lists"}