{"id":15160105,"url":"https://github.com/omrawaley/moon-pong","last_synced_at":"2026-02-20T09:31:25.668Z","repository":{"id":209239284,"uuid":"723553827","full_name":"omrawaley/Moon-Pong","owner":"omrawaley","description":"Moon Pong is a Pong clone made with Lua and LÖVE/Love2D.","archived":false,"fork":false,"pushed_at":"2025-03-31T10:27:58.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T12:08:02.502Z","etag":null,"topics":["love2d","love2d-game","lua","lua-game","lua-pong","pong","pong-game"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omrawaley.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}},"created_at":"2023-11-26T02:59:16.000Z","updated_at":"2025-03-31T10:28:02.000Z","dependencies_parsed_at":"2023-11-28T13:46:35.358Z","dependency_job_id":"7ec90468-1f93-476c-862a-2479780b80fa","html_url":"https://github.com/omrawaley/Moon-Pong","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"6af693a84e460d3c5610db7dd315c0737b179399"},"previous_names":["omrawaley/moon-pong"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/omrawaley/Moon-Pong","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omrawaley%2FMoon-Pong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omrawaley%2FMoon-Pong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omrawaley%2FMoon-Pong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omrawaley%2FMoon-Pong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omrawaley","download_url":"https://codeload.github.com/omrawaley/Moon-Pong/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omrawaley%2FMoon-Pong/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264455988,"owners_count":23611065,"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":["love2d","love2d-game","lua","lua-game","lua-pong","pong","pong-game"],"created_at":"2024-09-26T22:21:28.552Z","updated_at":"2026-02-20T09:31:25.625Z","avatar_url":"https://github.com/omrawaley.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moon Pong\nMoon Pong is a Pong clone made with Lua and LÖVE/Love2D. This is my first project with Lua and LÖVE.\n\n\u003cimg width=\"400\" alt=\"image\" src=\"https://github.com/omrawaley/moon-pong/assets/133281331/35960afd-21cc-4e97-a7d1-3c3fbe319142\"\u003e\n\u003cimg width=\"400\" alt=\"image\" src=\"https://github.com/omrawaley/moon-pong/assets/133281331/5f484ed6-d520-49a1-a286-3ef99184b503\"\u003e\n\n## Customization\nModules are included that are useful to create multiple paddles, controlled via the keyboard or a the A.I.\n\nThe full list:\n- `playerModule`\n- `paddleModule`\n- `keyboardPaddleLogicModule`\n- `aiPaddleLogicModule`\n\nThe `playerModule` returns a table containing a `paddle` and a `paddleLogic`. The `paddle` can be initialized via the `paddleModule`, and the `paddleLogic` can be initialized via the `keyboardPaddleLogicModule` or the `aiPaddleLogicModule`.\n\n`paddleModule` stores the paddle's data such as the location, velocity, etc. It excepts a single parameter for the `x` value of the paddle.\n\n`keyboardPaddleLogicModule` allows the paddle to be controlled via the keyboard. It excepts a two parameters: the up and down key.\n\n`aiPaddleLogicModule` allows the paddle to be controlled via the A.I. It excepts one parameter: difficulty. The higher the number you provide for this parameter, the easier the harder the A.I. will be. This is set at 7 by default.\n\nThe window resolution and such can be modified in the `conf.lua` file.\n\nSince version 1.1.0, you can now change the color of the ball to any RGB value (line 122 of `game.lua`).\n\n\u003cimg width=\"300\" alt=\"image\" src=\"https://github.com/omrawaley/Moon-Pong/assets/133281331/80eb738b-faac-4bb6-976a-8f87ac0d5cb8\"\u003e\n\n\n## How to Run\n1. Firstly, make sure LÖVE is installed. You can download it [here](https://love2d.org/). \n\n2. Next, you can download either the source code or the `.love` file from the [releases section](https://github.com/omrawaley/moon-pong/releases). I recommend the former as you can modify it however you want.\n\n3. If you downloaded the source code, make the MoonPong folder (Note, this is not the folder with `-master` at the end) the current directory and then run `love ./`. (Note, on MacOS you will have to create the `love` alias in your `.zshrc`. See [getting started](https://love2d.org/wiki/Getting_Started) for more information. If you downloaded the `.love` file, simply double click it and Moon Pong will start up.\n\n## Credits\nThanks to @Pharap for reviewing the code and making several design suggestions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomrawaley%2Fmoon-pong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomrawaley%2Fmoon-pong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomrawaley%2Fmoon-pong/lists"}