{"id":18772035,"url":"https://github.com/najahaja/connect-four","last_synced_at":"2026-05-15T22:05:32.000Z","repository":{"id":249118232,"uuid":"830561537","full_name":"najahaja/Connect-four","owner":"najahaja","description":"Challenge your friends to the classic Connect Four game, built using C++ and SFML! Enjoy a modern twist on the timeless strategy game with polished 2D graphics, smooth gameplay, and intuitive controls. Perfect for both casual gamers and developers looking to explore game development with C++ and SFML.","archived":false,"fork":false,"pushed_at":"2024-07-18T14:14:52.000Z","size":6262,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T11:36:11.045Z","etag":null,"topics":["2dgame","coding","connectfour","cplusplus","github","opensource","sfml"],"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/najahaja.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-07-18T14:03:54.000Z","updated_at":"2024-08-29T17:37:34.000Z","dependencies_parsed_at":"2024-07-18T18:12:16.771Z","dependency_job_id":null,"html_url":"https://github.com/najahaja/Connect-four","commit_stats":null,"previous_names":["najahaja/connect-four"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/najahaja/Connect-four","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/najahaja%2FConnect-four","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/najahaja%2FConnect-four/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/najahaja%2FConnect-four/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/najahaja%2FConnect-four/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/najahaja","download_url":"https://codeload.github.com/najahaja/Connect-four/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/najahaja%2FConnect-four/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015056,"owners_count":26085643,"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-10-13T02:00:06.723Z","response_time":61,"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":["2dgame","coding","connectfour","cplusplus","github","opensource","sfml"],"created_at":"2024-11-07T19:27:35.141Z","updated_at":"2025-10-13T12:32:31.226Z","avatar_url":"https://github.com/najahaja.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect Four - C++ SFML Implementation\n\n## Overview\n\nThis project is a C++ implementation of the classic Connect Four game using the SFML library. The game is designed for two players, where each player takes turns dropping colored discs into a vertical grid. The objective is to connect four of one's own discs horizontally, vertically, or diagonally before the opponent.\n\n## Features\n\n- Two-player gameplay.\n- Graphical user interface with a visual representation of the game board.\n- Dynamic status updates to indicate the current player's turn.\n- Visual indication of the winning sequence of discs.\n- Option to reset the game and start a new match.\n\n## Prerequisites\n\n- C++ Compiler\n- SFML Library (version 2.5.1 or later)\n\n## Setup Instructions\n\n1. **Install SFML**\n\n   Follow the instructions on the [official SFML website](https://www.sfml-dev.org/download.php) to download and install SFML for your operating system.\n\n2. **Clone the Repository**\n\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd connect-four\n3.**Compile the Code**\n    Ensure you have a C++ compiler installed. Use the following command to compile the code:\n\n\n    g++ -o connect_four main.cpp -lsfml-graphics -lsfml-window -lsfml-system\n4.**Run the Game**\n\n  ```bash\n./connect_four\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnajahaja%2Fconnect-four","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnajahaja%2Fconnect-four","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnajahaja%2Fconnect-four/lists"}