{"id":20671498,"url":"https://github.com/hopson97/enet-sfml-example","last_synced_at":"2026-04-24T07:34:13.329Z","repository":{"id":249557979,"uuid":"824294850","full_name":"Hopson97/ENet-SFML-Example","owner":"Hopson97","description":"Examples and playing around using SFML with ENet","archived":false,"fork":false,"pushed_at":"2024-10-12T17:57:15.000Z","size":215,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T17:29:57.720Z","etag":null,"topics":[],"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/Hopson97.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-04T19:44:38.000Z","updated_at":"2024-10-12T17:57:18.000Z","dependencies_parsed_at":"2024-11-17T00:15:55.699Z","dependency_job_id":null,"html_url":"https://github.com/Hopson97/ENet-SFML-Example","commit_stats":null,"previous_names":["hopson97/enet-sfml-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hopson97/ENet-SFML-Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FENet-SFML-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FENet-SFML-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FENet-SFML-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FENet-SFML-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hopson97","download_url":"https://codeload.github.com/Hopson97/ENet-SFML-Example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FENet-SFML-Example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32214417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-16T20:27:42.364Z","updated_at":"2026-04-24T07:34:13.314Z","avatar_url":"https://github.com/Hopson97.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ENet Server/Client Game Example\r\n\r\nExample of a simple client/server \"game\" using SFML for graphics and ENnet for networking.\r\n\r\nResources used to create this:\r\n\r\n- [Fast-Paced Multiplayer (Gabriel Gambetta)](https://www.gabrielgambetta.com/client-server-game-architecture.html)\r\n\r\n- [Gaffer on Games (Glenn Fiedler)](https://gafferongames.com/post/snapshot_interpolation/)\r\n\r\n- [Server In-game Protocol Design and Optimization (Valve)](https://developer.valvesoftware.com/wiki/Latency_Compensating_Methods_in_Client/Server_In-game_Protocol_Design_and_Optimization)\r\n\r\n- [Source Multiplayer Networking](https://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking)\r\n\r\n## Building and Running\r\n\r\n### Windows (Visual Studio)\r\n\r\nThe easiest way to build is to use [vcpkg](https://vcpkg.io/en/index.html) and install the dependencies through this.\r\n\r\n```bash\r\nvcpkg install sfml\r\nvcpkg install imgui\r\nvcpkg integrate install\r\n```\r\n\r\nThen open the project in Visual Studio and build.\r\n\r\n### Linux\r\n\r\nInstall conan\r\n\r\n```sh\r\npython3 -m pip install conan==1.57\r\n```\r\n\r\nTo build, at the root of the project:\r\n\r\n```sh\r\nsh scripts/build.sh install\r\n```\r\n\r\nThe `install` argument is only needed for the first time compilation as this is what grabs the libraries from Conan\r\n\r\nTo run, at the root of the project:\r\n\r\n```sh\r\nsh scripts/run.sh\r\n```\r\n\r\nTo build and run in release mode, simply add the `release` suffix:\r\n\r\n```sh\r\nsh scripts/build.sh release\r\nsh scripts/run.sh release\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopson97%2Fenet-sfml-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhopson97%2Fenet-sfml-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopson97%2Fenet-sfml-example/lists"}