{"id":16222644,"url":"https://github.com/qur786/multiroom-pong-game","last_synced_at":"2026-04-09T02:31:24.070Z","repository":{"id":216080934,"uuid":"740423238","full_name":"qur786/multiroom-pong-game","owner":"qur786","description":"This is a Node.js application that hosts a multiplayer Pong game using Express.js and Socket.io. Players can compete in different game rooms, interacting in real-time through the server.","archived":false,"fork":false,"pushed_at":"2024-01-08T11:51:19.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T01:41:12.797Z","etag":null,"topics":["canvas2d","expressjs","javascript","socket-io"],"latest_commit_sha":null,"homepage":"https://multiroom-pong-game.onrender.com/","language":"JavaScript","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/qur786.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-01-08T10:12:19.000Z","updated_at":"2024-01-08T17:35:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"75b759f4-75e9-4944-9199-733191106739","html_url":"https://github.com/qur786/multiroom-pong-game","commit_stats":null,"previous_names":["qur786/multiplayer-pong-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qur786/multiroom-pong-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qur786%2Fmultiroom-pong-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qur786%2Fmultiroom-pong-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qur786%2Fmultiroom-pong-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qur786%2Fmultiroom-pong-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qur786","download_url":"https://codeload.github.com/qur786/multiroom-pong-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qur786%2Fmultiroom-pong-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["canvas2d","expressjs","javascript","socket-io"],"created_at":"2024-10-10T12:14:47.221Z","updated_at":"2026-04-09T02:31:24.046Z","avatar_url":"https://github.com/qur786.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multiroom Pong Game\r\n\r\nThis is a Node.js application that hosts a multiplayer Pong game using Express.js and Socket.io. Players can compete in different game rooms, interacting in real-time through the server.\r\n\r\n**Play the game here:** [Multiroom Pong Game](https://multiroom-pong-game.onrender.com/)\r\n\r\n❤ Please give it a start if you liked it.\r\n\r\nPlease note that the project has been deployed in a free tier of a service. Due to resource limitations, players may encounter some delay or lags while playing the game.\r\n\r\n## Technologies Used\r\n\r\n- **Express.js:** Used to set up the server and handle routing.\r\n- **Socket.io:** Facilitates real-time communication between the server and clients.\r\n- **EJS Templates:** Renders HTML for the game interface via Express.js.\r\n\r\n## Features\r\n\r\n1. **Multiplayer Functionality:** Players can compete against each other in game rooms.\r\n2. **Real-time Communication:** Socket.io enables instant updates of paddle and ball movements between players.\r\n3. **Game Referee:** One player assumes the role of the referee, managing the game's score and ball position.\r\n4. **Scoring System:** The game ends when one player reaches a maximum score of 5, determining the winner.\r\n\r\n## Usage\r\n\r\n1. **Installation:** Clone the repository and install dependencies using `yarn install`.\r\n2. **Run:** Start the server using `yarn start`.\r\n3. **Access:** Visit the application in your browser at `http://localhost:3000`.\r\n4. **Gameplay:** Enter a game room and play against another player.\r\n\r\n## Project Structure\r\n\r\n- **`/public`:** Contains frontend files (EJS, CSS, and JS) for the game interface.\r\n- **`/src`:** Server-side code, including Socket.io logic and game room management.\r\n\r\n## How It Works\r\n\r\n1. Players join the game, entering a room to play against another participant.\r\n2. Socket.io enables real-time communication for paddle and ball movements.\r\n3. The referee manages the game's score and ball position, updating all players via the server.\r\n4. The game ends when a player reaches the maximum score of 5, declaring the winner.\r\n\r\n## Contributions\r\n\r\nContributions to enhance the game's features or fix issues are welcome! Fork the repository, create a branch, make changes, and submit a pull request.\r\n\r\n## License\r\n\r\nThis project is licensed under the [MIT License](LICENSE).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqur786%2Fmultiroom-pong-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqur786%2Fmultiroom-pong-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqur786%2Fmultiroom-pong-game/lists"}