{"id":25526349,"url":"https://github.com/prasham9114/the-last-block","last_synced_at":"2025-08-26T01:18:16.543Z","repository":{"id":261652919,"uuid":"884947325","full_name":"prasham9114/The-Last-Block","owner":"prasham9114","description":"A simple block game made using C++ and SFML","archived":false,"fork":false,"pushed_at":"2024-11-07T17:12:10.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T22:41:48.645Z","etag":null,"topics":["cpp","sfml","sfml-game"],"latest_commit_sha":null,"homepage":"","language":"C++","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/prasham9114.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":"2024-11-07T17:10:05.000Z","updated_at":"2024-11-07T17:12:14.000Z","dependencies_parsed_at":"2024-11-07T18:34:44.252Z","dependency_job_id":null,"html_url":"https://github.com/prasham9114/The-Last-Block","commit_stats":null,"previous_names":["prasham9114/the-last-block"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prasham9114/The-Last-Block","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasham9114%2FThe-Last-Block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasham9114%2FThe-Last-Block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasham9114%2FThe-Last-Block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasham9114%2FThe-Last-Block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prasham9114","download_url":"https://codeload.github.com/prasham9114/The-Last-Block/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasham9114%2FThe-Last-Block/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272156117,"owners_count":24883173,"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-08-25T02:00:12.092Z","response_time":1107,"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","sfml","sfml-game"],"created_at":"2025-02-19T21:17:38.275Z","updated_at":"2025-08-26T01:18:16.525Z","avatar_url":"https://github.com/prasham9114.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Falling Blocks Game\n\nThis is a simple game built using **SFML** (Simple and Fast Multimedia Library) in C++. The game involves avoiding or collecting falling blocks of different colors. Each block type has a different score value, and the game ends when your health reaches zero.\n\n## Features\n- Dynamic falling blocks with randomized colors and sizes.\n- Points system based on block type.\n- Level progression with increasing block speed.\n- Game-over screen when health reaches zero.\n  \n## Prerequisites\n- **SFML**: Download and set up SFML for your version of Visual Studio from [SFML Downloads](https://www.sfml-dev.org/download.php).\n- **Visual Studio**: Recommended version Visual Studio 2019 or later.\n  \n## Project Setup\n\n1. **Download and Extract SFML**: \n   - Download SFML from [SFML Downloads](https://www.sfml-dev.org/download.php).\n   - Extract it to a location on your computer.\n\n2. **Configure Visual Studio Project**:\n   - Go to **Project Properties** → **Configuration Properties** → **VC++ Directories**.\n   - Add paths for **Include Directories** and **Library Directories**:\n     - **Include Directory**: `[Path to SFML]/include`\n     - **Library Directory**: `[Path to SFML]/lib`\n\n3. **Link SFML Libraries**:\n   - Under **Linker** → **Input** in Project Properties, add the following libraries to **Additional Dependencies**:\n     ```\n     sfml-graphics.lib\n     sfml-window.lib\n     sfml-system.lib\n     ```\n   - For the Debug configuration, link with the `-d` versions of each library, such as `sfml-graphics-d.lib`, etc.\n\n4. **Copy DLLs**:\n   - Copy the necessary `.dll` files from `[Path to SFML]/bin` to your project’s Debug/Release directory. For example:\n     - `sfml-graphics.dll`\n     - `sfml-window.dll`\n     - `sfml-system.dll`\n   - For Debug mode, use the `-d` versions, like `sfml-graphics-d.dll`, etc.\n\n## Usage\nAfter setting up the project, you can build and run it within Visual Studio. \n\n### Controls\n- Use the mouse to click on blocks to collect them and gain points.\n- The game displays a game-over screen when your health reaches zero.\n\n## Project Structure\n\n```plaintext\nFalling Blocks Game/\n├── src/\n│   ├── Game.cpp\n│   ├── Game.h\n│   └── main.cpp\n├── include/\n│   └── SFML headers and project headers\n└── resources/\n    ├── fonts/\n    │   └── KnightWarrior.otf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasham9114%2Fthe-last-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprasham9114%2Fthe-last-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasham9114%2Fthe-last-block/lists"}