{"id":26337817,"url":"https://github.com/itsjomon/pacman-game","last_synced_at":"2025-03-16T02:26:11.788Z","repository":{"id":282552524,"uuid":"946491375","full_name":"itsjomon/pacman-game","owner":"itsjomon","description":"A simple pacman game using java  awt/swing graphics.","archived":false,"fork":false,"pushed_at":"2025-03-11T08:32:06.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T12:16:53.567Z","etag":null,"topics":["java","mini-project","pacman-game","swing"],"latest_commit_sha":null,"homepage":"","language":"Java","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/itsjomon.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-11T08:17:25.000Z","updated_at":"2025-03-11T08:36:26.000Z","dependencies_parsed_at":"2025-03-15T12:16:55.206Z","dependency_job_id":"af6d9d2a-cbab-4849-bd9b-a4220e36194c","html_url":"https://github.com/itsjomon/pacman-game","commit_stats":null,"previous_names":["itsjomon/pacman-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjomon%2Fpacman-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjomon%2Fpacman-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjomon%2Fpacman-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjomon%2Fpacman-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsjomon","download_url":"https://codeload.github.com/itsjomon/pacman-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243815040,"owners_count":20352084,"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":["java","mini-project","pacman-game","swing"],"created_at":"2025-03-16T02:26:11.158Z","updated_at":"2025-03-16T02:26:11.758Z","avatar_url":"https://github.com/itsjomon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pac-Man Game\nA simple Pac-Man game built in Java using the Swing library. Navigate Pac-Man through the maze, collect food, and avoid ghosts. The game ends when you lose all your lives.\n\n\u003cimg src =\"https://github.com/user-attachments/assets/ab3165d5-9db1-46ca-881a-5d245ab367da\" width=\"500\"\u003e\n\n### Prerequisites\n- **Java JDK**: Version 8 or later.\n- **Development Environment**: VS Code, IntelliJ IDEA, Eclipse, or any Java-compatible IDE.\n\n## Getting Started  \n\n### Clone the Repository  \nRun the following commands to clone and navigate into the project:\n\n```bash  \ngit clone https://github.com/itsjomon/pacman-game.git\n```\n```bash\ncd pacman-game\n```\n\n\u003cp align =\"center\"\u003e-or-\u003c/p\u003e\n\n### Fork the Repository  \n1. Fork this repository on GitHub.  \n2. Clone your fork.\n\n```bash  \ngit clone https://github.com/your-username/your-forked-repository-name.git\n```\n```bash\ncd your-forked-repository-name    \n```\n\nSet Up the Assets: Place all required images (e.g., `wall.png`, `pacmanUp.png`, etc.) in the `assets` directory located in the project root.\n\nCompile and Run: Compile and run the program using your IDE or terminal: `javac App.java`  `java App`\n\n## Controls\n- **Arrow Keys:** Move Pac-Man (Up, Down, Left, Right).\n- **Restart:** After Game Over, press any key to restart.\n\n\u003e [!NOTE]\n\u003e - Ensure all image files are correctly placed in the `assets` directory.\n\u003e - The ghosts currently move randomly.\n\n## Folder Structure\n\nThe workspace contains two folders by default, where:\n\n- `src`: the folder to maintain sources\n- `lib`: the folder to maintain dependencies\n\nMeanwhile, the compiled output files will be generated in the `bin` folder by default.\n\n\u003e If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there.\n\n## Dependency Management\n\nThe `JAVA PROJECTS` view allows you to manage your dependencies. More details can be found [here](https://github.com/microsoft/vscode-java-dependency#manage-dependencies).\n\n## 🌟 *Don’t Forget to Star!*\nIf you find this project useful, please consider giving it a star ⭐. It helps others discover it too!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjomon%2Fpacman-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsjomon%2Fpacman-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjomon%2Fpacman-game/lists"}