{"id":17675538,"url":"https://github.com/ernanej/ping-pong-opengl","last_synced_at":"2026-05-02T13:31:46.455Z","repository":{"id":247522878,"uuid":"826060372","full_name":"ErnaneJ/ping-pong-opengl","owner":"ErnaneJ","description":"A simple Ping Pong game using OpenGL and GLUT.","archived":false,"fork":false,"pushed_at":"2024-07-09T03:45:17.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T03:46:56.394Z","etag":null,"topics":["cg","cpp","dca0114","glut","opengl"],"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/ErnaneJ.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-09T03:23:22.000Z","updated_at":"2024-07-09T03:47:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"015b16c2-7cdb-4ed4-af4c-04b4b6457e50","html_url":"https://github.com/ErnaneJ/ping-pong-opengl","commit_stats":null,"previous_names":["ernanej/ping-pong-opengl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ErnaneJ/ping-pong-opengl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fping-pong-opengl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fping-pong-opengl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fping-pong-opengl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fping-pong-opengl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErnaneJ","download_url":"https://codeload.github.com/ErnaneJ/ping-pong-opengl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fping-pong-opengl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32536545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T12:25:33.646Z","status":"ssl_error","status_checked_at":"2026-05-02T12:24:51.733Z","response_time":132,"last_error":"SSL_read: 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":["cg","cpp","dca0114","glut","opengl"],"created_at":"2024-10-24T07:22:41.106Z","updated_at":"2026-05-02T13:31:46.434Z","avatar_url":"https://github.com/ErnaneJ.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ping Pong Game with OpenGL 🏓\n\nThis project implements a simple Ping Pong game using OpenGL and GLUT.\n\n![Ping Pong Game With OpenGL Preview](./assets/preview.png)\n\n## Dependencies\n\nMake sure you have the following dependencies installed:\n\n- OpenGL\n- GLUT (OpenGL Utility Toolkit)\n\n## Compilation and Execution\n\n### Compiling on macOS 🍎\n\nUse the following command to compile the project on macOS:\n\n```bash\nclang++ -framework OpenGL -framework GLUT -o ./bin/main src/main.cpp src/game.cpp \u0026\u0026 ./bin/main\n```\n\n### Compiling on Linux (example) 🐧\n\nFor Linux, you may need to adjust the command depending on your OpenGL and GLUT setup:\n\n```bash\ng++ -o ./bin/main src/main.cpp src/game.cpp -lGL -lGLU -lglut \u0026\u0026 ./bin/main\n```\n\n### Compiling on Windows (example) 🖥️\n\nOn Windows, you can compile using MinGW or another compatible compiler:\n\n```bash\ng++ -o ./bin/main.exe src/main.cpp src/game.cpp -lopengl32 -lglu32 -lglut32 \u0026\u0026 ./bin/main.exe\n```\n\n## Controls 🎮\n\n- Player 1:\n  - `W`: Move up\n  - `S`: Move down\n\n- Player 2 (if applicable):\n  - Arrow Up: Move up\n  - Arrow Down: Move down\n\n## Gameplay 🕹️\n\nThe game features two players controlling paddles to bounce a ball back and forth. Players earn points when the opposing player misses the ball.\n\n## Files and Structure 📂\n\n```\n.\n├── README.md\n├── assets\n├── bin\n│   └── main\n└── src\n    ├── game.cpp\n    ├── game.h\n    └── main.cpp\n\n4 directories, 5 files\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernanej%2Fping-pong-opengl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fernanej%2Fping-pong-opengl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernanej%2Fping-pong-opengl/lists"}