Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions The-Pacman-Game-main/.github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug Report
about: Create a report to help improve the project
title: "[BUG] "
labels: bug
assignees: ''

---

# Bug Report

## Description

Describe the bug clearly.

---

## Steps to Reproduce

1.
2.
3.

---

## Expected Behavior

What should happen?

---

## Screenshots

Add screenshots if applicable.

---

## Additional Context

Add any other context here.
32 changes: 32 additions & 0 deletions The-Pacman-Game-main/.github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Feature Request
about: Suggest a new feature for the project
title: "[FEATURE] "
labels: enhancement
assignees: ''

---

# Feature Request

## Feature Description

Describe the feature clearly.

---

## Why is this feature useful?

Explain why this feature should be added.

---

## Possible Solution

Describe your idea or approach.

---

## Additional Context

Add screenshots or references if needed.
32 changes: 32 additions & 0 deletions The-Pacman-Game-main/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Pull Request

## Description

Please include a summary of the changes and the related issue.

Fixes # (issue number)

---

## Type of Change

- [ ] Bug fix
- [ ] New feature
- [ ] UI improvement
- [ ] Documentation update
- [ ] Performance improvement

---

## Checklist

- [ ] My code follows the project style
- [ ] I tested my changes
- [ ] I have updated documentation if needed
- [ ] My changes generate no new warnings

---

## Screenshots (if applicable)

Add screenshots here.
13 changes: 13 additions & 0 deletions The-Pacman-Game-main/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*.class
*.log
*.ctxt
.DS_Store

.idea/
.vscode/

out/
build/
target/

*.iml
35 changes: 35 additions & 0 deletions The-Pacman-Game-main/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Code of Conduct

## Our Pledge

We are committed to providing a friendly, safe, and welcoming environment for everyone.

---

## Expected Behavior

- Be respectful to everyone
- Help beginners
- Use welcoming language
- Accept constructive feedback
- Collaborate professionally

---

## Unacceptable Behavior

- Harassment
- Personal attacks
- Trolling
- Discrimination
- Spam or abusive comments

---

## Enforcement

Project maintainers are responsible for maintaining a healthy environment and may take appropriate action when needed.

---

Thank you for helping make open source welcoming for everyone!
47 changes: 47 additions & 0 deletions The-Pacman-Game-main/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Contributing to The-Pacman-Game

Thank you for your interest in contributing to this project!

We welcome all contributors who want to improve this Pac-Man game and learn open-source development.

---

## Steps to Contribute

1. Fork the repository
2. Clone your forked repository
3. Create a new branch
4. Make your changes
5. Commit your changes
6. Push the code
7. Create a Pull Request

---

## Contribution Rules

- Follow Java coding standards
- Write clean and readable code
- Test your code before submitting
- Do not make unrelated changes in one PR
- Keep pull requests small and focused

---

## Beginner Friendly Tasks

- Improve UI design
- Add sound effects
- Improve ghost AI
- Add new levels
- Add pause menu
- Fix bugs
- Improve animations

---

## Need Help?

Feel free to open an issue for discussion.

Happy Coding!
21 changes: 21 additions & 0 deletions The-Pacman-Game-main/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 dishu4u

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
112 changes: 112 additions & 0 deletions The-Pacman-Game-main/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<p align="center">
<h1 align="center">🎮 The-Pacman-Game</h1>
<p align="center">
Classic Pac-Man Game built using Java Swing/AWT
</p>
</p>

<p align="center">
<img src="https://img.shields.io/badge/Java-ED8B00?style=for-the-badge&logo=java&logoColor=white"/>
<img src="https://img.shields.io/badge/Open%20Source-Friendly-brightgreen?style=for-the-badge"/>
<img src="https://img.shields.io/badge/GSSoC-Project-blue?style=for-the-badge"/>
<img src="https://img.shields.io/github/license/dishu4u/The-Pacman-Game?style=for-the-badge"/>
</p>

A classic Pac-Man arcade game built using Java Swing/AWT.

This project is designed for Java learners and open-source contributors interested in 2D game development.

---# 📸 Screenshots

## Gameplay

<img src="assets/screenshots/pacman_screenshot_1.png" width="600">
<img src="assets/screenshots/pacman_screenshot_2.png" width="600">

# 🚀 Features

- Classic Pac-Man gameplay
- Ghost AI movement
- Keyboard controls
- Tile-based game board
- Sprite animations
- Score tracking
- Smooth gameplay mechanics
- Beginner-friendly Java project

---

# 🛠️ Tech Stack

- Java
- Swing
- AWT

---

# 📂 Project Structure

```bash
pacman-java/
│── src/
│── assets/
│── README.md
```

---

# ▶️ How to Run

1. Clone the repository

```bash
git clone https://github.com/dishu4u/The-Pacman-Game.git
```

2. Open the project in your Java IDE

3. Compile and run the game

---

# 🤝 Contributing

Contributions are welcome!

Please read the CONTRIBUTING.md file before making contributions.

---

# 📌 Beginner Friendly Issues

This project contains beginner-friendly issues for open-source contributors.

Look for labels like:

- good first issue
- beginner
- enhancement
- bug

---

# 🌟 Future Improvements

- Add multiplayer mode
- Add sound effects
- Add pause menu
- Add levels
- Improve ghost AI
- Add leaderboard system

---

# 📜 License

This project is licensed under the MIT License.

---

# ⭐ Support

If you like this project, give it a star on GitHub!
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions The-Pacman-Game-main/pacman-java/App.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import javax.swing.SwingUtilities;

public class App {

public static void main(String[] args) {

SwingUtilities.invokeLater(() -> {
new UserPanel();
});

}
}
Loading