{"id":18309101,"url":"https://github.com/typicalam/boomberman","last_synced_at":"2025-04-09T11:30:43.345Z","repository":{"id":207413458,"uuid":"716927093","full_name":"TypicalAM/boomberman","owner":"TypicalAM","description":"Realtime multiplayer game, the man with the boom.","archived":false,"fork":false,"pushed_at":"2024-01-19T09:53:08.000Z","size":468,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T05:29:00.995Z","etag":null,"topics":["protobuf","raylib","tcp"],"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/TypicalAM.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":"2023-11-10T07:04:41.000Z","updated_at":"2024-01-27T18:34:27.000Z","dependencies_parsed_at":"2024-01-19T09:44:09.140Z","dependency_job_id":"4d27c672-f162-4749-808d-937b09021c00","html_url":"https://github.com/TypicalAM/boomberman","commit_stats":null,"previous_names":["typicalam/boomberman"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalAM%2Fboomberman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalAM%2Fboomberman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalAM%2Fboomberman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalAM%2Fboomberman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TypicalAM","download_url":"https://codeload.github.com/TypicalAM/boomberman/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248031021,"owners_count":21036317,"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","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":["protobuf","raylib","tcp"],"created_at":"2024-11-05T16:10:15.861Z","updated_at":"2025-04-09T11:30:43.311Z","avatar_url":"https://github.com/TypicalAM.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Boomerman\n\nA multiplayer Bomberman-style game called \"Boomerman\" using the [Raylib](https://www.raylib.com/) game development library for graphics and [Protocol Buffers](https://protobuf.dev/) for message interchange between game clients and the server. This repository also has a test client written in golang.\n\nComponents:\n- Raylib: Handles game graphics, input, and rendering.\n- Protocol Buffers: Defines message formats for communication between clients and the server.\n\nHigh-level architecture:\n- Game Server: Manages game logic, state, and client communication using Protocol Buffers.\n- Game Clients: Communicate with the server for game updates and display state using Raylib.\n\nWorkflow:\n- Clients connect to the server and send/receive messages using Protocol Buffers.\n- Server processes messages, updates game state, and sends updates to clients.\n- Clients render game state using Raylib based on received data.\n\nConsiderations:\n- Networking: Appropriate use of sockets for client-server communication.\n- Game Logic: Implement Bomberman-style game rules on the server side.\n- Serialization: Use Protocol Buffers for efficient message serialization/deserialization. This is the choice because it enhances rapid iteration - we do not need to reimplement different encoders and decoders for message types.\n\n# Build \u0026 Run\n\n## Game\n\nRequirements:\n- `cmake`\n- `boost`, specifically `log` and `log_setup`\n- `protobuf`\n- `protobuf` development headers\n- `C++` compiler\n\nRun:\n\n```bash\nmkdir game/src/shared/proto\nprotoc --proto_path=$PWD/proto --cpp_out=$PWD/game/src/shared/proto $PWD/proto/messages.proto\ncd game \u0026\u0026 mkdir build \u0026\u0026 cd build\ncmake .. \u0026\u0026 make -j$(nproc)\n./boomberman server # (or client, depending on what you need)\n```\n\n## Test client\n\nRequirements:\n- `go`\n- `protobuf`\n\nRun:\n```bash\nmkdir test-client/pb\ngo install google.golang.org/protobuf/cmd/protoc-gen-go@latest\nprotoc --proto_path=$PWD/proto --go_opt=paths=source_relative --go_out=$PWD/test-client/pb $PWD/proto/messages.proto\ncd test-client\ngo run .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypicalam%2Fboomberman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypicalam%2Fboomberman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypicalam%2Fboomberman/lists"}