{"id":34712505,"url":"https://github.com/aleaengineer/python-tetris","last_synced_at":"2026-05-22T21:31:44.862Z","repository":{"id":284542585,"uuid":"955277275","full_name":"aleaengineer/python-tetris","owner":"aleaengineer","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-26T11:54:07.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T12:35:13.568Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aleaengineer.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":"2025-03-26T11:48:18.000Z","updated_at":"2025-03-26T11:54:11.000Z","dependencies_parsed_at":"2025-03-26T12:47:25.418Z","dependency_job_id":null,"html_url":"https://github.com/aleaengineer/python-tetris","commit_stats":null,"previous_names":["aleaengineer/python-tetris"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aleaengineer/python-tetris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleaengineer%2Fpython-tetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleaengineer%2Fpython-tetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleaengineer%2Fpython-tetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleaengineer%2Fpython-tetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleaengineer","download_url":"https://codeload.github.com/aleaengineer/python-tetris/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleaengineer%2Fpython-tetris/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33369530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-12-25T00:48:36.622Z","updated_at":"2026-05-22T21:31:44.857Z","avatar_url":"https://github.com/aleaengineer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Here's a comprehensive `README.md` file for your Tetris game project:\r\n\r\n```markdown\r\n# 🎮 Python Tetris Game\r\n\r\nA classic Tetris implementation using Pygame with modern visuals and smooth gameplay.\r\n\r\n![Tetris Game Screenshot](screenshot.png)\r\n\r\n## 🚀 Features\r\n\r\n- 🎨 Modern graphics with colorful blocks\r\n- ⏬ Smooth falling piece mechanics\r\n- 🔄 Piece rotation system\r\n- 👀 Next piece preview\r\n- 📊 Score and level tracking\r\n- 🎮 Keyboard controls\r\n- 💥 Game over detection\r\n\r\n## 📋 Requirements\r\n\r\n- Python 3.8+\r\n- Pygame 2.6.1+\r\n\r\n## ⚙️ Installation\r\n\r\n1. Clone the repository:\r\n   ```bash\r\n   git clone https://github.com/aleaengineer/python-tetris.git\r\n   cd python-tetris\r\n   ```\r\n\r\n2. Install dependencies:\r\n   ```bash\r\n   pip install -r requirements.txt\r\n   ```\r\n\r\n## 🕹️ How to Play\r\n\r\n### Controls:\r\n- **← →** : Move piece left/right\r\n- **↓** : Move piece down faster\r\n- **↑** : Rotate piece\r\n- **Space** : Hard drop (instant drop)\r\n- **R** : Restart game when game over\r\n\r\n### Game Rules:\r\n- Clear lines to earn points\r\n- Game speeds up as you level up\r\n- Game ends when pieces stack to the top\r\n\r\n## 📂 File Structure\r\n\r\n```\r\npython-tetris/\r\n├── main.py            # Main game code\r\n├── requirements.txt   # Dependencies\r\n└── README.md          # This file\r\n```\r\n\r\n## 🛠️ Customization\r\n\r\nYou can easily modify:\r\n- Colors in `COLORS` list\r\n- Game speed by adjusting `fall_speed`\r\n- Grid size by changing `GRID_WIDTH` and `GRID_HEIGHT`\r\n- Block size with `BLOCK_SIZE`\r\n\r\n## 🤝 Contributing\r\n\r\nContributions are welcome! Please open an issue or PR for any:\r\n- Bug fixes\r\n- New features\r\n- Improvements\r\n\r\n## 📜 License\r\n\r\nMIT License - Feel free to use and modify this code\r\n\r\n---\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleaengineer%2Fpython-tetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleaengineer%2Fpython-tetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleaengineer%2Fpython-tetris/lists"}