Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.78 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.78 KB

Java Games Collection

Welcome to the Java Games Collection repository! This project features three different games implemented in Java using various technologies. Have fun exploring and playing the games!

Games

1. Guess My Number

  • Objective:

    • User inputs a number, and the computer provides feedback on whether the guess is higher or lower than the actual number.
    • The game continues until the user correctly guesses the number.
  • How to Play:

    • Clone the repository and navigate to the GuessMyNumber directory.
    • Compile and run the Java file:
      javac GuessMyNumber.java
      java GuessMyNumber

2. Swing Login GUI

  • Objective:

    • Based on the tutorial here, this game demonstrates creating a simple Swing GUI for username and password authentication.
    • If the provided credentials match "foo" and "moo," a success message is displayed; otherwise, a failure message is shown.
  • How to Run:

    • Clone the repository and navigate to the SwingLoginGUI directory.
    • Compile and run the Java file:
      javac SwingLoginGUI.java
      java SwingLoginGUI

3. Tic Tac Toe on GUI

  • Objective:

    • Play the classic game of Tic Tac Toe on a graphical user interface (GUI).
    • Enjoy a visually appealing version of the game with a clickable board.
  • How to Play:

    • Clone the repository and navigate to the TicTacToeGUI directory.
    • Compile and run the Java file:
      javac TicTacToeGUI.java
      java TicTacToeGUI

Contribution

Feel free to contribute by forking the repository and submitting pull requests. If you encounter any issues or have suggestions, please open an issue.

License

This project is licensed under the MIT License.