{"id":19909866,"url":"https://github.com/etherealengine/ee-tutorial-pong","last_synced_at":"2025-05-03T02:31:47.231Z","repository":{"id":207657902,"uuid":"719756580","full_name":"EtherealEngine/ee-tutorial-pong","owner":"EtherealEngine","description":"3d pong","archived":true,"fork":false,"pushed_at":"2024-08-18T03:30:01.000Z","size":16326,"stargazers_count":0,"open_issues_count":7,"forks_count":3,"subscribers_count":4,"default_branch":"dev","last_synced_at":"2025-04-26T06:28:45.299Z","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/EtherealEngine.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":"2023-11-16T20:50:48.000Z","updated_at":"2024-08-18T06:58:25.000Z","dependencies_parsed_at":"2024-01-12T22:00:51.725Z","dependency_job_id":"dc267a83-9e23-4b57-b465-522c788e246d","html_url":"https://github.com/EtherealEngine/ee-tutorial-pong","commit_stats":{"total_commits":121,"total_committers":4,"mean_commits":30.25,"dds":"0.31404958677685946","last_synced_commit":"7e5522d1af64b881151df4613d5a3dda5c87654d"},"previous_names":["etherealengine/ee-tutorial-pong"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtherealEngine%2Fee-tutorial-pong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtherealEngine%2Fee-tutorial-pong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtherealEngine%2Fee-tutorial-pong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtherealEngine%2Fee-tutorial-pong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EtherealEngine","download_url":"https://codeload.github.com/EtherealEngine/ee-tutorial-pong/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252133738,"owners_count":21699589,"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":[],"created_at":"2024-11-12T21:16:49.795Z","updated_at":"2025-05-03T02:31:44.227Z","avatar_url":"https://github.com/EtherealEngine.png","language":"TypeScript","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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetherealengine%2Fee-tutorial-pong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetherealengine%2Fee-tutorial-pong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetherealengine%2Fee-tutorial-pong/lists"}