{"id":38276008,"url":"https://github.com/guicybercode/blockdestroy","last_synced_at":"2026-01-17T01:53:27.963Z","repository":{"id":313375470,"uuid":"1051195971","full_name":"guicybercode/blockdestroy","owner":"guicybercode","description":"A purple box destruction game implemented in Rust using the ggez library for graphical rendering.","archived":false,"fork":false,"pushed_at":"2025-10-31T14:30:18.000Z","size":246,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-31T16:17:38.342Z","etag":null,"topics":["game-development","retro-gaming","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/guicybercode.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-05T15:36:03.000Z","updated_at":"2025-10-31T14:30:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d850859-20ba-4810-b9f6-641ec012c123","html_url":"https://github.com/guicybercode/blockdestroy","commit_stats":null,"previous_names":["guicybercode/blockdestroy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guicybercode/blockdestroy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guicybercode%2Fblockdestroy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guicybercode%2Fblockdestroy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guicybercode%2Fblockdestroy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guicybercode%2Fblockdestroy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guicybercode","download_url":"https://codeload.github.com/guicybercode/blockdestroy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guicybercode%2Fblockdestroy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28491726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["game-development","retro-gaming","rust"],"created_at":"2026-01-17T01:53:27.815Z","updated_at":"2026-01-17T01:53:27.936Z","avatar_url":"https://github.com/guicybercode.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Purple Box Destruction\n\n\u003cdiv align=\"center\"\u003e\n\nA purple box destruction game implemented in Rust using the ggez library for graphical rendering.\n\n\u003cimg src=\"game1.png\" width=\"400\"/\u003e\n\n\u003c/div\u003e\n## Features\n\n- **Box destruction gameplay** featuring classic pieces\n- **Modern graphical interface** with vibrant colors and visual effects  \n- **Progressive scoring system** based on the number of cleared lines  \n- **Automatic difficulty increase** as the level rises  \n- **Intuitive controls** with keyboard support  \n- **Ghost piece** for better placement visualization  \n- **Pause and restart system**  \n- **Modular codebase** following Rust best practices  \n\n## Controls\n\n- **Left/Right Arrows**: Move piece horizontally  \n- **Down Arrow**: Move piece downward  \n- **Up Arrow**: Rotate piece  \n- **Spacebar**: Hard drop (instant fall)  \n- **P**: Pause/Unpause game  \n- **R**: Restart game  \n- **ESC**: Exit game  \n\n## Scoring System\n\n- **1 line**: 100 points × level  \n- **2 lines**: 300 points × level  \n- **3 lines**: 500 points × level  \n- **4 lines (Destruction)**: 800 points × level  \n- **Hard drop**: 2 points per dropped line  \n\n## Levels\n\n\u003cdiv align=\"center\"\u003e\n\nThe level increases every 10 cleared lines. Drop speed increases with level, making the game more challenging.\n\n\u003cimg src=\"game2.png\" width=\"400\"/\u003e\n\n\u003c/div\u003e\n## Installation\n\n### Prerequisites\n\n- Rust (version 1.70 or higher)  \n- Cargo  \n\n\n### Build and Run\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/guicybercode/blockdestroy/tree/main\ncd purple-box-destruction\n```\n\n2. Build and run the game:\n```bash\ncargo run --release\n```\n\n### Build for Distribution\n\n```bash\ncargo build --release\n```\n\nbuild in `target/release/purple-box-destruction`.\n\n## Project structure\n\n```\nsrc/\n├── main.rs          # Ponto de entrada e loop principal\n├── game.rs          # Lógica principal do jogo\n├── tetromino.rs     # Definição das peças e suas rotações\n├── board.rs         # Gerenciamento do tabuleiro e colisões\n├── ui.rs           # Interface do usuário e elementos visuais\n└── audio.rs        # Sistema de áudio (placeholder)\n```\n\n## TECHNOLOGIES USED\n\n- **Rust**: Main Language\n- **ggez**: 2D Gaming\n- **rand**: Random Numbers\n- **serde**: Future hihihi\n\n## **한자 (漢字) 포함:**\n\n하나님이 世界를 이처럼 愛하사 獨生子를 주셨으니 이는 그를 信하는 者마다 滅亡하지 않고 永生을 얻게 하려 하심이라\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguicybercode%2Fblockdestroy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguicybercode%2Fblockdestroy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguicybercode%2Fblockdestroy/lists"}