Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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!