Welcome to ConsoleArcade-Java — a collection of fun and nostalgic console-based games developed in Java! This repository brings back the charm of classic games like Stone-Paper-Scissors, Tic Tac Toe, and more, all playable in your terminal. Whether you're looking to brush up on Java or enjoy some simple games, ConsoleArcade-Java has you covered.
ConsoleArcade-Java is an open-source repository featuring console-based games made with pure Java. Each game is built for ease of use, providing a simple yet engaging experience. More games will be added periodically, so stay tuned for new additions!
Here's what you can play right now:
- Stone-Paper-Scissors — Test your luck and strategy in this classic game.
- Tic Tac Toe — Challenge yourself against the computer or a friend in this timeless game.
More games are on the way!
To get started, clone this repository and play directly from your terminal. Ensure you have Java installed.
- Clone the repository:
git clone https://github.com/yourusername/ConsoleArcade-Java.git
- Navigate to the project directory:
cd ConsoleArcade-Java
- Compile the game files:
- For Stone-Paper-Scissors:
javac StonePaperScissors.java
- For Tic Tac Toe:
javac TicTacToe.java
- For Stone-Paper-Scissors:
- Run a game:
or
java Stonepaper
java TicTacToe
Note: These games require Java Development Kit (JDK). Make sure you have JDK 8 or later installed.
Each game provides instructions upon launching. Here’s a quick guide:
- Stone-Paper-Scissors: Enter your choice ("stone," "paper," or "scissors") and see if you can outwit the computer!
- Tic Tac Toe: Take turns to enter positions on the board and aim to get three in a row.
Contributions are welcome! If you’d like to add a game or improve the code, follow these steps:
- Fork this repository
- Create a new branch:
git checkout -b your-branch-name
- Make changes and commit them
- Push to your branch:
git push origin your-branch-name
- Open a pull request
We’d love to see new games or enhancements for ConsoleArcade-Java!
This project is licensed under the MIT License, allowing you to use, modify, and distribute the code with proper attribution.
Enjoy coding and playing in the terminal! 🕹️