{"id":20604011,"url":"https://github.com/szykol/tetris","last_synced_at":"2025-07-29T21:17:43.451Z","repository":{"id":116468872,"uuid":"193663269","full_name":"szykol/Tetris","owner":"szykol","description":"Tetris game made using SFML and Skeleton framework","archived":false,"fork":false,"pushed_at":"2021-06-11T18:35:43.000Z","size":31246,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-17T01:43:13.679Z","etag":null,"topics":["cpp17","game","sfml","sfml-game","skeleton"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/szykol.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-25T08:06:06.000Z","updated_at":"2021-06-11T18:35:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"278743a3-761c-41df-8abb-addc38c5200f","html_url":"https://github.com/szykol/Tetris","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/szykol/Tetris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szykol%2FTetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szykol%2FTetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szykol%2FTetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szykol%2FTetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szykol","download_url":"https://codeload.github.com/szykol/Tetris/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szykol%2FTetris/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267760430,"owners_count":24140260,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["cpp17","game","sfml","sfml-game","skeleton"],"created_at":"2024-11-16T09:19:59.891Z","updated_at":"2025-07-29T21:17:42.889Z","avatar_url":"https://github.com/szykol.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tetris\n## Simple 2D Tetris game made with Skeleton and SFML. \n\n## Screenshots:\n### Main menu made using Skeleton\n![Menu Screenshot](res/Screenshots/menu.png \"Menu Screenshot\") \n### Game\n![Game Screenshot](res/Screenshots/tet.png \"Game Screenshot\") \n\n# How to build\n## CMake\nDownload [SFML](https://www.sfml-dev.org/download/sfml/2.5.1/) compatible with your compiler and extract it to folder\nin the project or use your package manager to download the library.\n\n## Linux\nRoot project Makefile takes care of building the project. It accepts two flags that are passed to CMake.\n* `CMAKE_BUILD_TYPE` - the build type. If not specified `Debug` is used.\n* `SFML_DIR` - CMake configuration path. This should be used when SFML was installed manually to tell `find_package` where\nto search SFML for.\n### Example: Linux with defualt parameters\n```\nmake\nbuild/Sandbox\n```\n\n### Example: Linux with non default parameters\nThis shows `CMAKE_BUILD_TYPE` and `SFML_DIR` passed as parameters. This assumes SFML was downloaded and extracted in\n`vendor` folder.\n```\nmake CMAKE_BUILD_TYPE=Release SFML_DIR=vendor/SFML-2.5.1/lib/cmake/SFML\nbuild/Sandbox\n```\n\n## Windows\n### Example: Windows Visual Studio\nCMake should take care of creating the solution files. As this example does not use Makefile, you need to pass the\n`SFML_DIR` parameter directly to CMake:\n```\nmkdir build\ncd build\ncmake -DSFML_DIR=\"vendor\\SFML-2.5.1\\lib\\cmake\\SFML\"  ..\n\n# for 32 bit version:\n# cmake -A Win32 -DSFML_DIR=\"vendor\\SFML-2.5.1\\lib\\cmake\\SFML\"  ..\n```\nAfter that open generated solution file and hit build. \nCopy needed dlls to binary location.\nNote: You may need to set Sandbox as the startup project.\n\n### Example: Windows MinGW Makefiles\nThis works similiar to the previous example but uses different generator.\n```\nmkdir build\ncd build\ncmake -G \"MinGW Makefiles\" -DSFML_DIR=\"vendor\\SFML-2.5.1\\lib\\cmake\\SFML\"  ..\nmake\n# run the app after copying dll files\nSandbox.exe\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszykol%2Ftetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszykol%2Ftetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszykol%2Ftetris/lists"}