Programming-Java

Tasks studies - laboratory

View project on GitHub

Java GUI Games

Welcome to the Java GUI Games repository! Here, you will find a collection of classic games implemented using Java’s Graphical User Interface (GUI) libraries. Each game showcases various GUI components, event handling, and interactive features.

Available Games

Saper (Minesweeper): Test your strategic skills by uncovering tiles on the grid while avoiding hidden mines. Use the clues provided by neighboring tiles to determine the safe spots.

Tic-Tac-Toe: Play the age-old Tic-Tac-Toe game against an AI opponent or challenge a friend to see who can achieve three in a row first.

Ping Pong: Experience the excitement of a fast-paced Ping Pong match against a computer-controlled opponent.

Snake: Guide the snake around the screen, help it eat food to grow longer, and avoid colliding with itself or the boundaries.

Memory Game: Test your memory by flipping over cards and finding matching pairs within a set time limit.

Puzzle Slider: Solve an image puzzle by sliding the tiles to recreate the original picture.

Getting Started

To try out these games on your local machine, follow these steps:

Clone the repository to your computer:

git clone https://github.com/your-username/java-gui-games.git

Ensure you have the Java Development Kit (JDK) 11 or newer installed.

Explore the individual game directories to find the source code and assets for each game.

Compile and run the games using your preferred Java development environment or the command line.

Contributing

We welcome contributions to enhance existing games or add new games to the collection. If you have an idea for a game or a feature to improve an existing one, feel free to open an issue to discuss it.

License

The code in this repository is licensed under the MIT License. You are free to use, modify, and distribute the code as you wish.

Acknowledgments

A big thank you to all contributors who have made this collection of Java GUI games possible. Your efforts and creativity are greatly appreciated.

Let the fun begin! Choose your favorite game and start playing. Enjoy! 🎮