{"id":16194202,"url":"https://github.com/ndabap/ping-pong","last_synced_at":"2025-03-16T10:32:34.603Z","repository":{"id":94724231,"uuid":"539868046","full_name":"ndabAP/ping-pong","owner":"ndabAP","description":"Retro game pong written in Go and Websocket as transport","archived":false,"fork":false,"pushed_at":"2024-04-19T12:28:09.000Z","size":44,"stargazers_count":23,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T15:11:45.089Z","etag":null,"topics":["go","golang","javascript","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ndabAP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-09-22T08:06:58.000Z","updated_at":"2024-09-17T08:52:51.000Z","dependencies_parsed_at":"2023-11-19T09:32:28.612Z","dependency_job_id":null,"html_url":"https://github.com/ndabAP/ping-pong","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndabAP%2Fping-pong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndabAP%2Fping-pong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndabAP%2Fping-pong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndabAP%2Fping-pong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndabAP","download_url":"https://codeload.github.com/ndabAP/ping-pong/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814907,"owners_count":20352037,"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":["go","golang","javascript","websocket"],"created_at":"2024-10-10T08:18:27.681Z","updated_at":"2025-03-16T10:32:34.295Z","avatar_url":"https://github.com/ndabAP.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ping-pong\n\n`ping-pong` tries to be a generic pong implementation, written in Go. It\nincludes a Canvas engine playable in a browser wit Canvas support.\n\n![ping-pong](https://github.com/ndabAP/ping-pong/assets/8510570/86c9569e-9892-4401-a96a-ce63adb6af82)\n\n## How to start\n\nTo play in the browser with the Canvas engine, download or pull the repository\nto start the backend server:\n\n```bash\n$ go run *.go -debug\n```\n\nThen open the frontend at [http://127.0.0.1:8080](http://127.0.0.1:8080) in your\nbrowser. Alternatively, you can use `make`:\n\n```bash\n$ make play_canvas\n```\n\n## How to play\n\nThe left player is player one, the right player two. There are two supported\ninputs available: \u003ckbd\u003e↑\u003c/kbd\u003e moves player one up and \u003ckbd\u003e↓\u003c/kbd\u003e moves him\ndown. Players get points for goals.\n\n## API\n\nYou can create your own frontend with the provided API, which consists of\nconstraints and helpers. After you `go get` the module, import the `engine`\npackage:\n\n```go\nimport github.com/ndabAP/ping-pong/engine\n```\n\nTo get the module:\n\n```bash\ngo get github.com/ndabAP/ping-pong\n```\n\n## Future goals\n\n- Native sound generation\n- More retro style (e. g. retro GUI)\n- AI-controlled player two\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndabap%2Fping-pong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndabap%2Fping-pong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndabap%2Fping-pong/lists"}