{"id":20415525,"url":"https://github.com/ir-engine/ir-tutorial-pong","last_synced_at":"2026-02-04T22:35:03.108Z","repository":{"id":253614010,"uuid":"843998705","full_name":"ir-engine/ir-tutorial-pong","owner":"ir-engine","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-11T08:11:34.000Z","size":16327,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":14,"default_branch":"dev","last_synced_at":"2025-09-27T12:32:03.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ir-engine.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-18T04:16:38.000Z","updated_at":"2024-12-11T08:11:38.000Z","dependencies_parsed_at":"2025-04-21T09:34:14.718Z","dependency_job_id":null,"html_url":"https://github.com/ir-engine/ir-tutorial-pong","commit_stats":{"total_commits":132,"total_committers":5,"mean_commits":26.4,"dds":0.3712121212121212,"last_synced_commit":"9ee7bb6f0097fa336b3f351a83e4cf05e2ebe6d6"},"previous_names":["ir-engine/ir-tutorial-pong"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ir-engine/ir-tutorial-pong","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ir-engine%2Fir-tutorial-pong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ir-engine%2Fir-tutorial-pong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ir-engine%2Fir-tutorial-pong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ir-engine%2Fir-tutorial-pong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ir-engine","download_url":"https://codeload.github.com/ir-engine/ir-tutorial-pong/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ir-engine%2Fir-tutorial-pong/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29098236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T21:05:08.033Z","status":"ssl_error","status_checked_at":"2026-02-04T21:04:53.031Z","response_time":62,"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":[],"created_at":"2024-11-15T06:16:35.528Z","updated_at":"2026-02-04T22:35:03.094Z","avatar_url":"https://github.com/ir-engine.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Ethereal Engine Pong\n\n# Gameplay\n\n1) When one or more players enters a goal then play is started\n2) When all players leave all goals then play stops\n3) If a ball hits a player goal then that player takes damage; at maximum damage the game ends\n4) volleying is automatic\n\n# Code\n\nThe game objects are arranged like so and there can be any number of players:\n\n```\n  pong\n    goal\n      paddle\n      paddle\n      plate\n      score\n```\n\nA pong game is started when a player is on any plate, and ended when there are no players on any plates\nWhile the game is started balls are volleyed in order to each player\nWhen a plate is hit more than 9 times a game ends\n\n# Todo / Issues [minor]\n\n- ball is moved by a dispatch, this is not elegant, there's a bug where server implicit change doesn't network\n- discovery of parts could be done at startup only; minor but could improve\n- clients don't need to do full discovery of all part relationships; minor\n- only server needs to delegate authority; minor\n- don't let avatars own more than one set of paddles; minor\n- move entire TextComponent feature out of pong into etherealengine as a general reasource\n- and also fetch font more directly; rather than from 3js github repo\n\n## Features to consider later\n\n- perhaps some win effect?\n- optionally a robot player?\n- different shaped volumes\n- obstacles\n- gravity, attractors, fans etc\n- nicer paddle art\n- nicer table art\n\n## behave graph variant todo\n\n* ontick ball launcher\n  x ? some kind of bug with trying to set forces on the ball -\u003e looks like broken code in the engine\n  - if game started test -\u003e we could have a game reset pad\n  * periodically launch the ball\n\n* plate collider\n  * if it is a ball -\u003e then increase damage -\u003e reset ball\n    * if damage is greater than 9 then end game\n  - if it is an avatar -\u003e if game is stopped then start game\n\n- if ball hit ground -\u003e reset ball\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fir-engine%2Fir-tutorial-pong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fir-engine%2Fir-tutorial-pong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fir-engine%2Fir-tutorial-pong/lists"}