Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/betweenlife/tris-game-in-console
Simple and funny recreational project that allows you to play Tris (also known as Tic-Tac-Toe) directly in your terminal with a friend.
https://github.com/betweenlife/tris-game-in-console
java
Last synced: 6 days ago
JSON representation
Simple and funny recreational project that allows you to play Tris (also known as Tic-Tac-Toe) directly in your terminal with a friend.
- Host: GitHub
- URL: https://github.com/betweenlife/tris-game-in-console
- Owner: betweenlife
- Created: 2024-08-23T22:51:46.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-08-23T23:23:37.000Z (4 months ago)
- Last Synced: 2024-11-08T01:57:15.739Z (about 2 months ago)
- Topics: java
- Language: Java
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tris Game in Console
Welcome to the **Tris Game in Console** project! 🎮
This is a simple and funny recreational project (made during my first Java course 🥲) that allows you to play Tris (also known as Tic-Tac-Toe) directly in your terminal with a friend.
## Requirements
Before you can build and run the game, make sure you have the following installed on your local machine:
1. **Java Development Kit (JDK)** - Ensure that you have JDK installed (preferably JDK 8 or above).
2. **Apache Maven** - Make sure Maven is installed and properly configured in your system's environment variables.## Building the Project
To build the project, follow these steps:
1. Clone the repository to your local machine.
2. Navigate to the root folder of the project where the pom.xml file is located.
3. Compile the project using Maven:
```bash
mvn compile
```## Running the Game
After compiling the project, you can run the game using the following command:
```bash
mvn exec:java -Dexec.mainClass="Main"
```This will launch the Tris game in your terminal and you can start playing against a friend. Enjoy!
## Notes
This project is intended for educational and entertainment purposes.
Feel free to explore the code, make improvements, and have fun!