{"id":20544369,"url":"https://github.com/ratulsharker/dx-ball","last_synced_at":"2026-03-07T02:32:41.098Z","repository":{"id":42254089,"uuid":"279519724","full_name":"ratulSharker/dx-ball","owner":"ratulSharker","description":"This is a simple clone of dx-ball arcade game","archived":false,"fork":false,"pushed_at":"2023-01-24T19:37:50.000Z","size":17039,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"web","last_synced_at":"2025-09-25T18:31:57.537Z","etag":null,"topics":["bricks","dx-ball","dx-ball-game","game","game-development","gameplay","javascript","javascript-canvas","stages"],"latest_commit_sha":null,"homepage":"https://ratulsharker.github.io/dx-ball/","language":"JavaScript","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/ratulSharker.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}},"created_at":"2020-07-14T07:54:01.000Z","updated_at":"2024-10-08T12:26:36.000Z","dependencies_parsed_at":"2023-02-12T12:16:01.054Z","dependency_job_id":null,"html_url":"https://github.com/ratulSharker/dx-ball","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ratulSharker/dx-ball","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratulSharker%2Fdx-ball","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratulSharker%2Fdx-ball/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratulSharker%2Fdx-ball/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratulSharker%2Fdx-ball/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ratulSharker","download_url":"https://codeload.github.com/ratulSharker/dx-ball/tar.gz/refs/heads/web","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratulSharker%2Fdx-ball/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bricks","dx-ball","dx-ball-game","game","game-development","gameplay","javascript","javascript-canvas","stages"],"created_at":"2024-11-16T01:44:07.131Z","updated_at":"2026-03-07T02:32:41.058Z","avatar_url":"https://github.com/ratulSharker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DX-Ball\n\nThis is a simple web based clone of dx-ball arcade game.\n\n## Gameplay 🎥\n\n[\u003cimg src=\"./screenshots/gameplay_screenshot_1.png\" alt=\"Watch on youtube\" width=\"400\"/\u003e](https://www.youtube.com/watch?v=bP4f78ZB80g)\n\n## Play It 🎮\n[Click to play 🕹](https://ratulsharker.github.io/dx-ball/)\n\n## Server Version 🖥\n\nThere is a nodejs application along with followings ([Can be access in master branch](https://github.com/ratulSharker/dx-ball/tree/master))\n\n - API Server.\n - Authentication.\n - Score Management.\n - Fully containerized.\n\n## Further Improvement 🧑‍💻\n\nThere are several [MDN Guideline](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Optimizing_canvas), read and improve performance. Following is a small list which can improve performance.\n\n- [x] Disable canvas transperancy.\n- [x] Separate canvas for Bat. Update only while mouse moved.\n- [ ] Separate canvas for top score-stage_name-life. Update only while they updates.\n- [x] Separate canvas for stage drawing. Update only while brick ball collide or stage updates.\n- [x] Resizing images to size which they are drawn.\n- [ ] Instead of clearing whole screen, only update the portion where the ball or power last time was present.\n- [ ] Calculate collision and movement related tasks in a separate web worker, keep runloop only for rendering.\n- [ ] Experimenting with `window.requestAnimationFrame`.\n- [ ] Optimize stage brick collision by considering is the ball inside the stage area or not.\n- [ ] Show nicer toast instead of showing `window.alert('msg')`.\n- [ ] Introduce inter-ball collision.\n- [ ] Introduce more power like following:\n  - [ ] Shooting capabilities.\n  - [ ] Fireball (blasting few neighbouring blocks).\n  - [ ] Invincible ball (do not bounce back from bricks).\n  - [ ] Introduce more that two ball.\n- [ ] Put a screen of available stages.\n- [ ] Ability to pause in the middle of game \u0026 quit from game.\n- [ ] Ability to control SFX and Gameplay volume.\n- [ ] Pacakge the whole js, css using a bundler.\n- [ ] Introduce aspect ratio of gameplay screen.\n- [x] After gameplay:\n  - [x] Prompt user for name (In local storage)\n  - [x] Store the score with given name.\n  - [x] Show the hall of fame according to that.\n- [ ] Hide the mouse cursor while playing the game.\n- [ ] Introduce more natural fun stages.\n- [ ] Show a nice loader, while the whole game is being loading.\n- [ ] Show a intuitive messages.\n  - [ ] Left click to start the game.\n  - [ ] Right click to pause the game.\n- [ ] Think of an idea, how mobile user will play this game.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratulsharker%2Fdx-ball","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fratulsharker%2Fdx-ball","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratulsharker%2Fdx-ball/lists"}