Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.1 KB

File metadata and controls

35 lines (27 loc) · 1.1 KB

🎮 Number Guessing Game GUI (Java)

📌 Description

The Number Guessing Game GUI is a simple and interactive game built using Java Swing.
The program randomly selects a number, and the player has to guess it based on feedback such as “Too High”, “Too Low”, or “Correct!”.

It is designed to demonstrate:

  • Event-driven programming using Java Swing.
  • Random number generation.
  • GUI components such as buttons, labels, and text fields.
  • Real-time feedback and game restart functionality.

🧠 Features

  • 🧩 Random number generation within a defined range.
  • 💬 Dynamic feedback based on player’s guess.
  • 🔁 “Play Again” button to restart the game.
  • 🎨 Simple and clean Java Swing interface.
  • ✅ Fully tested and beginner-friendly.

🛠️ Tech Stack

  • Language: Java
  • Libraries: javax.swing, java.awt
  • Paradigm: Object-Oriented & Event-Driven

🚀 How to Run

  1. Open your terminal or IDE (like IntelliJ, VS Code, or Eclipse).
  2. Navigate to the directory containing the file:
    cd Java/MiniGames