{"id":19510564,"url":"https://github.com/akash-sharma-1/effortless-tetris-cpp","last_synced_at":"2026-06-12T06:02:02.505Z","repository":{"id":41339397,"uuid":"509193768","full_name":"Akash-Sharma-1/Effortless-Tetris-Cpp","owner":"Akash-Sharma-1","description":"A simpleton tetris game which u can fire up in ur cmd anytime !","archived":false,"fork":false,"pushed_at":"2022-06-30T18:50:51.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T23:57:09.889Z","etag":null,"topics":["cpp","gui"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akash-Sharma-1.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}},"created_at":"2022-06-30T18:36:19.000Z","updated_at":"2022-06-30T18:59:13.000Z","dependencies_parsed_at":"2022-09-19T00:41:18.292Z","dependency_job_id":null,"html_url":"https://github.com/Akash-Sharma-1/Effortless-Tetris-Cpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Akash-Sharma-1/Effortless-Tetris-Cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-Sharma-1%2FEffortless-Tetris-Cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-Sharma-1%2FEffortless-Tetris-Cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-Sharma-1%2FEffortless-Tetris-Cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-Sharma-1%2FEffortless-Tetris-Cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akash-Sharma-1","download_url":"https://codeload.github.com/Akash-Sharma-1/Effortless-Tetris-Cpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akash-Sharma-1%2FEffortless-Tetris-Cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34231212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":["cpp","gui"],"created_at":"2024-11-10T23:16:17.032Z","updated_at":"2026-06-12T06:02:02.490Z","avatar_url":"https://github.com/Akash-Sharma-1.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Effortless Tetris with C++ 🕹\nA simpleton tetris game which u can fire up in ur cmd anytime ! \n\n## Description\n\nToo modest to brag about its features \n\n(This game is a hack project built to understand the working of GUI based ideas in c++ and also its relation to Windows Dev APIs) \n\n## Getting Started\n\n### How to play \n- Use LEFT and RIGHT to move the block piece\n- Use DOWN to bring it down (faster than the normal speed)\n- Use UP to rotate the piece\n\nI failed at making the controls more complicated :) \n\n\n### Basic Requirements\n\nIts a basic tetris game, you shouldn't even be looking at this section\nBut since we are talking about it, the codebase would need : \n- Gcc compiler\n- Windows\n\n\n### Executing program\n\nThere are two steps to create the executable for the game : \n- Load and compile all the resource files\n    - ```windres -i  coloringBlocks.rc -o coloringBlocks.o```\n- Compile the codebase\n    - `gcc -mwindows tetris.cpp coloringBlocks.o -o tetris`\n\n\nYou can play the game by opening the executable `tetris.exe` in Windows\n\n## Issues + Contribution\n- Do raise any issues if you face any, unless you are genuinely struggling to level up :p\n- It would be great if anyone could give me tips on improving the UI implementation for involving more complex stuff like leaderboard, scores etc\n\n\n\n## License\n\nWho would steal my tetris game that ends after 100 seconds :p\n\n## Useful resources\n- [Windows Dev API Doc](https://docs.microsoft.com/en-us/windows/win32/api/)\n- [Old yet interesting lecture on Windows GUI programming](https://ecs.syr.edu/faculty/Fawcett/handouts/coretechnologies/WindowsProgramming/Win32Prog/Don_Hobson/Don_Hobson.htm)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakash-sharma-1%2Feffortless-tetris-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakash-sharma-1%2Feffortless-tetris-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakash-sharma-1%2Feffortless-tetris-cpp/lists"}